Skip to content

[Reference feedback]: az cli command doesn't work as documented #31201

Open
@jah29m

Description

@jah29m

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Auto-AssignAuto assign by botBatchaz batchService AttentionThis issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-triageThis is a new issue that needs to be triaged to the appropriate team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions