AADSTS50011: Reply URL error only for Office 365 Users

2020-05-04T00:11:07.547+00:00

The reply URL behaviour is different for Live/Hotmail/Outlook users compared to that of the Office365 users. Our app perfectly works for Live/Outlook/hotmail users, but for Office 365 Users we get a AADSTS50011 error.

There is something special about Office365 and normal Live.com, outlook.com & hotmail.com users that is different about the reply URL.

We get the Following error:

AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'xxxxxxxxxxx'. More details: Reply address did not match because requested address did not have a trailing slash.

Troubleshooting details

If you contact your administrator, send this info to them.

Copy info to clipboard

Request Id: xxxxxxxxx

Correlation Id: xxxxxxxxxxxxxxxxxxx

Timestamp: 2020-04-23T00:49:16Z

As you see in tis Video: https://www.youtube.com/watch?v=e20D-kebxJo&list=PL8unY9zStJ-wgoSZSNU1hCgDL4eb6CxR-&index=209&t=12s

This work perfectly for hotmail.com or live.com or outlook.com users but for Office 365 users we get AADSTS50011

Attached is a picture showing it
7887-screen-shot-2020-05-03-at-80905-pm.png

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,613 questions
{count} vote

Accepted answer
  1. AmanpreetSingh-MSFT 56,506 Reputation points
    2020-05-05T08:35:30.657+00:00

    @uLawPractice SuperfluidSoftware Inc , By tracking the correlation ID, I found that the reply url mentioned in the request is ending with OneDrive/ but the reply url configured on the application (with client ID in above error) is ending with OneDrive (without a slash at the end).

    Kindly update reply url in the application by navigating to Azure Portal > Azure Active Directory > App Registrations > All apps > Search with client ID (aka app ID) > Under Authentication blade of the application > update the reply url with a slash at the end.

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

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.


1 additional answer

Sort by: Most helpful
  1. Jatin Gupta 1 Reputation point
    2020-06-09T05:50:32.97+00:00

    I can not find the reply url. I am also getting the same error as this. "AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '295bc6cd-1c3e-4d81-9a0e-dff7910f0bfa'."
    Please help