question

KieranLarkin-2482 avatar image
0 Votes"
KieranLarkin-2482 asked RakeshJagatap-4451 published

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

Having trouble matching the reply URL for Gamma Horizon Integrator application

Request Id: 7fbfd03f-c2a1-4e9c-9228-20414d111500


Correlation Id: d18a4c47-16d9-408f-a9ee-420478861c43

Timestamp: 2021-08-01T09:15:28Z


Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'eecff9c5-82c6-48e1-b1d2-b1e03387615b'.

azure-ad-app-registration
· 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.

Hi, if the posted answer resolves your question, please mark it as the answer by clicking the check mark. Doing so helps others find answers to their questions.

0 Votes 0 ·

1 Answer

amanpreetsingh-msft avatar image
0 Votes"
amanpreetsingh-msft answered amanpreetsingh-msft commented

Hi @KieranLarkin-2482 · Thank you for reaching out.

The error occurs when reply url in authentication request doesn't match with reply url(s) registered in the application.

Reply url specified in the authentication request is https://login.microsoftonline.com/common/oauth2/nativeclient
Reply urls registered in the application 'eecff9c5-xxxx-xxxx-xxxx-b1e03387615b' are:

To resolve the issue, update the reply url registered in the application to match with the one in authentication request by navigating to:
Azure Portal > Azure AD > App Registrations > Search the application by using App ID > open the app and click on authentication blade > update the redirect uri.


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

· 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.

Many thanks for that.....it has moved me on but I am now getting a different message:

119773-image.png



As somewhat of an Azure novice I dont know how to configure client_assertion which I assume the application is looking for ie Native Client as in the request as there is no opportunity to add a client secret.

Your continued help and support is appreciated

0 Votes 0 ·
image.png (64.0 KiB)

Hi @KieranLarkin-2482 · Here's a document that explains how to request access token with client secret: https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow#redeem-a-code-for-an-access-token
I am not sure how to configure it in Dynamics 365 CE but from OAuth perspective, you authentication request needs to have all the required parameters.

0 Votes 0 ·