[Please Help]There is an error when testing samlsso using custom policies.

asdffffwsev 11 Reputation points

There is an error when testing samlsso using B2C custom policies.

AADB2C90031: Policy 'B2C_1A_TrustFrameworkBase_28' does not specify a default user journey. Ensure that the policy or it's parents specify a default user journey as part of a relying party section.


It is understood that the TrustFrameworkBase does not have a default user journal and stores a default user journal in the sub-xml. ex) SignUpOrSignin.xml ...

I referred to the following link.

I wonder why this error occurs and I want to know the solution.

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,683 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,889 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. James Hamil 22,431 Reputation points Microsoft Employee

    Hi @asdffffwsev , you need to specify the user journey you wish to use. Example here.

      <DefaultUserJourney ReferenceId="SignUpOrSignIn">  

    Have you set up a sign-up/sign-in flow? You can download the starter pack in the doc you linked and it will contain one if not. Please let me know and I can help you further.

    Thank you,