Container app with a managed identity exposes the identity endpoint by defining two environment variables:
IDENTITY_ENDPOINT - local URL from which your container app can request tokens.
IDENTITY_HEADER - a header used to help mitigate server-side request forgery (SSRF) attacks. The value is rotated by the platform.
But the IDENTITY_ENDPOINT variable is not present inside the container:
Container app with a managed identity exposes the identity endpoint by defining two environment variables:
IDENTITY_ENDPOINT - local URL from which your container app can request tokens. IDENTITY_HEADER - a header used to help mitigate server-side request forgery (SSRF) attacks. The value is rotated by the platform.
But the IDENTITY_ENDPOINT variable is not present inside the container:
Also, looks like the auth endpoint that works is the regular metadata endpoint:
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.