opencost icon indicating copy to clipboard operation
opencost copied to clipboard

Azure Pricing Configuration: Assign the billing EnrollmentReader role to a service principal

Open sikapoor-sid opened this issue 1 year ago • 1 comments

Azure Pricing Configuration: Assign the billing EnrollmentReader role to a service principal

Issue: Failed to refresh the Token for request to https://management.azure.com/subscriptions//providers/Microsoft.Commerce/RateCard?%!f(MISSING)i

Error in pricing download query from API

To Reproduce Steps to reproduce the behavior: https://www.opencost.io/docs/configuration/azure#azure-pricing-configuration

values.yaml:

Image

Pod-logs

Image

sikapoor-sid avatar Feb 05 '25 06:02 sikapoor-sid

@sikapoor-sid what kind of account is this? Can you share your azure service key? Seems like there are two possible clients in the key provided? https://github.com/Azure/aad-pod-identity/issues/1152

AjayTripathy avatar Feb 20 '25 20:02 AjayTripathy