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

Suresh, Amith A. (ELS-CHN) 1 Reputation point
2020-08-19T14:06:48.597+00:00

Hi Team,

I am using simplesamlphp library in php for SP and used metadata xml from IDP. While I test the sp connectivity, I am getting the below error.

I have verified the reply url configuration and looks fine. Would like your advice on the error.

Request Id: 3384c122-ae81-4e12-b311-10cfe024f800
Correlation Id: 1725c066-4f51-4070-8d9b-0b30e6391360
Timestamp: 2020-08-19T13:54:28Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application:

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

1 answer

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,871 Reputation points Moderator
    2020-08-19T14:55:16.543+00:00

    Hi @Suresh, Amith A. (ELS-CHN)

    By tracking the correlation ID, I found that the request contains reply url: http://dev.xx.xxxxxxer.com/simplesaml/module.php/saml/sp/saml2-acs.php/default-sp. However, the app EAEL-XXX-XXX UCApp, is configured with reply url (aka redirect_uri): https://dev.xx.xxxxxxer.com/ui/app/#/instantidentifierconfig.

    To resolve the issue, you need to:

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.

Your answer

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