az consumption usage list - resulting error message is unclear
See original GitHub issueI tried to use az consumption usage list
and got the following error (when using the latest az cli
):
Command group 'consumption' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
(400) Subscription scope usage is not supported for current api version. Please use api version after 2019-10-01 (Request ID: 2f1d12d0-ce2e-4d85-a2ed-6443607f8edc)
What’s user to do ?
There should be. a simple solution to this - and that should be evoked here
az --version
azure-cli 2.38.0
core 2.38.0
telemetry 1.0.6
Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1
Python location '/opt/az/bin/python3'
Extensions directory '/home/mjb/.azure/cliextensions'
Python (Linux) 3.10.5 (main, Jul 1 2022, 04:14:40) [GCC 9.4.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: e05c0768-9cfc-3b78-4f39-70a8c1f0b6bd
- Version Independent ID: b5e5d8fa-e84c-408a-3f49-19d245563abd
- Content: az consumption usage
- Content Source: latest/docs-ref-autogen/consumption/usage.yml
- Service: cost-management-billing
- GitHub Login: @rloutlaw
- Microsoft Alias: routlaw
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Please use api version after 2019-10-01 - Microsoft Q&A
az consumption usage list. from a terminal it errors out with message. Command group 'consumption' is in preview and under development.
Read more >How to get rid of the error message in Powershell when listing ...
You should add the -ErrorAction SilentlyContinue flag, which ignores the errors that are displayed as a result of the command.
Read more >Error messages | BigQuery - Google Cloud
This document describes error messages you might encounter when working with BigQuery, including HTTP error codes, job errors, and Google Cloud console ...
Read more >Known issues - Fortinet Documentation Library
On the Policy & Objects > Firewall Policy page, the policy list can take ... High iowait CPU usage and memory consumption issues...
Read more >January 28, 2015 - Customs and Border Protection
THIS ERROR MESSAGE WILL RESULT FOR A SHIPMENT FROM CANADA IF THE MANU- ... AN ENTRY SUMMARY INPUT TRANSACTION (APPLICATION EI) CANNOT USE...
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
Just for anyone else stumbling on this like I did. I couldnt get this command to work. It kept returning
Bad Request
, I found thatusageDetails
should actually beUsageDetails
and that--url
was required.@mjbright The action is currently pending on you to test the above plan. We will now proceed with closure of this GitHub issue. If you need any further assistance on this issue in future, please feel free to reopen this thread. We would be happy to help.