2
votes

I can use the AzureAD Graph to list all B2C users in my tenant like so:

https://graph.windows.net/{{tenantId}}/users/?api-version=1.6&$filter=creationType eq 'LocalAccount'

However that does not work for http://graph.microsoft.com. I don't see a field for B2C in the graph user object. I do see that I could filter for B2B (guest) users with $filter=userType eq 'Guest' like I did in azure graph.

I see that MSFT recommends using the old Azure AD graph as of 3/17. Is this particular feature one that does not exist yet in Microsoft Graph.

1

1 Answers

1
votes

Currently, you must use Azure AD Graph API to manage users in an Azure AD B2C tenant, since Microsoft Graph doesn't support a few of the user properties (including the creationType property) that are used by Azure AD B2C.