Skip to content

az storage share create wrong error message #16272

@BasSmuldersCZ

Description

@BasSmuldersCZ

Recently running the command
az storage share create --account-name accountName --name shareName returns

"There are no credentials provided in your command and environment, we will query for the account key inside your storage account. Please provide --connection-string, --account-key or --sas-token as credentials, or use --auth-mode login"

Running the command
az storage share create --account-name accountName --name shareName --auth-mode login returns
"UnrecognizedArgumentError: unrecognized arguments: --auth-mode login"

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions