Skip to content

az acr create : Fails if name contains upper-case letters. #22003

@Adrian-London

Description

@Adrian-London

az acr create doesn't accept names with upper-case letters. Even the examples given fail. Upper-case letters work when using the Portal.

The apparent bug is that the "az acr create" command does a name validation taken from "az acr connected-registry create" and hence fails.

Output from terminal:
adrian ~ > az acr create --name AdriansRegistryName --resource-group RG-common --sku Standard
ERROR: argument error: Connected registry name must use only lowercase.
adrian ~ > az acr check-name --name AdriansRegistryName --output table
NameAvailable: True

Either the documentation (and worked examples) should be changed to all lower-case or the command should be fixed to allow upper-case names.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: c608162e-cf40-9d53-da4a-51f51a0311ea
  • Version Independent ID: eccbb543-be68-7de2-d41d-abee55c81452
  • Content: az acr
  • Content Source: latest/docs-ref-autogen/acr.yml
  • Service: container-registry
  • GitHub Login: @rloutlaw
  • Microsoft Alias: routlaw

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botCXP AttentionThis issue is handled by CXP team.Container Registryaz acrcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions