[QUERY] DefaultAzureCredential not working on an Azure Arc enabled Windows Server #47647
Labels
Azure.Identity
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Library name and version
Azure.Identity 1.13.1
Query/Question
Hi there
I have an arc enabled WIndows Server 2022.
Im using DefaultAzureCredential and trying to use the Azure assigned managed identity to Authenticate to Azure key vault (and also azure storage at some stage)
I've populated the environment variable AZURE_CLIENT_ID + AZURE_TENANT_ID with the Id of this managed identity and you can see the other related environment variables
But on starting the windows service I just get:
AuthenticationFailedException. User assigned managed identity is not supported by the detected managed indentity environment
SO confused - I thought this was supported in Arc enabled servers? If this is not the way to do it in the Porgram startup, then how is it done? Im trying to not use the AZURE_CLIENT_SECRET
Environment
No response
The text was updated successfully, but these errors were encountered: