question

uLawPracticeSuperfluidSoftwareInc-7956 avatar image
1 Vote"
uLawPracticeSuperfluidSoftwareInc-7956 asked walidrifai-3785 commented

AADSTS50011: Reply URL error only for Office 365 Users

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


azure-active-directory
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

We enabled advanced debug options and reproduced the issue twice if that helps


Re, uLaw Team


Please see attached image7828-image-2.png


0 Votes 0 ·
image-2.png (73.6 KiB)
amanpreetsingh-msft avatar image
0 Votes"
amanpreetsingh-msft answered uLawPracticeSuperfluidSoftwareInc-7956 commented

@uLawPracticeSuperfluidSoftwareInc-7956, 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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

This is a great find and it works well for us, thank you for finding it, we are surprised that this was not an issue with live,outlook and hotmail account but it matters for office365 users only.

Thank you for the help.

0 Votes 0 ·
JatinGupta-4665 avatar image
0 Votes"
JatinGupta-4665 answered walidrifai-3785 commented

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

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@JatinGupta-4665 Could you please post a separate question with the correlation ID that you get along with the error?

0 Votes 0 ·

Can you please help me with this problem... Iam facing the same issue.

Correlation iD: 81082469-467c-4136-84bd-cd7e449cda31

0 Votes 0 ·