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.
Password Change Error in registration session
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.
3 answers
Sort by: Most helpful
-
James Hamil 24,926 Reputation points Microsoft Employee
2022-09-21T19:04:44.433+00:00 -
Manish Aggarwal 36 Reputation points
2022-09-26T14:28:57.217+00:00 Team - Any help here would be much Appreciated!!!
-
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?