【问题标题】:Status 403 Forbidden Error : Microsoft graphs API https://graph.microsoft.com/v1.0/me/onlineMeetings状态 403 禁止错误:Microsoft 图形 API https://graph.microsoft.com/v1.0/me/onlineMeetings
【发布时间】:2020-04-30 00:24:37
【问题描述】:

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

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

截图

【问题讨论】:

  • 如果您的令牌包含正确的权限/范围,您能否检查 jwt.ms 或 jwt.io(检查“scp”值)
  • 您能否提供有关您的图形请求以获取令牌的更多信息?复制粘贴请求的原始值(来自邮递员),用 **** 替换秘密。

标签: microsoft-graph-api


【解决方案1】:

用户必须同意该权限: Consent experience

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.

【讨论】:

    猜你喜欢
    • 2020-07-30
    • 1970-01-01
    • 2021-09-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多