Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
465 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I am trying the cleanup untagged manifests in multiple container registries via powershell. However when I try to execute the following command, it fails with the message: Remove-AzContainerRegistryManifest: Operation returned an invalid status code 'MethodNotAllowed'
Update-AzContainerRegistryRepository -RegistryName XXXXXXXXXXXXX -Name XXXXXXXXXXXXX -DeleteEnable $true
Remove-AzContainerRegistryManifest -RegistryName XXXXXXXXXXXXX -RepositoryName XXXXXXXXXXXXX -Manifest sha256:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
As explained in the documentation I am enabling deletion using the first command. When the command is executed with the -WhatIf parameter, it returns correctly.
Regards