Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
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.

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94.1k users

Browse Categories

...