ACR Tasks requests for the registry learncnarg1 are not permitted

Alexandre Sacchetto 25 Reputation points
2024-11-24T14:31:03.5+00:00

When doing the exercise from "Ignite Challenge: Build AI apps with Microsoft Azure services" i receive the following messages when using my free trial subscription:

alexandre [ ~/mslearn-cloud-native-apps-express/src ]$ az acr build --registry $REGISTRYNAME --image expressimage .

Packing source code into tar to upload...

Uploading archived source code from '/tmp/build_archive_0c559ecbfddd4c4aad2adb16c74b4f4b.tar.gz'...

Sending context (28.281 KiB) to registry: learncnarg1...

(TasksOperationsNotAllowed) ACR Tasks requests for the registry $REGISTRYNAME and $SUBSCRIPTION are not permitted. Please file an Azure support request at http://aka.ms/azuresupport for assistance.

Code: TasksOperationsNotAllowed

Message: ACR Tasks requests for the registry $REGISTRYNAME and $SUBSCRIPTION are not permitted. Please file an Azure support request at http://aka.ms/azuresupport for assistance.

Target: request

This question is related to the following Learning Module

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,819 questions
{count} vote

Accepted answer
  1. Harshitha Jannapu 605 Reputation points Microsoft Vendor
    2024-11-25T07:12:19.14+00:00

    Hi Alexandre Sacchetto,
    Thank you for reaching out to us on the Microsoft Q&A forum.

    The error message you are encountering, "ACR Tasks requests for the registry learncnarg1 are not permitted," typically indicates that there are restrictions related to your subscription type. Since you are using a free trial subscription, there are certain limitations on what operations can be performed with Azure Container Registry.
    we tried from our end, and it is working please find the required screenshots attached for your reference.
    User's image User's image When using an Azure Free Trial, you may encounter limitations on various features, including ACR Tasks. If you're on a free trial, think about switching to a Pay-As-You-Go or another paid subscription to unlock full access to all Azure services.

    Also consider it with the East US region, as it worked for us. Sometimes, errors can occur with different regions, so we recommend trying with East US as suggested.

    If you have any further questions or need additional assistance, please feel free to reach out. We're here to help!

    If you have found the answer provided to be helpful, please click on the "Accept answer/Upvote" button so that it is useful for other members in the Microsoft Q&A community.


0 additional answers

Sort by: Most 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.