`az account list` should return "enabled" subscriptions only, by default.
See original GitHub issueWe should add a flag (e.g., --all
) that lists “disabled” accounts along with “enabled” accounts, but the default should only list “enabled” accounts.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
az account - Microsoft Learn
az account list. Get a list of subscriptions for the logged in account. By default, only 'Enabled' subscriptions from the current cloud is...
Read more >Azure Cli how to change subscription default - Stack Overflow
1. List all the subscriptions you have az account list --output table Name CloudName SubscriptionId State IsDefault -- ...
Read more >Azure CLI Basics: Logging In - Craig Forrester
List currently authenticated subscriptions az account list # Log in to a subscription az login # Display subscriptions by Name and show ...
Read more >Azure CLI 2.0: List And Set Azure Subscription - Build5Nines
To do this, there are a couple important commands used to list the Azure Subscriptions your login has access to, view which subscription...
Read more >Enable All Parameters for ASC Default Policy | Trend Micro
Using Azure CLI ... Check the configuration status of each policy parameter returned by the account get-access-token command output (i.e. the "value" property ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@twitchax, FYI, what i suggested has a similar pattern in
az vm image list
. Also I much prefer to get the logic simple which will help users use the command well--all
You are viewing an offline list of images, use --all to retrieve an up-to-date list
I agree with @yugangw-msft. Also i would prefer --all instead of --include-disabled. The help can cllarify that --all means that it includes disabled as well