You must use the Azure AD Graph API to manage users in an Azure AD B2C . authContext = new AuthenticationContext("https://login.microsoftonline.com/" + .