[Reference feedback]: az cli command doesn't work as documented
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### Type of issue
Code doesn't work
### Reference command name
https://learn.microsoft.com/en-us/cli/azure/batch/pool/supported-images?view=azure-cli-latest#az-batch-pool-supported-images-list
az batch pool supported-images list
az : ERROR: Specify batch account in command line or environment variable.
At line:1 char:1
+ az batch pool supported-images list
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (ERROR: Specify ...nment variable.:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
### Feedback
The az cli command "az batch pool supported-images list only" documentation shows that the command only has optional parameters in order to retrieve all batch account supported images, However the command fails without --account-name and --account-endpoint parameters.
### Page URL
https://learn.microsoft.com/en-us/cli/azure/batch/pool/supported-images?view=azure-cli-latest
### Content source URL
https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/docs-ref-autogen/Latest-version/latest/batch/pool/supported-images.yml
### Author
@mikefrobbins
### Document Id
ba8f9748-293e-84da-9a93-37fa1560fe5c
Contributor guide
Assessment
This issue has not been assessed yet.