Error AADSTS50011 - The reply URL specified in the request does not match
This article provides a resolution to the AADSTS50011 error that occurs during federated authentication with Azure Active Directory (Azure AD).
Symptoms
You receive error AADSTS50011 when trying to sign into an application that has been set up to use Azure AD for identity management using SAML-based SSO.
Error AADSTS50011 - The reply URL does not match the reply URLs configured for the application <GUID>. Make sure the reply URL sent in the request matches one added to your application in the Azure portal. Navigate to https://aka.ms/urlMismatchError to learn more about how to fix this." when trying to sign into a SAML-based Single Sign-On (SSO) configured app that has been integrated with Azure Active Directory (Azure AD).
Cause
The AssertionConsumerServiceURL value in the SAML request doesn't match the Reply URL value or pattern configured in Azure AD. The AssertionConsumerServiceURL value in the SAML request is the URL you see in the error.
Resolution
To fix the issue, follow these steps:
- Ensure that the
AssertionConsumerServiceURLvalue in the SAML request matches the Reply URL value configured in Azure AD. - Verify or update the value in the Reply URL textbox to match the
AssertionConsumerServiceURLvalue in the SAML request.
As an example, refer to the following article for detailed steps about how to configure the values in Azure AD:
Note
The reply URL is also known as Redirect URI. These values depend on what application is being used. You should get the values from the application vendor.
After you update the Reply URL value in Azure AD and it matches the value that sent by the application in the SAML request, you should be able to sign in to the application.
More Information
For a full list of Active Directory Authentication and authorization error codes, see Azure AD Authentication and authorization error codes.
Contact us for help
If you have questions or need help, create a support request, or ask Azure community support.
Feedback
Submit and view feedback for