How to Login using other directories user from of same azure account.

Sayyed Adeeb 21 Reputation points

We have 2 directories: User1Tech & User2Tech. My app configured with 1st Directory, and when i try to sign in using 2nd directory Users then its not working. Can we login using other directories user credential? Is it possible

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,570 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,615 questions
0 comments No comments
{count} votes

Accepted answer
  1. soumi-MSFT 11,771 Reputation points Microsoft Employee

    Hello @Sayyed Adeeb , thank you for reaching out.

    In the above scenario, there can be two possibilities that we can leverage to make users from some other tenant (in this case User2Tech tenant) to access apps developed in your tenant i.e User1Tech.

    1. Create a multi-tenant app.
    2. Add Users of the other tenant (User2Tech tenant) as guest users to your tenant.

    Now let me elaborate on the above two options.

    Creating a multi-tenant app is the most favourite amongst the two options provided. As creating a multi-tenant app in Azure Active Directory, can be accessed easily by hundreds and thousands of users belonging to different tenants. You can read more on the multi-tenant App architecture here:

    Both the links shared above are a good read to understand the multi-tenant architecture.

    The second option of adding the users from other tenant is also a possibility, in case your app is a single-tenant app. But then it loads up your own Azure AD directory by adding numerous users from other tenants as guest users in your own tenant. I would recommend you to avoid this as much as possible.
    In case you have a single tenant app, its advisable to convert it to a multi-tenant app and that would be ore suitable in the long run too.

    Hope this helps.

    Do let us know if this helps and if there are any more queries around this, please do let us know so that we can help you further. Also, please do not forget to accept the response as an Answer; if the above response helped in answering your query.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful