question

SantiagoSalinas-7124 avatar image
0 Votes"
SantiagoSalinas-7124 asked ·

error AADSTS50011

Hi, im getting the URI error and the correlation id is: 4ee92f25-3043-4400-9897-8ee2d29dd947 Thanks! some days ago it worked fine.

azure-ad-authentication
10 |1000 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.

1 Answer

MarileeTurscak avatar image
0 Votes"
MarileeTurscak answered ·

Please make sure that the redirect URI that you have configured for the application registration matches exactly what you have configured for the app itself. (It can't have an extra space, slash, or anything else.) I'm not sure what type of application you are running but you can normally do a search through your code and check for references to the Redirect URI.

Please make sure that the application ID/Client IDs match both in the registration and in the application, as well as the tenant IDs.

· 3 ·
10 |1000 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 Marilee!

Just we had a missing "/" at the end of the URI.

Everything is fine right now.

1 Vote 1 ·
MarileeTurscak avatar image MarileeTurscak SantiagoSalinas-7124 ·

Hi @SantiagoSalinas-7124, Thanks for confirming! Yes, I see in the correlation ID logs that the one in the request has the "/"

0 Votes 0 ·

It would help if you can capture a fiddler trace so that I can understand the authentication flow.

Please follow the below instructions to capture a fiddler trace:

Download and install Fiddler from here: https://www.telerik.com/fiddler

Follow these instructions to enable HTTPS capture: https://docs.telerik.com/fiddler/configure-fiddler/tasks/DecryptHTTPS (do step 1 and 2)

To get traces:

Start fiddler (it will start capturing)

Repro the issue.

Stop fiddler capturing by hitting the F12 key.

Save all sessions in a .saz file and send via email to azcommunity[at]microsoft[dot]com (Attn: Marilee Turscak).

0 Votes 0 ·