container registry quickstart tutorial blocked immediately

Kyle Bradshaw 20 Reputation points
2025-01-03T20:10:59.08+00:00

I am following this tutorial https://learn.microsoft.com/en-us/azure/container-registry/container-registry-quickstart-task-cli and have created my resource group and a unique name for my container registry. When I attempt to build the image and push it up to my registry I am met with this error from az-cli ( I am running MacOs )

`> $ az acr build --image sample/hello-world:v1 --registry testcontainerregistry001 --file Dockerfile . ⬡ system

Packing source code into tar to upload...

Uploading archived source code from '/var/folders/4s/4mw1bhw97tg4235s7qtd_blg440000gn/T/build_archive_d8f659a23ed6d4423599b6ebee94bd484e.tar.gz'...

Sending context (813.000 Bytes) to registry: testcontainerregistry001...

(TasksOperationsNotAllowed) ACR Tasks requests for the registry testcontainerregistry001 and aeb453ef-bcdc-4e8b-8e04-edbf0e8327137f 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 testcontainerregistry001 and aeb453ef-bcdc-4e8b-8e04-edbf0e87fwe137f are not permitted. Please file an Azure support request at http://aka.ms/azuresupport for assistance.

Target: request

I'm not sure what's going on with this blocker is it obvious? Does the tutorial leave a step out? As far as I know I set up my personal account fine - I'm just getting started

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
473 questions
0 comments No comments
{count} votes

Accepted answer
  1. Mahesh Goud Juvvadi 1,745 Reputation points Microsoft Vendor
    2025-01-03T21:05:33.09+00:00

    Hi Kyle Bradshaw,

    Thank you for reaching out to the Microsoft Q&A platform.

    The error message TasksOperationsNotAllowed indicates that due to insufficient of permissions.

    Could you please share your Subscription type (Free Trial OR Pay as you go?)

    Free Trial Subscription might have limitations on certain operations.

    If the user account does not have the required permissions, you need to grant the necessary permissions to the user account. You can also try logging out and logging back in to the Azure CLI to refresh.

    Please find the below similar issue article for your reference:

    https://stackoverflow.com/questions/77982084/how-to-fix-tasksoperationsnotallowed-acr-tasks-requests-for-the-registry-cont#:~:text=The%20error%20message%20%22TasksOperationsNotAllowed%22%20occurs%20when%20ACR%20Tasks,has%20the%20required%20permissions%20to%20perform%20ACR%20tasks.

    Thank You.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.