Auth0 Home Blog Docs

Azure AD login not working with accounts from other organisations

I have setup an enterprise connection for Microsoft Azure AD and am using auth0-lock on my app.

There is no problem with entering an email with the domain I used to register the app on Azure. Although when I enter an email from another organisation I get the message “Please, use your corporate email to login.”

My understanding is that the enterprise Azure AD allows you to login with any Office 365/Azure account??

On Azure I have configured the app to enable ‘Accounts in any organizational directory’. Following as closely as I could to https://auth0.com/docs/connections/enterprise/azure-active-directory/v2 which seems to be a bit outdated.