Skip to content

az storage account show | command is requiring non-required parameters #14119

Description

@dbradish-microsoft

Link to reference content:

https://docs.microsoft.com/en-us/cli/azure/storage/account?view=azure-cli-latest#az-storage-account-show

All of these parameters are listed as optional:

az storage account show [--expand]
[--ids]
[--name]
[--resource-group]
[--subscription]

Azure Cloud Shell syntax and error:

$ az storage account show --resource-group RG1inAzCLI --subscription dbradish-msft
(--name | --ids) are required
$

Issue #14110 is a similar issue.

UPDATE: There must be an IF...THEN...ELSE sitting behind this reference command which does NOT require the --ids if the --name parameter is specified. So maybe what we really need to do is find a way to communicate this in our documentation.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions