Enable ACR Tasks

SUNIT SAMUDRE 0 Reputation points
2025-10-22T02:16:48.43+00:00
Hello Community,

I need ACR Tasks enabled for my subscription to deploy an AI agent application.


LOCATION: East US 2

ERROR: TasksOperationsNotAllowed when running "azd deploy"

FULL ERROR MESSAGE:
"ACR Tasks requests for the registry abc and 
xyz are not permitted."

PURPOSE: 
Deploying Azure AI Agents application using Azure Developer CLI.
Project uses Azure OpenAI GPT-5 Mini and Azure Container Apps.
ACR Tasks required for automated container image builds.

REQUEST:
how to enable ACR Tasks for this subscription and registry.

Thank you.
Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
{count} votes

1 answer

Sort by: Most helpful
  1. Himanshu Shekhar 1,780 Reputation points Microsoft External Staff Moderator
    2025-10-22T04:41:35+00:00

    Hello @SUNIT SAMUDRE

    ACR will be temporarily pausing ACR Tasks runs from subscriptions that are using Azure trial credits.

    please check public documentation and let us know if that helps here:

    https://learn.microsoft.com/en-us/azure/container-registry/container-registry-tasks-overview

    Please check for subscription type :

     az account show 
    

    You may need to Upgrade to Pay-As-You-Go

    Sign in to the Azure Portal > Navigate to Subscriptions > Select your current subscription

    Click Upgrade or Change offer > Select Pay-As-You-Go

    Here Upgrading will not affect existing resources or data​ and you will only be charged for usage used beyond the free tier limits.

    For Nonprofit Azure Sponsorship ($2,000 USD annual grant available) : https://learn.microsoft.com/en-us/industry/nonprofit/microsoft-for-nonprofits/claim-activate-nonprofit-azure-grant and non-profit FAQ :https://www.microsoft.com/en-us/nonprofits/faq

    Additionally, you can check here below :

    az account show --query "{Name:name, SubscriptionId:id, State:state}"
    

    Check for ACR SKU: (Azure Container Registry service tiers-https://learn.microsoft.com/en-us/azure/container-registry/container-registry-skus )

    az acr show --name <your created registryname> --resource-group <yourresorcegroupname> --query sku.name
    

    If it is under SKU Basic it needs to be upgraded either to Standard or Premium using:

    az acr update --name <yourregistryname> --sku Standard
    

    At least please see if the AcrPush role should be assigned. Additionally, the service principal or managed identity you are using should have either the Contributor or both AcrDelete and AcrPush roles.

    please refer the documentation : Azure Container Registry Entra permissions and role assignments overview https://learn.microsoft.com/en-us/azure/container-registry/container-registry-rbac-built-in-roles-directory-reference?tabs=registries-configured-with-rbac-registry-abac-repository-permissions

    Authenticate with an Azure container registry : https://learn.microsoft.com/en-us/azure/container-registry/container-registry-authentication?tabs=azure-cli

    Kindly let us know if the suggested steps helps or you need further assistance on this issue. Additionally reached for few details via private messages

    Regards

    Himanshu

    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.