Managed Identity fails on pipeline deploy but not Maven deploy

Eldridge, Daniel 1 Reputation point
2021-04-14T12:16:44.28+00:00

I have an app service with an identity that connects to an azure sql instance.
I deploy to it directly from my dev machine with maven azure-webapp:deploy.
It connects to the db fine, everything works.
I deploy to it through the azure release pipeline and it always fails with
"MSI Token failure: Failed to acquire token from MSI Endpoint" when connecting to the db.
Not sure how to debug.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,368 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Eldridge, Daniel 1 Reputation point
    2021-05-04T13:47:37.41+00:00

    I worked around it, thank you.

    0 comments No comments