Share via

Deploy an image to ACR with error

Loizos 20 Reputation points
2026-03-19T09:40:24.54+00:00

I am trying to deploy an image to ACR with error: ACR Tasks requests for the registry <personal info>

Azure Container Registry
Azure Container Registry

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

0 comments No comments

Answer accepted by question author
  1. Himanshu Shekhar 5,225 Reputation points Microsoft External Staff Moderator
    2026-03-19T10:40:49.7+00:00

    Loizos - The error (TasksOperationsNotAllowed) ACR Tasks requests for the registry are not permitted indicates that Azure Container Registry Tasks are not allowed for your current subscription or registry configuration.

    The az acr build command relies on ACR Tasks, and this error is raised when Tasks cannot be executed.

    1. ACR Tasks are not supported on Free Trial, Azure for Students, or credit‑only subscriptions.

    In these subscriptions, ACR Task executions (including az acr build) may be temporarily restricted.

    Please Upgrade the subscription to Pay‑As‑You‑Go, then retry the command.

    1. ACR Tasks are supported only on Standard or Premium SKUs.

    If the registry is using Basic SKU, Tasks are not permitted.

    Please upgrade the Container Registry SKU to Standard or Premium.

    1. Permissions (paid subscription only)

    The identity executing the command must have appropriate permissions on the registry.

    Required role: AcrPush (minimum) or Contributor on the ACR resource

    Supported workaround (if Tasks cannot be used)

    If upgrading the subscription or SKU is not currently possible, you can build the image locally and push it directly to ACR, which does not use ACR Tasks:

    # Build image locally
    docker build -t loizosworldtrip.azurecr.io/myimage:tag .
    # Authenticate to ACR
    az acr login --name loizosworldtrip
    # Push image
    docker push loizosworldtrip.azurecr.io/myimage:tag
    

    This method bypasses ACR Tasks and works even when Tasks are restricted.

    If you have any further queries, let me know. If the information is helpful, please click on Upvote and Accept Answer on it.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. SUNOJ KUMAR YELURU 18,171 Reputation points MVP Volunteer Moderator
    2026-03-19T09:49:23.3+00:00

    Hello @Loizos,

    The error message you encountered while trying to deploy an image to Azure Container Registry (ACR) indicates that there may be issues with permissions or configuration.

    Specifically, the error “ACR Tasks requests for the registry <registry_name> and <task_id> are not permitted” suggests that the managed identity associated with your deployment does not have the necessary permissions to access the ACR.

    To resolve this, ensure that the managed identity has the AcrPull role assigned to it. This role is required for pulling images from the ACR. You can grant this role by following the instructions in the Azure documentation on granting identity permissions to access other Azure resources.

    Additionally, verify that your ACR is healthy and that there are no issues with authentication by checking the health of your Azure container registry.


    If this answers your query, do click Accept Answer and Up-Vote for the same. And, if you have any further query do let us know.

    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.