While creating a new resource Service Plan Web APP with Container, while choosing option Image Source from Azure Container Registry (ACR) and selecting docker image I was receiving error Cannot perform credential operations for /subscriptions/9e22xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/vcloud-lab.com/providers/Microsoft.ContainerRegistry/registries/testvault0007 as admin user is disabled. Kindly enable admin user as per docs: https://docs.microsoft.com/en-us/azure/container-registry/container-registry-authentication#admin-account.
To resolve this issue go to the Azure Container Registry, in the Access Keys click check box on Admin user (If activated, you can use the registry name as username and admin user access key as password to docker login to your container registry.). Try creating Web App resource again. This time it will be succeeded.
Just for additional information once Web App is created successfully using ACR container, Inside the Environment variables >> App settings you will se some auto variables connections are already created to connect to Azure container docker registry. Below are the Names and definition.
DOCKER_REGISTRY_SERVER_PASSWORD | ACR Access Keys Admin user password |
---|---|
DOCKER_REGISTRY_SERVER_URL | ACR Login Server |
DOCKER_REGISTRY_SERVER_USERNAME | Name of the Azure container registry |
WEBSITES_ENABLE_APP_SERVICE_STORAGE |
Useful Articles
Ansible selectattr The error was TemplateRuntimeError no test named 'equalto'
ansible create an array with set_fact
Ansible get information from esxi advanced settings nested dictionary with unique keynames
Install Ansible AWX Tower on Ubuntu Linux
Ansible AWX installation error Cannot have both the docker-py and docker python modules
Ansible AWX installation error docker-compose run --rm --service-ports task awx-manage migrate --no-input
docker: Got permission denied while trying to connect to the Docker daemon socket
Ansible AWX Tower create Manual SCM (Source Control Credential Type) project
Reset Ansible AWX Tower admin password
Install Ansible AWX on Microsoft Windows OS
Step by Step Install Ansible on Ubuntu OS
Install Ansible AWX Tower on Ubuntu Linux OS
Ansible AWX Tower Github inventory integration | Github inventory source