AADSTS50011: The redirect URI mismatch error with HTTP

232 views Asked by At

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

1

There are 1 answers

0
Alexander Drogin On

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".