ACR Tasks blocked with TasksOperationsNotAllowed

D, Pooja 0 Reputation points
2026-10-05T12:12:17.8166667+00:00

Hi Team,

 

I am working on a Notification Agent POC.

 

Subscription:

Azure subscription 1

 

Subscription ID:

003b4c66-bd1d-4a3a-9805-e4c0715d0bde

 

Registry:

poojanotificationacr29

 

The following commands fail:

 

az acr build --registry poojanotificationacr29 --image notification-agent:v1 .

 

az acr task create --registry poojanotificationacr29 --name testtask --context . --file Dockerfile --image test:v1 --commit-trigger-enabled false

 

Error:

 

TasksOperationsNotAllowed

 

Verified:

  • Registry created successfully
  • Public network access enabled
  • Microsoft.ContainerRegistry provider registered
  • Subscription state is Enabled
  • User has Owner role

 

Could you please verify whether ACR Tasks are disabled by subscription or tenant policy and enable them if allowed?

 

Thanks,

Pooja

Azure Container Registry
Azure Container Registry

An Azure service that provides a registry of Docker and Open Container Initiative images.

0 comments No comments

Your answer

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