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 Connect Your App to Microsoft Azure Active Directory which seems to be a bit outdated.

3 Likes

We’re having the same problem. Any account within our domain can register or log in but any other domains see the same error posted.

Did you figure this out for your application?

1 Like