Occasionally receiving errored request from Managed Identity end points to receive token for Azure connected services

Jarod Keene 0 Reputation points
2025-12-02T17:40:30.8033333+00:00

The Azure Instance Metadata Service (169.254.129.2-4 from IDENTITY_ENDPOINT) fails on request occasionally when we use Azure.Identity Nuget package to grab tokens for Managed Identity. This is the type of error logging we see when this happens:User's image

This will usually correct itself with hard resets or randomly on its own but it will still cause 10-20 minutes of downtime on our platform and needs to be constantly monitored.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
{count} votes

Your answer

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