gpt4 book ai didi

azure-ad-b2c - 上传自定义策略时出现验证错误

转载 作者:行者123 更新时间:2023-12-05 08:52:50 24 4
gpt4 key购买 nike

我在上传注册政策时遇到此错误。

Validation failed: 1 validation error(s) found in policy "B2C_1A_SIGNUP_WEB_SP" of tenant "titanidaasdevb2c.onmicrosoft.com".DisableStrongPassword is required in Technical Profile 'AAD-UserWriteUsingLogonEmail' of policy 'B2C_1A_SignUp_Web_SP' for custom password complexity or legacy password restriction with weak custom regular expression. Add "DisablePasswordExpiration, DisableStrongPassword" into PersistedClaim "passwordPolicies"

请在这方面指导我。

最佳答案

因为您正在实现自定义复杂性,所以您必须通过将 passwordPolicies 声明设置为 DisableStrongPassword 来禁用内置复杂性。

此声明值可以在依赖方技术配置文件中设置(即,如果自定义复杂性适用于特定流程):

<RelyingParty>
<DefaultUserJourney ReferenceId="SignUpOrSignIn"/>
<TechnicalProfile Id="PolicyProfile">
<InputClaims>
<InputClaim ClaimTypeReferenceId="passwordPolicies" DefaultValue="DisablePasswordExpiration, DisableStrongPassword"/>
</InputClaims>
</TechnicalProfile>
</RelyingParty>

AAD-UserWriteUsingLogonEmail 技术配置文件(即,如果自定义复杂性适用于所有流程):

<TechnicalProfile Id="AAD-UserWriteUsingLogonEmail">
<PersistedClaims>
<PersistedClaim ClaimTypeReferenceId="passwordPolicies" DefaultValue="DisablePasswordExpiration, DisableStrongPassword" />
</PersistedClaims>
</TechnicalProfile>

关于azure-ad-b2c - 上传自定义策略时出现验证错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55596007/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com