Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am following MS Learn documentation to prepare for AZ-204 exam and I cannot build the image by using ACR tasks, same issue exists in pay as you go subscription. Following command fails : "az acr build --image sample/hello-world:v1 --registry ngraptortest --file Dockerfile ."
Error:
(TasksOperationsNotAllowed) ACR Tasks requests for the registry myregistryname and <subscription id> are not permitted. Please file an Azure support request at http://aka.ms/azuresupport for assistance.
Code: TasksOperationsNotAllowed
Message: ACR Tasks requests for the registry myregistryname and <subscription id> are not permitted. Please file an Azure support request at http://aka.ms/azuresupport for assistance.
Target: request
Hey Arif Mohammed,
It sounds like you're running into an issue with building images using ACR Tasks, and you're getting a "TasksOperationsNotAllowed" error. This can often be linked to permissions or configurations associated with your Azure Container Registry (ACR). Here’s what you can do to troubleshoot this issue:
az acr task list-runs -r <registry-name> -n <task-name> --run-status Failed --top 10
Investigate the logs for any specific errors that could give more insight.
az acr check-health --name <registry-name> --ignore-errors --yes
If you’ve gone through these steps and the issue persists, please let me know if you have access to the Azure portal logs or need assistance interpreting them.
Let me know how it goes! Hope this helps!