samples
samples copied to clipboard
[Magic link with Key Vault] policy throw exception if account is not created
trafficstars
The policy tries to read the user from the AD before checking if the account exists.
Error message: Exception Message:A Claim of ClaimType with id "accountEnabled" was not found, which is required by the ClaimsTransformationImpl of Type "Microsoft.Cpim.Data.Transformations.AssertBooleanClaimIsEqualToValueTransformation" for TransformationMethod "AssertBooleanClaimIsEqualToValue" referenced by the ClaimsTransformation with id "AssertAccountEnabledIsTrue" in policy "B2C_1A_TrustFrameworkBase" of tenant "yourtenant.onmicrosoft.com"., Exception Type:PolicyException, CorrelationID:00000000-0000-0000-0000-000000000000