【问题标题】:Get notification when user updated on Azure AD using MS Graph当用户使用 MS Graph 在 Azure AD 上更新时获取通知
【发布时间】:2021-05-01 12:52:12
【问题描述】:

我正在尝试在使用 MS Graph 和 Web 挂钩在 MS Azure AD 上更新用户时收到通知。我已经尝试过 microsoftgraph/msgraph-training-changenotifications 但面临关注

状态码:未授权 Microsoft.Graph.ServiceException:代码:ExtensionError 消息:操作:创建;例外:[状态代码:未授权;原因:]

我也探索了notifications for changes in user data这个代码,但它是为了“Mail.Read”权限,我想要“User.Read”权限。

我的案例/问题类似于Not receiving a request on our MS Graph Webbook for deleting a User in AAD,但有所不同。我需要关于我的 asp.net 核心项目的更新用户的通知。

请帮帮我。自从过去 3 天以来我一直很困扰,但没有得到适当的解决方案

【问题讨论】:

    标签: c# azure-active-directory asp.net-core-mvc microsoft-graph-api asp.net-webhooks


    【解决方案1】:

    我错过了在 Azure AD 中授予权限

    User.ReadWrite.All

    我已观看此视频Change notifications with Microsoft Graph 并使用此代码msgraph-training-changenotifications现在我收到了 Azure AD 的通知

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-20
      • 1970-01-01
      • 1970-01-01
      • 2019-08-10
      相关资源
      最近更新 更多