Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Azure Web App Containers Cannot perform credential operations for providers Microsoft.ContainerRegistry ad admin user is disabled, enable it

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.

Microsoft Azure Devops web app service plan container azure container registry cannot perfom credential operations admin user is disabled review create enable docker hub other registries docker compose preview.png

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.

Microsoft Azure Container registry ACR Access keys settings eanble admin user password encryption networking identity devops configuration web apps service plan azure.png

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  

Microsoft Azure Container Registry Azure web apps service plan environemnt variable DOCKER_REGISTRY_SERVER_PASSWORD url username storage configuration authentication application insights.png

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

Go Back

Comment

Blog Search

Page Views

12378746

Follow me on Blogarama