Issue with getting Groups conversation

删除回忆录丶 提交于 2019-12-12 04:05:54

问题


I am currently playing with Microsoft Graph Api for groups. When I access the group conversations(https://graph.microsoft.com/v1.0/groups/3b41ffb2-4fec-4ca6-97f8-40c70eb75df3/conversations) through API Explorer(https://graphexplorer2.azurewebsites.net), it works fine. But if I access the same through Postman I receive the below error.

{
  "error": {
    "code": "ErrorInternalServerError",
    "message": "The SMTP address has no mailbox associated with it.",
    "innerError": {
      "request-id": "20289ba7-0782-4d0e-9ea9-64e4567bfca6",
      "date": "2016-01-13T13:05:21"
    }
  }
}

But in Postman below APIs are working fine.

https://graph.microsoft.com/v1.0/groups/3b41ffb2-4fec-4ca6-97f8-40c70eb75df3

https://graph.microsoft.com/v1.0/groups

In the Azure AD application created for testing purpose, I have also enabled all the permissions for Graph API and Azure AD rights. I am unable to proceed further.


回答1:


Group conversation access is not supported in app-only authorization flow.

We are working on returning a better error for this case.




回答2:


You can track the HTTP request via the fiddler to see the difference between Microsoft Graph and Postman. We can also get the access token via track the HTTP request and construct the request with Fiddler. Hope it is helpful.



来源:https://stackoverflow.com/questions/34767672/issue-with-getting-groups-conversation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!