在不使用注册策略的情况下将用户添加到Azure B2C [英] Adding users to Azure B2C without using a sign-up policy

查看:86
本文介绍了在不使用注册策略的情况下将用户添加到Azure B2C的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试开发仅具有登录政策的应用程序。据我所知,为b2c创建新用户的受支持方法是使用用户页面上的新用户对话框以及图形API。它是否正确?我有没有一种方法?哪个是首选方法?

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?

在新用户对话框中尝试创建用户时,用户名格式错误。 username@domain.com成为username_domain.com#EXT#@domain.com

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

推荐答案

无法使用通过门户创建的用户由Azure AD B2C提供。 Azure AD B2C使用用户的登录名属性登录。通过门户创建的用户可以用于使用AAD(企业方案)登录。

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有一个使用AADGraph创建用户帐户的示例,在仅支持登录的情况下,可用于创建用户。
创建消费者用户帐户

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

这篇关于在不使用注册策略的情况下将用户添加到Azure B2C的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆