Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Microsoft Graph already handles Azure AD B2C User CRUD?

Does Microsoft Graph already have functionalities for Azure AD B2C User CRUD?

I found these related SO questions:

  • Which Graph API should be used with Azure AD B2C
  • Correct Graph API to manage Azure AD B2C

But both have answers that are dated 2017, so I am wondering if there are already updates from Microsoft that I am not aware of. I still have not find in my searches.

Below are the links I have found so far that seems to be conflicting each other (some of the links were also mentioned in the other questions).

In (D), it seems to offer options for User CRUD but I am not sure if it is just for Azure AD and not for Azure AD B2C.

Any help is appreciated. Thanks!


A. Azure AD B2C: Use the Azure AD Graph API (Date: 08/07/2017) https://learn.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-devquickstarts-graph-dotnet
It says: You must use the Azure AD Graph API to manage users in an Azure AD B2C directory. This is different from the Microsoft Graph API. Learn more here.

B. Operations on users | Graph API reference (Last Updated: 2/12/2018) https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/users-operations
It says: We strongly recommend that you use Microsoft Graph instead of Azure AD Graph API to access Azure Active Directory resources. Our development efforts are now concentrated on Microsoft Graph and no further enhancements are planned for Azure AD Graph API. There are a very limited number of scenarios for which Azure AD Graph API might still be appropriate; for more information, see the Microsoft Graph or the Azure AD Graph blog post in the Office Dev Center.

C. Microsoft Graph or Azure AD Graph (Date: July 8, 2016) https://blogs.msdn.microsoft.com/aadgraphteam/2016/07/08/microsoft-graph-or-azure-ad-graph/

It says: In general, we recommend the use of Microsoft Graph over Azure AD Graph, as Microsoft Graph is where we are investing for Microsoft cloud services.

But then, it says at the bottom: AAD Graph Capability | Status in Microsoft Graph (March 23, 2018) 12. Manage users in a B2C tenant (set local accounts, sign in names) | Coming soon (preview)

D. Microsoft Graph: User resource type https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/user

It list options to Create, Update and Delete user.

like image 731
niki b Avatar asked Oct 19 '25 01:10

niki b


1 Answers

It is a bit ambiguous but I believe it is clear from the Azure AD B2C documentation that "you must use the Azure AD Graph API to manage users in an Azure AD B2C directory".

For example, according to the Microsoft Graph API documentation, you can't create a local account in an Azure AD B2C directory with a sign-in name.

I have also experienced issues which getting and setting a few properties, including any extension properties, for users in an Azure AD B2C directory using the Microsoft Graph API.

like image 111
Chris Padgett Avatar answered Oct 22 '25 04:10

Chris Padgett



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!