Change Directory Tenants with your Azure Subscriptions

Organizations might have several Azure credit subscriptions. Each subscription an organization sets up is associated with an Microsoft Entra ID.

Microsoft Entra ID is Microsoft’s cloud-based identity and access management service that helps your employees sign in and access internal and external resources.

You might need to change the Active Directory you’re working in or transfer your subscription to another Active Directory.

When you activate your subscription, your identity is created based on the email you use. That identity is either associated with your organization’s Active Directory tenant or a new directory tenant is created for that identity. You can see the identity you’re using in the upper right-hand side of your Azure portal.

A screenshot of the Azure portal with the identity highlighted in the upper right-hand corner.

From here, you can either switch identities or switch directories. You might need to change your identity to access certain directories.

If the identity you’re logged in as is associated with multiple directories, switch by selecting “Switch directory.” You'll see the directories your current identity is associated with.

A screenshot of the Directory and Subscription window in Azure portal.

Your experience within the portal is highly dependent on the directory associated with the identity you used. To change directory tenants, an Admin has to add your identity as a user within the target directory.

Importance of Changing Your Microsoft Entra tenant

When you set up your Azure Credit Subscription through a Visual Studio license, you can use a work email or a personal email to create your identity.

If you set up your credit subscription using a personal account, your identity and work are isolated from your organization’s active directory. Let’s say you've been working on an app that needs its own subscription to test and learn before deployment. Now, you need access to your organization’s work or references. Changing your directory’s tenant lets you access your organization’s resources and lets them access yours.

The following diagram shows the basic steps to take when you change or transfer your subscription.

A diagram illustrating changing or transferring your subscription.

Identity and Access Management

Where and how you have access dictates what you see based on your logged in credentials. This access can be given at different levels within the organization’s hierarchy. You can be given access at the directory level, subscription level or within resource groups.

A screenshot of Azure access levels.

You can see and manage your access levels within Access Control. You can also manage others' access to the subscription depending on your access levels.

A screenshot of the Visual Studio Subscription access control page.

How to Change your Azure Directory Tenant

To access another Active Directory, you need an active account with the necessary permissions and access to change directory tenants. An admin within the directory tenant you wish to access can either add you as:

  • User
  • Guest

Once you’ve been added and given proper permissions, you can switch directories within your subscription.

  1. Sign in and select the subscription you want to use from the Subscriptions page in Azure portal

  2. Select Change Directory

    A screenshot a Contoso Enterprise Subscription page with Change Directory highlighted.

  3. A box will surface to choose the new directory

  4. Select Change

    Note

    If you don’t have access to the target directory it will not show. After the directory is changed for the subscription, you'll receive a success message.

    A screenshot of the Change Directory validation page.

  5. Select “Switch Directories” on the subscription page to access the new directory

A screenshot of the subscriptions page with Switch Directories highlighted.

You can also access a target directory and change your tenancy by going to the target directory and adding an Admin. Follow these instructions on how to add an Admin to your subscription. Once that’s done, the Admin has access to both directories and can change the tenant directory for you.