首页 > 解决方案 > 状态 403 禁止错误:Microsoft 图形 API https://graph.microsoft.com/v1.0/me/onlineMeetings

问题描述

我们必须从我们的 Dynamics CRM 系统生成一个在线会议请求。我们尝试使用 Microsoft 图形 API,并且能够生成令牌。但是,在提交请求时,我们会收到 403 禁止错误。我们已经在 Azure 中注册了我们的应用程序,并且还提供了所需的 API 权限。

我附上了我们测试的截图。我正在我的个人 Azure 测试帐户上对此进行测试。

截图

测试截图

标签: microsoft-graph-api

解决方案


用户必须同意权限: 同意体验

Azure AD will sign the user in and ensure their consent for the permissions your app requests.

At this point, the user will be asked to enter their credentials to authenticate with Microsoft. The Microsoft identity platform v2.0 endpoint will also ensure that the user has consented to the permissions indicated in the scope query parameter. If the user has not consented to any of those permissions and if an administrator has not previously consented on behalf of all users in the organization, they will be asked to consent to the required permissions.

推荐阅读