Support Azure AD B2C local account
There is currently no easy way to manage Azure AD B2C local account from a .Net Core app.
Currently the only way to manage B2C local account is with Azure AD Graph API through Microsoft.Azure.ActiveDirectory.GraphClient nuget. But since those projects are deprecated and only maintained for critical issues, they will not be ported to .Net Core.
If you have an ASP.Net Core WebApp or WebApi you need to use the Microsoft Graph .NET Client Library which support .Net Standard 1.1. But as Microsoft Graph API does not support local account, it is useless if your tenant is an Azure AD B2C.
A preview version has been mentioned since May 2017 but I can't find anymore information (https://dev.office.com/blogs/microsoft-graph-or-azure-ad-graph).
We are about to getting stuck while we have to migrate to .Net Core. Please provide feedback!
This is now in Microsoft Graph beta. Please see the identities property of the user resource https://docs.microsoft.com/graph/api/resources/user?view=graph-rest-beta and the objectIdentity resource type: https://docs.microsoft.com/graph/api/resources/objectidentity?view=graph-rest-beta. You can see an example of creating a user with the identities property here (second example): https://docs.microsoft.com/graph/api/user-post-users?view=graph-rest-beta&tabs=http
We hope to have this in GA by end of 2019 Q4, but it might roll into 2020 Q1.
Do you have a specific date for the release? And do you know if the feature will be added to the nuget Microsoft.Graph ?
Philip Teilmeier (MSFT) commented
I'm also waiting for the Microsoft Graph API support for AAD B2C. The statement that there is no other way is not correct. In the meantime you can use the Azure AD Graph API REST interface directly without any client library or SDK (https://docs.microsoft.com/en-us/previous-versions/azure/ad/graph/api/users-operations). I know it's not very comfortable but currently the only way.