How do I Set Default Azure Directory

azure, azure-active-directory

Solution

From Azure portal you can click on your name from top menu. Then select "switch directory" option. Once it shows all the directory you can find default directory option in the same menu.

Problem

I was added as a co-administrator to another Azure account. Now, when I log into the Azure portal, or use any of the Visual Studio integration, the default directory is the other account, not mine. How do I set my default directory, so that I'm using my original account by default. I looked through my account settings and all of the directory settings and I can't find anything to set this. This is specific to Azure portal, as soon as I signed in to the Azure portal it should set my default account.

Original source