ACR Error: ACR tasks requests for registry "readitjkacr" are not permitted.

jameel khan 0 Reputation points
2024-10-05T06:15:09.09+00:00

Screenshot 2024-09-26 203302

Hi, I'm keep getting this error no matter what I do, I am in the middle of learning and cannot pass this step, please can someone help me fix this issue.

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

1 answer

Sort by: Most helpful
  1. Vinodh247 32,186 Reputation points MVP
    2024-10-05T09:06:19.1733333+00:00

    Hi jameel khan,

    Thanks for reaching out to Microsoft Q&A.

    The error you are seeing, "ACR tasks requests for the registry are not permitted", indicates that ACR tasks are not allowed for the specified registry. This usually happens because of one of the following reasons:

    1. The account or service principal you're using may not have the necessary permissions to perform ACR tasks, such as build or push. Ensure that the account you are using has the correct azure role assigned, such as "Azure Container Registry Contributor" or "Owner."
    2. The ACR instance (readitjkacr in your case) might not have ACR tasks enabled. Ensure that the registry is configured to allow tasks.
    3. If you are using a free tier ACR instance, tasks might be restricted. You may need to upgrade to a higher SKU (ex., Basic, Standard, or Premium) to enable ACR tasks.

    Please 'Upvote'(Thumbs-up) and 'Accept' as an answer if the reply was helpful. This will benefit other community members who face the same issue.

    1 person found this answer helpful.
    0 comments No comments

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.