Sorry, but we 're having trouble signing you in - AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application

Sarah 161 Reputation points

In general, I was able to sign in and access the application without any problem. But rarely, I get this error.

If my understanding is correct, I get this error when I click on the link to access other pages before the initial page could load.
Is it possible to add other pages as well in the portal reply URLs (Redirect URLs) ? so that it does not throw error.
For eg: can I add "" and "" (which would be the URL of other page in the app).

If my understanding is wrong, May I know how I can go about solving this.
Deployed URL is "" (here Http)
Azure portal redirect URL and the URL used in the application is "" (here Https)
Http and Https difference causing this issue ?

Thank you.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,683 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 32,541 Reputation points Microsoft Employee

    Yes, the http/https mismatch is definitely what's causing the issue here. The URLs need to match exactly for this to work. You can add multiple Reply URLs if you need to as well.

    1 person found this answer helpful.