Skip to content

[Doc]: The incorrect content on Remove-AzContainerRegistryTag #17857

Closed
@aivanov306

Description

@aivanov306

Description

Description of the Remove-AzContainerRegistryTag command documentations contains block:
Untag ACR tag. To use this cmdlet please run Update-AzContainerRegistryRepository -RegistryName XXX -Repository XXX -DeleteEnable $true first.
If you do this command on your repository it actually removes -ReadEnable $true -ListEnable $true -WriteEnabled $true access from the repository and you will not be able to do Remove-AzContainerRegistryTag (as well as read content of ACR repository).
To fix this you actually need to use the following command:
Update-AzContainerRegistryRepository -RegistryName XXX -Repository XXX -ReadEnable $true -ListEnable $true -DeleteEnable $true -WriteEnabled $true

Please correct this description to avoid confusion for users who never used this command before.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions