Share via

AADSTS50011 issue

Satish b 6 Reputation points
2022-09-21T12:05:09.23+00:00

Hello Experts,

could you please help on the below error?

AADSTS50011: The redirect URI 'https://auth.cloudelements.io/oauth' specified in the request does not match the redirect URIs configured for the application '6f9cc5d5-999d-4c0a-a6d3-a57ed514de03'. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate to https://aka.ms/redirectUriMismatchError to learn more about how to fix this.
Troubleshooting details
If you contact your administrator, send this info to them.
Copy info to clipboard
Request Id: f35464f2-18ce-4204-9876-3aa180948c00
Correlation Id: 5cca5b0b-0334-452b-af02-39a0118f98ba

Timestamp: 2022-09-21T12:01:17Z
Message: AADSTS50011: The redirect URI 'https://auth.cloudelements.io/oauth' specified in the request does not match the redirect URIs configured for the application '6f9cc5d5-999d-4c0a-a6d3-a57ed514de03'. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate to https://aka.ms/redirectUriMismatchError to learn more about how to fix this.
Flag sign-in errors for review: Disable flagging

Regards,
Satish

Microsoft Security | Microsoft Entra | Microsoft Entra ID

2 answers

Sort by: Most helpful
  1. Sandeep G-MSFT 21,141 Reputation points Microsoft Employee Moderator
    2022-09-25T05:17:28.34+00:00

    @Satish b

    Usually, error AADSTS50011 comes up when Azure AD is trying to post the token back to one of the application endpoint and Azure AD cannot find this endpoint.

    In the authentication flow, user tries to access the application, application redirects the authentication request to Azure AD.
    In this request application asks Azure AD to post the token back to specific endpoint after authentication is completed.

    Now, Azure AD prompts for user's credentials. Once user provides the credentials, Azure AD authenticates this user. Post authentication Azure AD is supposed to send the token back to application that will intimate application that user is authenticated and can give access to application

    In the process of Azure AD sending the token back to application, Azure AD will post the token back to application on the same endpoint which was specified in the authentication request that was sent initially by application to Azure AD.

    If Azure AD is unable to find the endpoint under application setting in Azure AD app registration blade to post the token back, it throws an error AADSTS50011.

    To resolve this issue, you will have to add one of the endpoint under application settings in application registration.

    In your issue you can browse to Azure AD >> app registration >> open the application which is throwing an error.

    Click on redirect URIs as below and add a redirect URI with value "https://auth.cloudelements.io/oauth".

    244480-image.png

    Save the configuration change and try to access the application again. Issue should be resolved now.

    Let me know if you have any further questions on this.

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

    Was this answer helpful?

    0 comments No comments

  2. Carlos Solís Salazar 18,376 Reputation points MVP
    2022-09-21T12:41:27.963+00:00

    Hi @Satish b a

    Thank you for asking this question on the **Microsoft Q&A Platform. **

    you must add the URI 'https://auth.cloudelements.io/oauth' on your App Registration with the Application (client) ID '6f9cc5d5-999d-4c0a-a6d3-a57ed514de03'.

    Should it be something like this:

    243435-image.png
    Hope this helps!

    ----------

    Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.
    NOTE: To answer you as quickly as possible, please mention me in your reply.

    Was this answer helpful?

    0 comments No comments

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.