我可以在Azure AD B2C中禁用注册吗? [英] Can I disable sign-up in Azure AD B2C?

查看:56
本文介绍了我可以在Azure AD B2C中禁用注册吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在Azure AD B2C中禁用注册吗?换句话说,我不希望客户自己注册帐户,而是希望仅由Azure中的管理员完成.谢谢.

Can I disable sign-up in Azure AD B2C? In other words, I don't want customers to sign up accounts by themselves, I want it to be done only by admin in Azure. Thanks.

推荐答案

内置策略

是的,仅定义请勿定义 自定义策略

仅登录策略的问题是您只有基本的UI自定义选项.您没有获得此处.

The problem with a sign-in only policy is you only have basic UI customization options. You do not get the full set of features as described here.

使用自定义策略,您可以定义注册/登录"策略,然后禁用注册"部分.如果按此处.

With custom policies, you can define a Sign-Up/Sign-In policy and then disable the Sign-Up portion. This allows for the same level if UI customization as described here.

  1. 通过CSS隐藏注册"链接
  2. 从您的TechnicalProfile中删除<Item Key="SignUpTarget">SignUpWithLogonUsernameExchange</Item>

<TechnicalProfile Id="SelfAsserted-LocalAccountSignin-Username-NoSignUp">
    <DisplayName>Local Account Signin</DisplayName>
    <Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.SelfAssertedAttributeProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
    <Metadata>
        <!-- Want to disable sign-up on unified policy -->
        <!-- <Item Key="SignUpTarget">SignUpWithLogonUsernameExchange</Item> -->
        <Item Key="setting.operatingMode">Username</Item>
        <Item Key="ContentDefinitionReferenceId">api.selfasserted-ext-local</Item>
        <Item Key="language.button_continue">Login</Item>
    </Metadata>
    ...
</TechnicalProfile>   

这篇关于我可以在Azure AD B2C中禁用注册吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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