AADSTS50011 login error

Caroline 21 Reputation points
2020-12-03T08:12:49.403+00:00

I'm having trouble logging in to an application that uses the Office365 login plugin.

AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'd9cd28f8-ecfd-4225-b4ce-0cb9184b9344'.

Request Id: f03e7410-186f-4a46-b833-0b0d86103300
Correlation Id: 19094a9f-e2d9-4fd8-9c1b-c9998d2550a5
Timestamp: 2020-12-03T08:38:08Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'd9cd28f8-ecfd-4225-b4ce-0cb9184b9344'.

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,974 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,356 questions
0 comments No comments
{count} votes

Accepted answer
  1. soumi-MSFT 11,761 Reputation points Microsoft Employee
    2020-12-03T08:43:15.533+00:00

    Hello @Caroline , thank you for reaching out. It looks like the REDIRECTURI/REPLYURL mentioned in the request that is being submitted to AAD, doesn't contain a valid ReplyURL or RedirectURI string, and hence it's erroring out. It can also be that whatever is being sent in the request, doesn't matchup with the entry stored in AAD, hence AAD is throwing this error.

    Based on the details shared above, I did pull up the backend logs and I do see a mismatch in the replyURL. Please find the details below:

    AppID: d9cd28f8-ecfd-4225-b4ce-0cb9184b9344

    Redirect URI passed in the request: https://10.15.0.28/auth/microsoft_office365/callback

    Redirect_uri configured in the App Registration: https://forum.xx.krxxxx.xx/auth/microsoft_office365/callback/

    Note: Since RedirectURI is sensitive information for your registered app, hence I have tried hiding the data and keeping only what can help you recognize your actual redirect Uri.

    Hope this helps.

    Do let us know if this helps and if there are any more queries around this, please do let us know so that we can help you further. Also, please do not forget to accept the response as an Answer; if the above response helped in answering your query.


0 additional answers

Sort by: Most helpful