Azure B2C
2 TopicsAzure AD B2C Custom Policy - Throwing UserMessageIfServerError: An exception has occurred.
Hi Team, We have started implementing Azure AD B2C custom policy for SignUp/SignIn. On execution of custom policy, Signup/Signin screen is shown . On Signup screen, we do the verification then we enter the details like password and name and continue to MFA. This MFS screen throws error "Sorry, but we're having trouble signing you in" and exception it shows is "UserMessageIfServerError: An exception has occurred." I am attaching the screenshot of error as well Let me know if anybody has faced this issue and know the cause and possible solution for the same558Views0likes1CommentFormatStringClaim not validating in B2C Custom Policy
I'm having issues uploading a change to my existing Azure B2C policy that includes a new FormatStringClaim claim transformation. I haven't been able to figure out the issue as my claim transformation looks nearly identical to the example given by Microsoft. I'm getting the following error The following InputClaims were declared in the Policy but were not expected by the TransformMethod: [String]inputClaim With the following B2C <ClaimsTransformations> <ClaimsTransformation Id="CreateUserPrincipalName" TransformationMethod="FormatStringClaim"> <InputClaims> <InputClaim ClaimTypeReferenceId="objectId" TransformationClaimType="inputClaim" /> </InputClaims> <InputParameters> <InputParameter Id="stringFormat" DataType="string" Value="{0}@contoso.com" /> </InputParameters> <OutputClaims> <OutputClaim ClaimTypeReferenceId="uniqueIdentifier" TransformationClaimType="outputClaim" /> </OutputClaims> </ClaimsTransformation> </ClaimsTransformations> The objectId is a string that's declared and populated in a higher level custom policy. It's also used in this policy so I'm not sure why Azure would have an issue with me using it here. I'm just trying to add a custom domain name to the objectId were already using and pass it into the SAML token.744Views0likes0Comments