Hi Oscar Buse,
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
As mentioned in this document, ACR is temporarily pausing ACR Tasks runs from Azure free credits. az acr build command works after converting my subscription to pay as you go.
As a work around please try the below and see if that helps.
Work around using docker CLI commands:
- Login to the ACR using
az acr login -n $ACRNAME -p <password>
- Tag the image first-
docker tag <image name>:latest <ACR registry name>.azurecr.io/<image name>
- Push the image to ACR from docker -
docker push <ACR registry name>.azurecr.io/<image name>
The images will now appear in your ACR -
az acr repository list --name $ACRNAME --output table
Similar issues reported, Ref: https://learn.microsoft.com/en-us/answers/questions/1530524/how-to-fix-(tasksoperationsnotallowed)-acr-tasks-r
Let me know if you have any further queries!
If the comment is helpful, please click "upvote" or tag me in the comments section.