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

我怕爱的太早我们不能终老 提交于 2019-12-12 12:15:53

问题


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. username@domain.com becomes username_domain.com#EXT#@domain.com


回答1:


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



来源:https://stackoverflow.com/questions/54091945/adding-users-to-azure-b2c-without-using-a-sign-up-policy

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