最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

azure - user signs up using external Idp but the account is created disabled, why? - Stack Overflow

programmeradmin5浏览0评论

This is the problem:

The user SSO using an external IdP, but after that I go to his account to see that it's disabled. Why?

This is the line where the account is created:

 <ClaimsExchange Id="AADUserWrite" TechnicalProfileReferenceId="AAD-UserWriteUsingAlternativeSecurityId" />

The only thing that has been modified is the following:

 <TechnicalProfile Id="AAD-UserWriteUsingAlternativeSecurityId">
           <PersistedClaims>
              <PersistedClaim ClaimTypeReferenceId="accountEnabled" AlwaysUseDefaultValue="true" DefaultValue="true" />
           </PersistedClaims>
        </TechnicalProfile>
     </TechnicalProfiles>

which is in the technical profile file, but even with this it's disabled

This is the problem:

The user SSO using an external IdP, but after that I go to his account to see that it's disabled. Why?

This is the line where the account is created:

 <ClaimsExchange Id="AADUserWrite" TechnicalProfileReferenceId="AAD-UserWriteUsingAlternativeSecurityId" />

The only thing that has been modified is the following:

 <TechnicalProfile Id="AAD-UserWriteUsingAlternativeSecurityId">
           <PersistedClaims>
              <PersistedClaim ClaimTypeReferenceId="accountEnabled" AlwaysUseDefaultValue="true" DefaultValue="true" />
           </PersistedClaims>
        </TechnicalProfile>
     </TechnicalProfiles>

which is in the technical profile file, but even with this it's disabled

Share Improve this question asked yesterday IriaAMIriaAM 254 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

This is because a federated account in B2C is a "shadow account".

It uses AlternativeSecurityId to access rather than a local account objectID.

The account is "disabled" in B2C because you can't log in to that account locally.

You have to go via a federation login.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论