A cloud-based identity and access management service for securing user authentication and resource access
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".
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.