azure-ad-b2cazure-ad-b2c-custom-policy

B2C Custom Policy: Error changing localAccountPasswordReset Content selfAsserted policy version beyond 1.1.0


Why can't I update the LocalAccountPasswordReset selfAsserted version beyond 1.1.0?

For a related issue, I am attempting to update the localAccountPasswordReset Content Definition to a later version. However whenever I do so I get an error 'The page cannot be displayed because an internal server error has occurred'. It seems any version of `selfAsserted' beyond 1.1.0 (such as 1.2.0, 2.1.7, 2.1.30) is invalid. I can confirm a newer version works for on other tenants and for the sign in/sign up pages.

enter image description here

Technical Profile enter image description here

Orchestration Steps, SubJourney PasswordReset enter image description here

UserJourney CustomSignUpSignIn, OrchestrationStep 3 enter image description here


Solution

  • I can see from your Data URI urn:com:microsoft:aad:b2c:elements:selfasserted:1.1.0 that you are using the old Data URI values and these no longer work.

    You need to migrate the page layouts to the new Data URI values which contain the word contract

    urn:com:microsoft:aad:b2c:elements:selfasserted:1.1.0 becomes urn:com:microsoft:aad:b2c:elements:contract:selfasserted:2.1.33

    Note, the latest documented Self Asserted page layout version is 2.1.30 but 2.1.33 is the latest published version.

    screenshot of self-asserted page layout version with 2.1.33 selected