Reputation: 9387
How do I find the current Azure subscription using Azure CLI.
az account list only gives me the list of subscriptions.
Upvotes: 29
Views: 42832
Reputation: 8961
You can run : az account list -o table
.
Outputs a list of resources in table form.
The details of your current subscription will be on line with IsDefault = True
.
Upvotes: 18