webdevops / azure-metrics-exporter

Azure Monitor metrics exporter for Prometheus with dimension support, template engine and ServiceDiscovery
MIT License
118 stars 24 forks source link

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

Closed manjulasv99 closed 2 months ago

manjulasv99 commented 2 months ago

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 commented 2 months ago

@mblaschke @jkroepke @ruben-rodriguez @sfairat15 @kgeckhart @j-sokol @tesharp

Tagging contributors to bring this in notice .

Thanks in advance