Auth0 Azure AD Connection Login Fails with error: "This login.microsoftonline.com page can't be found"
Last Updated:
Overview
An incorrect domain format in the Auth0 Azure Active Directory (Azure AD) connection configuration causes login attempts to fail. Removing https:// and any trailing slashes from the Microsoft Azure AD Domain field resolves the issue.
During a login attempt using the Azure AD enterprise connection, Auth0 returns the following error:
This login.microsoftonline.com page can't be found
No webpage was found for the web address:
Applies To
- Azure AD
Cause
The issue is caused by a misconfiguration of the Azure domain in the Auth0 connection configuration. For example, if 'https://' is included in the Domain field for the Azure AD connection.
Solution
How to fix the Azure AD domain misconfiguration in Auth0?
Check the configuration of the Azure domain in the Auth0 connection and remove the https:// and any trailing slashes.
-
Log in to your Auth0 Dashboard and navigate to Authentication > Enterprise.
-
Select Microsoft Azure AD and click on the name of your connection.
-
Under the Settings tab, locate the Microsoft Azure AD Domain field.
-
Remove
https://and any trailing slashes. For example, changehttps://<domain.com>to<domain.com>. -
Click Save Changes and test the login flow.