news and know-how about microsoft, technology, cloud and more.

How to change the default directory for an existing Azure subscription

Recently I opened a new Azure subscription with my Microsoft Account. Since every Azure subscription needs to have an Azure Active Directory (AAD) for the subscription management in the background, Microsoft assigns a new or an existing AAD to that subscription.

In the Azure management portal you can see the default directory for an Azure subscription in the "Settings" / Subscriptions in the "Directory" column. The following screenshot shows an example.


Here are two Azure subscriptions (Azure and AzureS) managed by one AAD ( - which is a more than one year old, no longer active Office 365 demo 30-days-trial).

Why would you want to change the default AAD?

So far so good. What if the assigned AAD for an Azure subscription is not the one you want to use?
For example in an organization you maybe want to use your (federated or Office365) AAD?

The second problem - in my case - was that I could not add other Co-Admins to the specific Azure subscription. The portal always delivered an error: "The account '' could not be made a co-administrator due to a directory error." Troublesome...

I found out that the underlying AAD ( seemed to be the problem because in other Azure subscriptions adding Co-Admins worked. So I had no idea what caused the problem in the AAD and I could not fix it myself in the AAD. The following steps were the solutions for that issue.

How to change the default AAD

The Azure portal shows the default directory of Azure subscriptions on the "settings" / "subscriptions" as mentioned above.


The way is very simple: Select the Azure subscription and click "Edit directory" in the menu below.


Now choose the new desired AAD from the Directory dropdown.
(You can also create a new AAD in the Azure portal before performing this step if you like...)


In my sample I selected my default directory I am using in another Azure subscription.

The next steps informs if existing Co-Admins are affected - or not. Take care that you are global admin of the new AAD, otherwise you could loose the permission to manage the Azure subscription.


After confirming the portal must reload: Ok.


After the reload don't worry, if the Azure subscription is gone now... (as in the background of the following screenshot). You need to switch to the "new" AAD in the subscriptions menu.


In my case I selected my "Default" Active Directory where I now can see and manage the "AzureS" subscription.


That's it. The Azure subscription is now managed by the "new" AAD.

Add new Co-Admins

Now add new Co-Admins to that Azure subscription. You can add new users or use existing users (as I did because other users already had permissions to other Azure subscriptions) and select the subscription permissions. With "edit" this looks like here.


The result: Voila, it worked!
(No more error "The account '' could not be made a co-administrator due to a directory error."... the "new" AAD fixed that problem.)


So this is how to change an Azure subscription management to another AAD. Hope it helps!

Comments (1) -


    9/28/2020 7:59:45 PM |

    Wow. Okay, so I see this is 5 years old but I have two logins crossed with each other's default directories. AND i can switch between the two AT WILL. YIKES.
    After an Azure Support Tech named Robin looked he concluded I had to "delete everything and start over". the problem is that I cannot remove the tenant default directories, even though I can switch between them.