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

Cost API fails if using a Microsoft Sponsored Subscription or Azure Cost API is disabled #4318

Open
West-P opened this issue Feb 5, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@West-P
Copy link

West-P commented Feb 5, 2025

Currently if you are using a Microsoft Sponsored Subscription or a CSP based subscription, the cost reporting element of Azure's cost API is locked down and delegated to either the Partner Portal or the CSP provider's cost reporting tool.

There is an expected error that appears on the TRE UI:

Image

However, this error can be ignored and you can press the x on the drop down to dismiss the error.
The dismissing of the error is not cached and every new page of the UI loaded presents the error again, regardless of how many times you have dismissed it.

For the subscriptions hosting these TREs it is unlikely the access to the cost API will be enabled so caching the dismissing of the error would be useful even if it times out after a few hours to prevent a constant red error box appearing.

Perhaps even an option in the config to disable the cost part of the TRE if it is known the cost reporting will not work in certain instances.

@West-P West-P added the bug Something isn't working label Feb 5, 2025
@marrobi
Copy link
Member

marrobi commented Feb 6, 2025

I think an option in the config to disable cost reporting API routes and remove from the UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants