Azure Cli How To Change Subscription Default


Answer :

For Azure CLI 2.0 (preview) I had to use

az account set --subscription <name or id> 

Please try the following:

azure account set -s {Subscription Id} 

That should change the subscription.


Try in this way.it worked for me to set Azure PowerShell to a specific Azure Subscription

Set-AzContext -SubscriptionId "t666-e251-49ce-a1cd-5c3144" 

Comments

Popular posts from this blog

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Can Feynman Diagrams Be Used To Represent Any Perturbation Theory?