Does Microsoft Graph API support change notifications with Azure AD B2C?

人盡茶涼 提交于 2020-12-14 11:39:54

问题


I'm trying to get change notifications for users to work with my application connected to Azure AD B2C.

I followed the following tutorial and the subscription is created successfully but I never get any change notification:

https://docs.microsoft.com/en-us/learn/modules/msgraph-changenotifications-trackchanges/1-introduction

After a bit of research I found some statements mentioning that B2C is not supported by Graph API:

  • https://docs.microsoft.com/en-us/graph/webhooks#azure-ad-resource-limitations

    Azure AD B2C tenants are not supported.

  • Blog entry from 2016

    • https://docs.microsoft.com/en-us/archive/blogs/aadgraphteam/microsoft-graph-or-azure-ad-graph

      Manage users in a B2C tenant (set local accounts, sign in names), Coming soon (preview)

  • Do not receive notifications about user profile updates

I wonder whether this still holds true especially because Microsoft announced that Azure AD Graph API should not be used anymore:

https://techcommunity.microsoft.com/t5/azure-active-directory-identity/update-your-applications-to-use-microsoft-authentication-library/ba-p/1257363

I ask this question here because Microsoft support redirected me to SO to ask questions about Graph API.

TLDR;

Does Microsoft Graph API support change notifications with Azure AD B2C in 2020?


回答1:


Microsoft Graph API does not support change notifications with Azure AD B2C as of August 2020. Nor does AAD Graph support change notifications with Azure AD B2C as of August 2020.

You could use Azure Monitor and Event hubs to harvest events from the Audit Logs, such as a Sign Up event. https://docs.microsoft.com/en-us/azure/active-directory-b2c/azure-monitor



来源:https://stackoverflow.com/questions/63509042/does-microsoft-graph-api-support-change-notifications-with-azure-ad-b2c

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