Azure AD Connection Error: "strServiceExceptionMessage":"AADSTS50011"

Problem statement

The following error is encountered while testing login with an Azure AD enterprise connection:

"strServiceExceptionMessage":"AADSTS50011: The redirect URI [https://{](https://{/)AUTH0_DOMAIN}/login/callback specified in the request does not match the redirect URIs configured for the application ************. 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."

Cause

This Microsoft error indicates that the proper redirect URI https://{AUTH0_DOMAIN}/login/callback is not included in the Azure AD application’s list of Web Redirect URIs. For further information, refer to the Microsoft Azure error reference page.

Solution

Ensure that this URI is included in the list of Web Redirect URIs to resolve this error