ACR Tasks requests for the registry are not permitted

Markus Øxnevad 5 Reputation points
2024-05-22T07:45:48.08+00:00

I am currently working on the this module, and when doing the exercise for trying to build and push image from Dockerfile I get the following error: (TasksOperationsNotAllowed) ACR Tasks requests for the registry <acrName> and <subscriptionId> are not permitted.

This happens after I execute the az acr build command.

I have tried twice, by deleting my resource group and acr all together, but I still get the same error message.

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,957 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Srinud 3,490 Reputation points Microsoft Vendor
    2024-05-22T16:28:43.47+00:00

    Hi Markus Øxnevad,

    Based on the query provided, it is understood that requests for ACR Tasks pertaining to the container registry and specific subscription IDs are currently not permitted.

    Please note that if you are utilizing an Azure free trial subscription, we recommend transitioning to a pay-as-you-go model. ACR is temporarily suspending ACR task runs funded by Azure free credits.

    We have conducted tests on our end and have successfully executed the "az acr build" command within a pay-as-you-go subscription. Attached below are the screenshots for your reference.

    image (1)

    image (2)

    If the information provided has been helpful to you then please accept the answer by clicking the Accept Answer & Upvote on the post. We value your feedback, and it will help us to assist others who might have a similar query.

    Thank you.

    2 people found this answer 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.