Closed ReneRebsdorf closed 3 months ago
@ReneRebsdorf please check the dev branch and follow the release notes guidance to test the discussed approach for consumption data
Worked with Julian on a call, issue is still present I will hopefully have time next week to look into this, and suggest a fix.
@ReneRebsdorf main problem should be solved - good to close?
I will check against main next week, but should be good 😊
LGTM - Verified working with a mixture of MSDN and CSP subscriptions
AzGovViz version master branch commit 69e5b56
CodeRunPlatform Azure DevOps
Describe the bug For a management group with two different subscriptions of type MSDN & CSP, we will successfully get data when quering the management group for cost details, as it will return it for the MSDN subscription. It will however not return the data for the CSP subscription.
In discussion Julian suggested batching in grouped by quotaId - and as last option foreach subscription For a quick workaround I suggested implementing a forceForEachSubscriptionMode parameter, but I agree that batching by quotaId would definately be better, as it allows for batching as much as possible in fewer REST calls.
The unreviewed code for forceForEachSubscriptionMode: