The reply URL specified in the request does not match the reply URLs configured for the application

Chandragiri, Anish (KTHYD) 1 Reputation point
2021-02-09T06:51:06.697+00:00

65607-capture.png

Request Id: bd4608ba-0794-44a3-a83c-d42215e90500
Correlation Id: 0b75e7bd-d336-4673-8113-df4c5373cf9d
Timestamp: 2021-02-09T06:27:40Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '9db5a909-5050-4660-bbbb-0127ed07957a'.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 37,266 Reputation points Microsoft Employee Moderator
    2021-02-09T23:37:05.293+00:00

    Hi @Chandragiri, Anish (KTHYD) ,

    Have you already made sure that the reply URL you have set up under App Registrations in the Azure portal matches the reply URL you have set up in the application code? It needs to exactly match and there can't be anything extra such as a slash or a space after one and not the other.

    If you're testing locally it should be the local reply URL but if you've published the app you can use the published app URL where you want the user to be redirected. Just make sure that the references match in both the portal and the code.

    Also make sure that the Tenant ID and application ID are set correctly. If you registered the app under one tenant and are referencing a different tenant ID or different application ID in the code, it will also throw this error.

    Please check under Azure Portal > Azure Active Directory > App Registrations > All apps > Search with client ID (aka app ID) > Under Authentication blade of the application > reply URL


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.