Skip to main content

AADSTS50011: Redirect URI mismatch

Microsoft Entra ID couldn't match the requested redirect URI to one registered for the app. This URI tells Entra where to send you after you sign in.

What to check​

  1. Confirm that you're looking at the app registration for the client ID in the request and that you're in the right tenant.
  2. Compare the requested redirect_uri with the URI under App registrations > Authentication. Check the scheme, host, path, path casing, and trailing slash.
  3. Correct the application's callback configuration or register the intended URI under the appropriate platform. Don't register an untrusted URI just to make the error go away.

Official reference​

Microsoft Learn: Resolve AADSTS50011

Microsoft error lookup​

Message summary: The app sent a redirect URI that Microsoft Entra ID does not recognise for that registration.

Fields in the message template: {redirectTerm}, {replyAddress}, {identifier}, {akamsLink}, {detail}.

Microsoft remediation: The app developer should check that the request supplies the authentication parameters the flow expects and that each value is correct.

Open AADSTS50011 in Microsoft’s lookup