Auth0 Home Blog Docs

Azure AD multitenant configuration not working


#1

Hi all,
We are a SaaS and we are trying to add support to different Azure Active Directories.

So I’m trying to set up a multi-tenant Azure AD authentication that will point to the common https://login.windows.net/common .

When I enable the toggle that does so, and save. Nothing happens.

I did not set the app uri because 1) I’m not sure where to get it from, 2) it appears to be optional.

Any ideas?


#2
This is the URL the current configuration goes to: https://login.microsoftonline.com/lukewoocar.onmicrosoft.com/login

and of course, since the user does not belong to my own AD, but to a different one, the following error is thrown:
User account ‘test.woocar@zarcam.com.ar’ from identity provider ‘https://sts.windows.net/71034d81-e1c6-4ec2-9425-313a89c5e393/’ does not exist in tenant ‘Woocar AD’ and cannot access the application ‘a453aa36-0abd-42bb-9a52-54e505e499c9’ in that tenant. The account needs to be added as an external user in the tenant first. Sign out an