How do you add a user with a local name in Azure Active Directory B2C?

ぐ巨炮叔叔 提交于 2019-11-29 10:48:47

Azure AD B2C Users should NOT be created via the Users & Groups blade.

This blade, while available from the Azure AD B2C Edit Settings blade, is meant at this time to be used to manage users for regular (corporate/enterprise) Azure AD. While it is technically possible to create/add users via this blade, you'll end up with undesired/unexpected behavior such as, as you observed, users being created with @tenantname.onmicrosoft.com or having them created as Guests via the Azure AD B2B Collaboration feature that ultimately can't sign in to your Azure AD B2C integrated applications.

In the context of Azure AD B2C, you should only use this blade to browse the users in the tenant, always in read only mode.

To create Azure AD B2C users, you should either:

  • Have the users sign-up by themselves via the Sign-up or unified Sign-up/Sign-in policy.
  • Programatically pre-create the users via the Graph API. For this approach check out this sample which contains a CLI to create users and showcases the code behind it.

You can add the user from another organization through the Azure Portal.

After log in to Azure Portal, navigate to Azure Activate Directory -> Users and Groups -> All users, Click Add.

After you input the Name and User name, a text box will show up. In the text box, you can define the invitation message, which will be sent to the mailbox of external user.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!