hello SD,
Thanks for your question.
This looks like a subscription issue. It usually happens if you have a student or Free trial Subscription.
You can attempt this workaround:
- 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
This information is detailed in a similar thread here: https://learn.microsoft.com/en-us/answers/questions/1530524/how-to-fix-(tasksoperationsnotallowed)-acr-tasks-r
Please let me know if you have further questions**
You can mark it 'Accept Answer' if this helped.