Error AtlasError Documentation and Resolution

Microsoft Entra redirect URI does not match the app registration

Error AADSTS50011 - The redirect URI specified in the request does not match the redirect URIs configured for the application.

Microsoft Entra ID rejected the sign-in request because the redirect URI sent by the app does not match the redirect URIs configured in the app registration.

AADSTS50011authentication
Error AADSTS50011 - The redirect URI specified in the request does not match the redirect URIs configured for the application.
  • The app sends a redirect URI that is not registered in Microsoft Entra ID.
  • The registered redirect URI differs by path, protocol, host, or trailing slash.
  • The app registration was updated, but the deployed application still sends an older redirect URI.
  1. Compare the redirect URI in the error with the URIs configured in the app registration.
  2. Update either the app configuration or the Microsoft Entra app registration so the values match exactly.
  3. Retest after redeployment to confirm the application is sending the corrected redirect URI.
Error AADSTS50011 with OpenID authentication
AADSTS50011 redirect URI mismatch in Microsoft Entra | Error Atlas