Azure container registry repository or image delete giving error while executing using Azure CLI or Command Shell

1.3k Views Asked by At

Getting below error while deleting ACR repository or image.

Command: $ az acr repository delete --name pocacr2021 -repository repoNodeBulletin

Error: The requested data does not exist. Correlation Id:xxxx-xxxxx-xxxx-xxxxx

1

There are 1 best solutions below

0
On

Error was coming due to passing repository name should be lower case. It won't allow upper or mixed case.

Wrong Command: $ az acr repository delete --name pocacr2021 -repository repoNodeBulletin

Correct Command: $ az acr repository delete --name pocacr2021 -repository reponodebulletin