Azure Container Registry auth failure when using Managed Identity · Issue #425 · dotnet/sdk-container-builds (original) (raw)

A user reported failures when attempting to use our tools when logged in to ACR via a managed identity via an Azure Devops-Managed Service Connection. We should verify/fix that Managed Identity authentication works.

I did a bit of digging into why/how managed identities work to try and triage this. After digging into the user's report, we aren't failing fetching the credentials, but we are failing during actual auth. I'm not able to get insight into the value of the token/auth that's retrieved.

Useful links:

We should investigate this logic and try to set up a test suite for Managed Identity support.