Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding users to Azure B2C without using a sign-up policy

I am attempting to develop an app with only a sign in policy. To the best of my knowledge the supported methods of creating new users for b2c are using the new user dialog on the users page, and with the graph api. Is this correct? Is there a method I'm missing? Which is the preferred method?

When attempting to create users in the new user dialog, usernames become malformed, eg. [email protected] becomes username_domain.com#EXT#@domain.com

like image 958
Jane Quinn Avatar asked Sep 08 '25 09:09

Jane Quinn


1 Answers

The users created through the portal cannot be used by Azure AD B2C. Azure AD B2C uses the 'signin names' property of the user to sign in. The users created through the portal can be used for sign in using AAD (enterprise scenario).

Azure AD B2C has a sample for creating user accounts using AADGraph, which can be used for creating users in cases where only signin is supported. Create consumer user accounts

like image 131
Abhishek Agrawal Avatar answered Sep 10 '25 01:09

Abhishek Agrawal