Is your Azure DevOps agent self-hosted on a virtual machine?
Did you enable a managed Identity for the VM and then give that identity RBAC on your ACR?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I had created Docker Registry Service Connection on Azure DevOps to use MSI as authentication type. However, it does not able to access the ACR. If to use 'Others' or SPN as authentication type, the issue will not happen.
Error Message:
##[error]Unhandled: Could not fetch access token for Managed Service Principal. Please configure Managed Service Identity (MSI) for virtual machine 'https://aka.ms/azure-msi-docs'. Status code: %s, status message: %s
Is your Azure DevOps agent self-hosted on a virtual machine?
Did you enable a managed Identity for the VM and then give that identity RBAC on your ACR?