How do I enable ACR Tasks requests for my container registry and cloudshell instance

Michael Spragg 5 Reputation points
2024-12-17T01:36:41.88+00:00

I'm following a tutorial (https://learn.microsoft.com/en-us/training/modules/cloud-native-apps-orchestrate-containers/3-exercise-create-aks-instance#code-try-0) and hit an issue when trying to build a container. I suspect it's something to do with how cloudshell is configured. I've checked and cloudshell is registered, and I re-registered it before running the command again.

This is the command and the log entries relating to it:

michael [ ~/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_e30487a1486d4d7eb7469fd98009947b.tar.gz'...

Sending context (28.322 KiB) to registry: learnakscna...

(TasksOperationsNotAllowed) ACR Tasks requests for the registry learnakscna and 8134809e-7d6f-4ad8-bb6f-81cfa0656fd6 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 learnakscna and 8134809e-7d6f-4ad8-bb6f-81cfa0656fd6 are not permitted. Please file an Azure support request at http://aka.ms/azuresupport for assistance.

Target: request

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

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.