Entra ID
AADSTS50011 — Reply URL Mismatch
The reply URL specified in the request does not match the reply URLs configured for the application.
Root cause
The redirect_uri passed by your application (e.g., in MSAL or SPFx) during login does not exactly match any of the Redirect URIs registered in the Azure Portal for that App ID.
How to fix it
- Go to the Azure Portal > Microsoft Entra ID > App Registrations > [Your App] > Authentication.
- Add the exact URL (including trailing slashes and http/https) your app is running from to the Redirect URIs list.
- Wait a few minutes for the change to propagate.
Decode any M365 error
Paste an unfamiliar error message into the interactive decoder — it searches every code in this catalog and explains the cause in plain English.
Open the Error Decoder →