1

我目前正在为团体使用 Microsoft Graph Api。当我通过 API Explorer(https://graphexplorer2.azurewebsites.net )访问群组对话(https://graph.microsoft.com/v1.0/groups/3b41ffb2-4fec-4ca6-97f8-40c70eb75df3/conversations)时,它工作正常。但是,如果我通过 Postman 访问相同的内容,我会收到以下错误。

{
  "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"
    }
  }
}

但是在 Postman 下面的 API 工作正常。

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

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

在为测试目的创建的 Azure AD 应用程序中,我还启用了 Graph API 和 Azure AD 权限的所有权限。我无法继续进行。

4

2 回答 2

1

仅应用授权流程不支持群组对话访问。

我们正在努力为这种情况返回一个更好的错误。

于 2016-01-22T03:14:49.553 回答
0

您可以通过 fiddler 跟踪 HTTP 请求,以查看 Microsoft Graph 和 Postman 之间的区别。我们还可以通过跟踪 HTTP 请求并使用 Fiddler 构造请求来获取访问令牌。希望它是有帮助的。

于 2016-01-14T10:10:11.990 回答