I wonder if it is possible to use username like john.smith
instead of [email protected]
in Resource Owner Password Credentials in Azure AD B2C.
https://docs.microsoft.com/en-gb/azure/active-directory-b2c/configure-ropc
For example like below:
https://mytenant.b2clogin.com/mytenant.onmicrosoft.com/oauth2/v2.0/token?p=B2C_1_ROPC_Auth
Content-Type: application/x-www-form-urlencoded
username=john.smit&password=mypassword&grant_type=password&scope=openid myappId offline_access&client_id=myappId&response_type=token+id_token
All users are my firm's employees. We will import user data into azure AD before using B2C.
Any idea on how to setup?
Update
Ideally, we don't want to append @myfirm.com before sending it to B2C.
Update 2
Do the two links below only apply for external identity provider, like Facebook, not company azure AD?
What are the difference between these two links?
https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-user-migration
Again, Can I use Microsoft Graph API instead of Azure AD Graph API?
https://docs.microsoft.com/en-us/graph/overview?toc=./toc.json&view=graph-rest-1.0
john.smith
and then send[email protected]
to B2C? – juunas