0 votes
1 view
in Azure by (38.4k 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 !


Categories

...