Which Graph API should be used with Azure AD B2C

依然范特西╮ 提交于 2019-12-17 04:32:26

问题


We are looking at using Azure AD B2C in an application and I am confused about which package to use when working with Azure AD B2C.

This question discusses the difference between the MSAL and ADAL library: MSAL or ADAL library for use with Azure AD B2C and Xamarin.

In addition to that, there is now a warning on the Azure AD Graph API reference to instead use the Microsoft Graph API. None of the examples for B2C seem to use Microsoft Graph API and there appears to be no description of the level of support for Microsoft Graph with B2C.

I need to be able to create users with custom attributes in B2C and then query them using a Graph API.

What is the correct package to use to interact with Azure AD B2C and are there examples that show how this is done?


回答1:


As of today, we recommend that you use the Azure Active Directory Graph API https://graph.windows.net to access and manage your B2C tenants.

Azure AD B2C: Use the Graph API

If you read this article, you can learn more about the gaps between AAD and Microsoft Graph API: https://dev.office.com/blogs/microsoft-graph-or-azure-ad-graph

The bottom line in the table states:

  1. Manage users in B2C tenant (set local accounts, sign in names)

Coming soon (preview)

The rest of this article should hopefully help people decide which API to use today. Ultimately, everything will make it's way to Microsoft Graph... it will just take a little time.

Let me know if this helps!



来源:https://stackoverflow.com/questions/43770376/which-graph-api-should-be-used-with-azure-ad-b2c

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