Azure AD B2C帐户中的用户登录 [英] User Logins in Azure AD B2C accounts

查看:63
本文介绍了Azure AD B2C帐户中的用户登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

As per Microsoft documentation following types of accounts are available in Azure AD B2C:

工作帐户 -工作帐户可以与管理员一起访问租户中的资源 角色,可以管理租户.

Work account - A work account can access resources in a tenant, and with an administrator role, can manage tenants.

来宾帐户-访客帐户只能是Microsoft帐户或Azure Active 可用于访问应用程序或管理租户的目录用户.

Guest account - A guest account can only be a Microsoft account or an Azure Active Directory user that can be used to access applications or manage tenants.

消费者帐户 -通过注册政策创建了一个消费者帐户 在Azure AD B2C应用程序中.

Consumer account - A consumer account is created by going through a sign-up policy in an Azure AD B2C application.

似乎只有消费者帐户用户才能通过B2C门户登录B2C租户中注册的应用程序.我已经创建了一个B2C租户并注册了一个应用程序.然后,我创建了几个来自B2C的消费者帐户 登录页面注册选项.

It seems only consumer account users can login through B2C portal for an application registered in a B2C tenant. I have created a B2C tenant and registered an application. Then, I have created few Work accounts from Azure portal and consumer accounts from the B2C login page sign-up option.

消费者帐户用户能够按预期成功登录.但是工作 帐户的用户除非登录到Azure门户,否则无法通过B2C登录页面登录.一旦我使用工作 帐户.

Consumer account users are able to login successfully as expected. But Work account users fail to login through the B2C login page unless they have logged in to the Azure portal. Once I have logged in to the Azure portal with the Work account with resetting password, I can log in to the application through the B2C login page with Work accounts.

我试图弄清楚这种行为背后的逻辑是什么.是 Works帐户 有权通过B2C登录页面登录?如果是这样,那么我的设置中缺少的内容是除非执行成功的Azure Portal登录并重置密码,否则不要使帐户能够登录?

I am trying to figure out what is the logic behind this behavior. Are the Works accounts too entitled to log in through B2C login page? If so, then what I am missing in the setting for not to make the accounts enabled for log in unless a successful Azure Portal login with a password reset is performed?

推荐答案

特定的Azure AD . 您可以参考此 指南 实现.

You can use Custom Policies to enable sign-in for work account users from a specific Azure AD. You can refer to this guide to achieve that.


这篇关于Azure AD B2C帐户中的用户登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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