Encountering InvalidImageRegistryPassword when attaching Log Analytic Workspace to my Container Instance

Jorgen Josef Martin (SRE) 0 Reputation points
2025-03-13T05:55:02.8566667+00:00

I cannot attach my Log Analytic Workspace to my Azure Container Instance

Error shown below

The password in the 'imageRegistryCredentials' of container group 'my-container' cannot be empty.

My container is still running and pulling images successfully in my ACR.

upon using the command for getting imageregistry credentials it shows that the password is "null"
Is there a way to resolve this with redeploying the container

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
751 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Akshay kumar Mandha 2,915 Reputation points Microsoft External Staff
    2025-03-17T06:07:02.5966667+00:00

    Hi Jorgen Josef Martin (SRE),
    Thanks for information.
    Could you please check that the Azure Container Registry ACR in Subscription B is accessible from the Azure Container Instance in Subscription A. Assign the AcrPull role to the Managed Identity of the container in Subscription A for the ACR in Subscription B. from subscription a to subscription b

    https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/containers

    once again re apply managed Identity or switching to a user Assigned Managed Identity


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.