Why is Azure AD B2C Password Reset flow throwing different error code than in documentation

LuisitoComunica 16 Reputation points
2022-03-14T17:40:38.197+00:00

Azure AD B2C is throwing a different error code when the user clicks forgot password link than documented.

I'm using Azure B2C and implementing password reset. I'm using the password reset user flow to handle this, and the Sign up and sign in user flow for login.

The documentation says that when the user clicks the 'Forgot password' link, it should throw this error code: AADB2C90118 as shown in the image:
182966-image.png

And according to the official Azure B2C error codes documentation, the error AADB2C90118 means:

The user has forgotten their password.

Which is the expected error code, but when using Phone/Email signup in local accounts in the Sign up and sign in user flow (as shown in the image)
182967-image.png

I get a different error code, which is: AADB2C90037, and according to the error codes documentation, the error AADB2C90037 means:

An error occurred while processing the request. Please contact administrator of the site you are trying to access.

Which is not the error code that it should be throwing. Why, when using Phone/Email signup, B2C throws a different error code? Why does it throws a generic error code instead of the forgot password error code? Am I doing something wrong?

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,672 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Michał Czerwiński 1 Reputation point
    2022-04-25T12:33:51.02+00:00

    Hi @Shweta Mathur ,

    Any news on this one? We have exactly the same issue in our app and are interested in what you have learnt from the team.

    Cheers,
    MC