URL Misdirect - TrackingID#2509240040003998

Mario Admin 25 Reputation points
2025-09-24T16:49:48.24+00:00

Tried to fix the URL redirect error. Did not work following the youtube video Microsoft site recommended. Now the iss ue is that the Application (client) ID is not the correct one , and I do not know how to edit it.

Microsoft Security | Microsoft Entra | Microsoft Entra ID

Answer accepted by question author
VEMULA SRISAI 13,900 Reputation points Microsoft External Staff Moderator
2025-09-24T20:57:21.34+00:00

The issue occurs because the redirect URI configured in your app registration does not match the URI being sent during sign-in. The Application (client) ID itself cannot be edited it’s a unique identifier assigned when the app registration is created.

To fix the issue, follow these steps to add a redirect URI in Microsoft Entra app registration.

  1. Copy the application ID from the error message. This is the ID of your application that has been registered in Microsoft Entra ID. The screenshot about the application ID in AADSTS50011 error message Go to the Azure portal. Make sure you sign in to the portal by using an account that has permissions to update Microsoft Entra Application registration.
  2. Navigate to Microsoft Entra ID, select App registrations, locate the application registration by using the application ID, and then open the app registration page. You can also open the page directly by using the following links:
    • If this app is owned by an organization (Microsoft Entra tenant), use https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/Authentication/appId/<AppGUID>.
    • If this app is owned by your personal Microsoft (MSA) account, use https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/Authentication/appId/<AppGUID>/isMSAApp/true.
  3. On the app registration page, select Authentication. In the Platform configurations section, select Add URI to add the redirect URI displayed in the error message to Microsoft Entra ID The screenshot about redirect URI in the AADSTS50011 error message 4.Save the changes and wait three to five minutes for the changes to take effect and then send the login request again. You should now be able to sign in to the application. If you don't see the Microsoft Entra login page, try clearing the password cache from your browser or use InPrivate browsing.

Note: If the redirect URI sent from the application isn't the desired one, you should update your application code or configuration.

Please let me know if you need any additional Information or need further assistance on this.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.