SFDC-Beginner
SFDC-Beginner

Reputation: 147

AADSTS50011: The redirect URI mismatch error with HTTP

From our Business central test environment, we are trying to communicate to Azure AD. So while giving grant consent it is trying to authenticate but finally getting this error

enter image description here

I tried to copy-paste the URL in AD but got this error

enter image description here

I don't know how to change to HTTPS in Business central side

Upvotes: 0

Views: 1304

Answers (1)

Alexander Drogin
Alexander Drogin

Reputation: 661

As the error message suggests, Azure AD (Entra) application cannot be registered with an HTTP URI, so your production instance (if you use on-premises BC) must be accessed via HTTPS. But for testing purposes, http://localhost will do the trick. Keep the URI as it is, just replace the server name with "localhost".

Upvotes: 0

Related Questions