Explore Courses Blog Tutorials Interview Questions
0 votes
in Azure by (45.3k points)

I have 3 subscriptions in my Azure Account, I need to change the default subscription. When I Run the command:

azure account list 

enter image description here

I have tried to change the default or current subscription this way, but I got no results:

azure config set subscription {{MyIdSubscription}}

Any type of help would be appreciated, thanks!

1 Answer

0 votes
by (16.8k points)

Please try the following:

azure account set -s {Subscription Id}

This should change your subscription.

Browse Categories