I am logged in to Azure cli installed in wsl2 default ubuntu newly installed in a fresh windows 11 using an account with "roleDefinitionName": "Owner".
I am trying to follow some Microsoft tutorials about Azure container apps. Whenever I try to use az acr build or az containerapp up I get the error TasksOperationsNotAllowed. I have tried to log in to ACR using the enabled admin account as well, but same error.
The only way I can get images into acr is by first building them locally with docker and then tagging them to include the full name of the registry and then push (not completely sure if I must also use acr admin account for it to work).
Most of these Microsoft tutorials include only the az acr commands that give rise to the TasksOperationsNotAllowed error.
I use miniconda on my machine and had troubles installing azure cli any other way but into wsl ubuntu as I got a pip error when trying to install extensions for azure cli. I could use Azure powershell instead of azure cli, but many tutorials only give commands in azure cli format.
I have googled this and asked chatgpt but can not find a solution to allow az acr build to work from my setup.
Grateful for any help with this