azure-metrics-exporter icon indicating copy to clipboard operation
azure-metrics-exporter copied to clipboard

Error Starting Metrics Exporter: Multiple user assigned identities exist, please specify the clientId

Open manjulasv99 opened this issue 1 year ago • 0 comments

I was successfully running the Azure Metrics Exporter In AKS Cluster. All of a sudden, i see below error

{"level":"fatal","caller":"azure-metrics-exporter/main.go:103","msg":"DefaultAzureCredential authentication failed\nGET http://169.254.169.254/metadata/identity/oauth2/token\n--------------------------------------------------------------------------------\nRESPONSE 400 Bad Request\n--------------------------------------------------------------------------------\n{\n \"error\": \"invalid_request\",\n \"error_description\": \"Multiple user assigned identities exist, please specify the clientId / resourceId of the identity in the token request\"\n}\n--------------------------------------------------------------------------------\n","stacktrace":"main.initAzureConnection\n\t/go/src/github.com/webdevops/azure-metrics-exporter/main.go:103\nmain.main\n\t/go/src/github.com/webdevops/azure-metrics-exporter/main.go:63\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:267"}

Can someone help me with this on how to fix this issue ?

manjulasv99 avatar May 06 '24 07:05 manjulasv99