Share via

AADSTS50011: The redirect URI '[Moderator note: personal info removed]' specified in the request does not match the redirect URIs configured for the application '[Moderator note: personal info removed]'. Make sure the redirect URI sent in the req

Jeevanantham Prathaban 0 Reputation points
2026-04-06T07:26:41.52+00:00

AADSTS50011: The redirect URI '[Moderator note: personal info removed] specified in the request does not match the redirect URIs configured for the application '[Moderator note: personal info removed]'. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate to https://aka.ms/redirectUriMismatchError to learn more about how to fix this.

Microsoft 365 and Office | Development | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. Gabriel-N 16,055 Reputation points Microsoft External Staff Moderator
    2026-04-06T08:06:06.4533333+00:00

    Please note that Q&A forum is a public platform, and moderators will modify the question to hide personal information in the description. Kindly ensure that you hide any personal or organizational information the next time you post an error or other details to protect personal data.

    Dear Jeevanantham Prathaban

    In most cases, this issue is caused by a mismatch between the redirect URI used by the application and the values configured in Microsoft Entra ID App Registration. You may resolve this by reviewing and updating the App Registration using the steps below:

    1. Sign in to the Azure portal using an administrator account for the tenant associated with your demo environment.
    2. Navigate to Microsoft Entra ID > App registrations.
    3. Select View all applications in the directory, then choose the application whose Application (Client) ID appears in the error message.
    4. From the left‑hand menu, select Authentication.
    5. Under the Redirect URIs section, select Add URI if no redirect URI exists, or edit the existing redirect URI if it is incorrect.
    6. Paste the environment URL exactly as shown in the error message, for example: https://<your-environment>.....com/
    7. Save the changes.

    User's image

    After saving, please allow three to five minutes for the changes to propagate, then attempt to sign in again. If the Microsoft Entra sign‑in page does not appear, try clearing your browser cache or using an InPrivate / Incognito browser session.

    If the redirect URI being sent by the application is not the expected one, you may need to update the application’s code or configuration accordingly.

    For reference, you may review the official Microsoft documentation here: https://learn.microsoft.com/en-us/troubleshoot/entra/entra-id/app-integration/error-code-aadsts50011-redirect-uri-mismatch

    I hope this information is helpful. If this guidance does not apply to your specific scenario, please feel free to share additional details so I can review further.


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.