Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does --billing-account actually work? #195

Open
DanielSpindler83 opened this issue Feb 11, 2025 · 3 comments
Open

How does --billing-account actually work? #195

DanielSpindler83 opened this issue Feb 11, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@DanielSpindler83
Copy link
Contributor

DanielSpindler83 commented Feb 11, 2025

My billing account id is alpha numeric as per https://learn.microsoft.com/en-us/azure/cost-management-billing/manage/view-all-accounts

The variable used is an integer?
public int? BillingAccountId { get; set; }

Perhaps we are not talking about the same billing account id?

Thanks,

Daniel

Copy link

welcome bot commented Feb 11, 2025

Thanks for opening your first issue! Reports like these help improve the project!

@flanakin
Copy link

If it only supports numeric billing accounts, then this is probably designed for EA accounts, which have numeric IDs. MCA accounts have more complex strings.

In theory, this should be a fairly simple change to support a string, but please do note that some dimensions in Query API are different between EA and MCA.

@mivano
Copy link
Owner

mivano commented Feb 18, 2025

The tool does not yet take MCA accounts into account. Which is tricky, as I do not have access to such an account and need to see how I can support the multiple types of accounts.

@mivano mivano added the enhancement New feature or request label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants