Our company has been successfully using the Microsoft Graph Connector in SmartConnect 21 on-premise, and now we would like to configure this in SmartConnect.com to transition to the cloud version.
Because on-prem is working fine, we thought that it would be easy to get the MS Graph Connector working in SmartConnect.com easily, but it is failing validation with the error:
AADSTS50011: The redirect URI ‘https://app.smartconnect.com/MsGraphOdata/GraphOAuthCallback’ specified in the request does not match the redirect URIs configured for the application ‘ef5d4179-a0a7-40e5-8fdb-35a2d6227ee7’. 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.

AADSTS50011 Redirect URI Error
If you’d like to watch a video explanation of this, see below or click here.
The reason this works fine with SmartConnect 21 on-prem and not in SmartConnect.com is because the applications use different Redirect URLs.
In the MS Graph Connector window, both applications show the correct Redirect URL.
When the Application ID was created, just the on-prem Redirect URL was used, so the on-prem version could validate successfully.

After pulling the correct SmartConnect.com URL from the Microsoft Graph OData connector window:
https://app.smartconnect.com/MsGraphOdata/GraphOAuthCallback
and adding it to the Authentication setup window:

The Connector authenticated correctly and was able to be saved.

Questions on fixing the AADSTS50011 Redirect URI Error in SmartConnect.com? Please reach out to our support team at support@eonesolutions.com.