question

StellaSong-2583 avatar image
2 Votes"
StellaSong-2583 asked PatrickSimon-2734 commented

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

14119-capture.png


Request Id: 6deb7bc2-fc9f-4233-9f7f-05861222c100
Correlation Id: e14c35a4-c834-42c1-82ec-c78276447d71
Timestamp: 2020-07-29T03:05:44Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '4b233688-031c-404b-9a80-a4f3f2351f90'.


azure-ad-single-sign-onazure-ad-pass-through-authentication
capture.png (24.9 KiB)
· 3
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.

I am getting the same error. I've looked at my AAD registration and cannot figure out what reply its the mismatch. My troubleshooting data is:
Request Id: 2f4a2ca5-c325-4ee1-9bc0-285f8cc91200
Correlation Id: cd546ed7-5ed3-4316-9359-0cf87a6ce2ca
Timestamp: 2020-11-14T16:58:39Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '616bc978-17a0-45a3-8cec-0cbb0cc9305c'.

I am following and identity Server tutorial, the instructions that is provided in the tutorial is to use a return Url of http://localhost:5000/signin-oidc.


0 Votes 0 ·

Getting the same issue

Request Id: 508d2b91-de43-4156-962f-d3a014d94b00
Correlation Id: fda40059-c976-4c14-8839-12b912d2b6ce
Timestamp: 2021-05-10T00:56:34Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'edb8d027-2929-4349-8be7-85138b36c96b'.

Can anyone help?

0 Votes 0 ·

I am getting the exact same issue.

Apart from the state URL parameter, the Redirect URI IS Exactly the same as the reply URL specified in the request.

{
"error": "invalid_client",
"error_description": "AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'd2a7d5fd-b25d-4391-9593-c3fbafd49040'.\r\nTrace ID: 97ed8aff-262a-4855-8f62-11b9c4cad100\r\nCorrelation ID: 192c2fc8-ec6f-4a6c-9cd0-657594b2f07f\r\nTimestamp: 2021-09-13 01:47:55Z",
"error_codes": [
50011
],
"timestamp": "2021-09-13 01:47:55Z",
"trace_id": "97ed8aff-262a-4855-8f62-11b9c4cad100",
"correlation_id": "192c2fc8-ec6f-4a6c-9cd0-657594b2f07f",
"error_uri": "https://login.microsoftonline.com/error?code=50011"
}

0 Votes 0 ·
soumi-MSFT avatar image
2 Votes"
soumi-MSFT answered VenkatachalamRohitPartner-1188 commented

@StellaSong-2583, Thank you for reaching out. This error states that the reply URL that is being sent in the request and the one that is present in the app registration section in AAD for your application.

Based on the error details that shared, I looked into the backend logs based on the CorrelationID and Timestamp and based on that I do see that there is a mismatch of ReplyURLs for this application with AppID: 4b233688-031c-404b-9a80-a4f3f2351f90

I would request you to check the "Authentication blade" in the App Registration for the following app "4b233688-031c-404b-9a80-a4f3f2351f90" and once you check that pick up one of the reply URLs from that list and then add that in your application request and use it or you add the reply URL that you are currently sending in the request to that reply URL section in the authentication blade.

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 Answer; if the above response helped in answering your query.


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

@StellaSong-2583, Just wanted to check if the above response helped in answering your query. Do let me know if there are any more queries around this so that we can help you further.


0 Votes 0 ·

@StellaSong-2583, Just wanted to check if the above response helped in answering your query. Do let me know if there are any more queries around this so that we can help you further.

0 Votes 0 ·

@soumi-MSFT Yes, this worked. Thank you

Along with https://<AppName>.azurewebsites.net/
I added one more Redirect URIs as
https://<AppName>.azurewebsites.net/.auth/login/aad/callback

1 Vote 1 ·

I tried this but .auth is not allowed. I get an error. Allowed external redirect URL value needs to be URI format. If I remove the . before the auth it accepts it. However the uri error microsoft expects includes . .auth in its path

0 Votes 0 ·
Show more comments

I am having the same error.

Request Id: 764566cf-5380-40d6-929c-7955e60e0e00
Correlation Id: 4e579d1c-9347-4b0f-abdc-e5cf238b2b0d
Timestamp: 2021-06-25T06:36:49Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '63eec648-1fe1-4b13-870c-de0b2b5a4e2a'.

Please help me with this.

0 Votes 0 ·
amanpreetsingh-msft avatar image
0 Votes"
amanpreetsingh-msft answered NaveenYada-4377 commented

Hello @StellaSong-2583

By tracking the correlation ID, I found that the Reply URL being sent in the request is https://products.office.com/en-NZ/home, which doesn't match with any Reply URL registered in the app with ID "4b233688-031c-404b-9a80-a4f3f2351f90". Please try registering https://products.office.com/en-NZ/home as reply URL under the authentication blade of the app and try again.


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

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

could you please explain to me i have in manifest the uri: api://zealous-cliff-0d6bf3300.azurestaticapps.net/208a72ee-c108-4618-b9f4-e98d89d22b84

now what should i put in the app registration redirecURLs just: https://zealous-cliff-0d6bf3300.azurestaticapps.net

whats is wrong here could you please check those logs with belows detail.
Request Id: eb22e0d3-2263-494b-8e03-205e2f4b1f00
Correlation Id: df4f0e7d-0c4e-4df7-ad2e-911de8888ddb
Timestamp: 2021-03-09T07:17:25Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '208a72ee-c108-4618-b9f4-e98d89d22b84'.


1 Vote 1 ·

@amanpreetsingh-msft
I get the same kind of error. Can you please advise?

AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'dd0cb0de-3bc6-4393-8091-38d58f755192'.

0 Votes 0 ·
soumi-MSFT avatar image soumi-MSFT KonstantinosKoufakisElsteel-9991 ·

Hello @KonstantinosKoufakisElsteel-9991, thank you for reaching out. We would need to complete the error message along with the correlationID and timestamp to help you further.
Please do share the correlationID and timestamp for the error and we will look into the backend and share our findings to help you fix this issue

0 Votes 0 ·

Request Id: 61ec0a73-2793-4685-8d39-49ba6e0dbb00
Correlation Id: 92b16cca-23cb-46f5-8e35-c734d93eaaa3
Timestamp: 2020-11-03T06:47:26Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'dd0cb0de-3bc6-4393-8091-38d58f755192'.

0 Votes 0 ·

@soumi-MSFT

i am also getting a mismatch reply url error. Could you please check from your logs what it is expecting as a reply url to get it configured in Azure application.
Following are details for my action:
Request Id: 6d987448-8c79-4a36-98be-2330defa1c01
Correlation Id: 3d5f1c9b-16d5-49a0-9c81-bc7daf5633a5
Timestamp: 2021-06-24T13:12:45Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application:

Any help is appreciated.

0 Votes 0 ·

@soumi-MSFT I am also facing same problem. Can you please help to check logs and correct me if I am using incorrect details
Request Id: 1e3c7958-3639-4822-a811-05ee7e281201
Correlation Id: 8cd9ee97-ef00-4e45-acf6-aba153422480
Timestamp: 2021-07-21T18:15:04Z

0 Votes 0 ·

I have uri: api://auth in my manifest and when I launch the https://login.microsoftonline.com/tenant/oauth2/v2.0/authorize?client=<clientid>; it failed with "Failed to launch 'api://auth/?code=<code value>' because the scheme does not have a registered handler". I see the above Failed to launch message in devtool. Any one had luck to proxy the uri (api://auth) to localhost or any way to get the code from the uri? I see the correct code in the devtool.

0 Votes 0 ·

Hey Aman,

i am also getting a mismatch reply url error. Could you please check from your logs what it is expecting as a reply url to get it configured in Azure application.
Following are details for my action:
Request Id: 6d987448-8c79-4a36-98be-2330defa1c01
Correlation Id: 3d5f1c9b-16d5-49a0-9c81-bc7daf5633a5
Timestamp: 2021-06-24T13:12:45Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application:

Any help is appreciated.

0 Votes 0 ·

I am also having same error. Can you please help to look at what is missing.

I am also facing same problem. Can you please help to check logs and correct me if I am using incorrect details
Request Id: 1e3c7958-3639-4822-a811-05ee7e281201
Correlation Id: 8cd9ee97-ef00-4e45-acf6-aba153422480
Timestamp: 2021-07-21T18:15:04Z

0 Votes 0 ·
PramodPillai-3235 avatar image
0 Votes"
PramodPillai-3235 answered

I am getting the same error. However the reply-URLs are the same in both the application and AD

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

Request Id: e4e442aa-70a9-461e-9631-a9dc7ce03800
Correlation Id: 2b781df0-ac1f-468b-8336-bd4672b32dea
Timestamp: 2020-12-03T18:59:41Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'ec5a44f4-0fbd-4e26-96e1-7b30a13d14a3'.

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.

SushanthMangalore-2646 avatar image
2 Votes"
SushanthMangalore-2646 answered SushanthMangalore-2646 commented

Seeing the same problem -

Request Id: e512b5b5-46a0-4244-8f98-6c80ec018f00
Correlation Id: e5a65430-8089-472e-aef9-698c48c4cc99
Timestamp: 2020-12-04T15:50:27Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'e06b1245-561b-480e-aea9-426fba702ff8'.

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

Thank you Sushanth. I found the issue. Cheers!

0 Votes 0 ·

You can use the network tab on Chrome or Edge browser to find out what reply-url is being sent out and then match it to the setup in Azure AD.

0 Votes 0 ·

You mentioned in your comment that the reply-URLs were same in both the app and AD. What difference did you discover in the networks tab? I

0 Votes 0 ·
LeoOrbing-2967 avatar image
0 Votes"
LeoOrbing-2967 answered LeoOrbing-2967 published

I also get this error message while trying to connect our Business Central Cloud.
According to all the guides we should use https://businesscentral.dynamics.com/


Request Id: 03729df3-bfe5-4ecc-9859-f8cd709b3c00
Correlation Id: c71bbe66-2e38-4f6b-b857-7215634dde94
Timestamp: 2021-02-25T12:05:20Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'C9A63535-618B-4C00-B133-FF915FC6E54D'.

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.

SuganyaSivashanmugam-9907 avatar image
0 Votes"
SuganyaSivashanmugam-9907 answered SuganyaSivashanmugam-9907 commented

Hi Team,

Even I am facing the same issue. I have both the URLS same. Still facing this issue. Can anyone resolve it? Magic Thanks..

My url in the Authentication tab of App Registration is https://localhost:44324/signin-oidc and in the appsettings.json file holds a value of "CallbackPath": "/signin-oidc".. can you let me know this what are you referring to the statement that "both urls must be same"?

Request Id: d26af84a-2fc7-4a4d-8376-f04c4efa5c00
Correlation Id: 95828926-bb1d-47b1-9539-c08517e0e00c
Timestamp: 2021-03-15T02:01:44Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '159ff55e-df8b-4715-9371-f0bf6a498d23'.

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

this issue could be resolved once you have same URLS at both places in app registration and then make sure you clear cache.

if in app registration you have https://localhost:44324/signin-oidc then you must be testing if from local machine which is running on 443.

0 Votes 0 ·

Hi Sanjeet Singh,

As you said cleared my cache and once again checked the URLs and both are same and I am running on my localhost. But still no luck. Getting the same issue. I configured the URL( https://localhost:44324/signin-oidc) as a SPA in Azure Portal. If I change it to Web then, the page that being authorized is saying "Completing Login...." that's it. I am using a .Net5 Blazor WASM app with .Net hosted checkbox ticked. Can you give me some other alternate solutions for this. Many Thanks.

0 Votes 0 ·
SanjeetSingh-9494 avatar image
0 Votes"
SanjeetSingh-9494 answered

Hi Suganya, did you make it SPA ??, please use web application and put both urls https://localhost:44324/signin-oidc and https://localhost:44324/signout-oidc in logout url, it also take some time, so after changing to web application please give it some time.

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.

DianiChandra-9401 avatar image
0 Votes"
DianiChandra-9401 answered DianiChandra-9401 published

Request Id: fda844b4-2e84-4b54-a276-d9c91e227200
Correlation Id: 666b51bc-35aa-4365-8c57-63285dc1e760
Timestamp: 2021-03-23T15:53:09Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '49a648b1-57d2-4797-a653-db4e47cef12d'.

Hi, cold anyone help me

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.

DarrenBrown-7401 avatar image
0 Votes"
DarrenBrown-7401 answered

Hi, I seem to be getting exactly the same problem. Surely there must be a way for us to get more info on what's being posted? Anyway, here's the info. Please can you look into what I need to change the reply URL field on Azure?...

Request Id: 0890497b-ab9b-4590-b5ec-c1abc80d4200
Correlation Id: 628c4aee-baf4-477d-a628-8f3a5353a72e
Timestamp: 2021-03-29T08:19:47Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '25cbb08f-2346-4df1-a3c4-dddea655bb4e'.

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.

RayChoe-0696 avatar image
0 Votes"
RayChoe-0696 answered

Troubleshooting details
If you contact your administrator, send this info to them.
Copy info to clipboard
Request Id: 96b682a0-4890-4ea1-9b68-0f5580765e00
Correlation Id: f619a1dc-cb10-4229-8d0a-f94b317f8210
Timestamp: 2021-04-14T18:49:57Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'f6d1c82d-97c4-4f37-af67-7b6aa830362e'.

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.