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.
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.
The UI seems to have changed in the three years since Harish's answer. As of August 2022 I don't see an option "Set your default directory". Instead I see "Startup directory: [current startup directory name] (change)":
Changing the startup directory did the trick for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With