Hello Thank you for your question and reaching out. If the subscription hasn't registered the Microsoft.ContainerRegistry resource provider, this error can appear. Run az acr show -n registry_name to see if the registry is present in the current subscription. Run az provider show -n Microsoft.ContainerRegistry to see if the resource provider has been registered for the subscription. Run az provider register -n Microsoft.ContainerRegistry to register it if you haven't already. --If the reply is helpful, please Upvote and Accept as answer--
How to fix "The resource with name 'XXXXX' and type 'Microsoft.ContainerRegistry/registries' could not be found in subscription 'XXXXXXX'"?
Rakesh Sid
0
Reputation points
How to fix "The resource with name 'XXXXX' and type 'Microsoft.ContainerRegistry/registries' could not be found in subscription 'XXXXXXX'"? I've registered the Microsoft.ContainerRegistry resource provider by running az provider show -n Microsoft.ContainerRegistry also, but still getting the issue not solved.
Windows for business | Windows Server | User experience | Other
20,221 questions