Password Change Error in registration session

Manish Aggarwal 36 Reputation points
2022-09-21T17:40:18.693+00:00

Hi Team -
We have implemented a custom policy for password change in B2C referring https://github.com/azure-ad-b2c/samples/blob/master/policies/change-password/policy/PasswordChange.xml

It works fine if user signs in and attempts to change password. But it throws an error whenever user tries to change password in same session in which user registered.

Steps to replicate :
Register user on B2C
Now navigate to change password screen, and click submit after entering details.
243535-image.png

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,907 questions
0 comments No comments
{count} vote

3 answers

Sort by: Most helpful
  1. James Hamil 24,926 Reputation points Microsoft Employee
    2022-09-21T19:04:44.433+00:00

    Hi @Manish Aggarwal , this might be an intended behavior. Could you check that right before you change the password if the user exists in AAD? I'm thinking it might just be a corner case not covered by the sample.


  2. Manish Aggarwal 36 Reputation points
    2022-09-26T14:28:57.217+00:00

    Team - Any help here would be much Appreciated!!!

    0 comments No comments

  3. Manish Aggarwal 36 Reputation points
    2022-10-05T12:09:27.977+00:00

    @AmanpreetSingh-MSFT @Siva-kumar-selvaraj @JimmySalian-2011
    Will any one of you be able to help here?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.