microsoft / microsoft/ARI

[Bug]: Inconsistent report in cost management - subscriptions missing

Open
#406 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PowerShell
Stars
1.7k
Forks
514
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
The Excel report does not contain all subscriptions consumption = some subscriptions are missing in the report

To Reproduce
It is different subscriptions missing, but there is always subscriptions missing. The error is experienced by multiple users. invoke-ari -tenant xxx -SecurityCenter -SkipVMDetails -IncludeCosts -lite -SkipPolicy -skipdiagram^C

Expected behavior
Normally the report sums up all subscriptions in the tenant.
During the process I can see ARI process all subscriptions in the prompt, but in the report, they are not all there.

Screenshots
If applicable, add screenshots to help explain your problem.

Image Image Image

Environment
ARI run on W11 laptop on VS Code.
ARI was installed a year ago and has been regular updated

Azure cloud special setting
No, nothing special

Additional context
Have been running the ARI report for a couple of years without any problems.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with invoke-ari -tenant xxx -SecurityCenter -SkipVMDetails -IncludeCosts -lite -SkipPolicy -skipdiagram and compare the subscriptions shown during processing with those in the Excel report. Trace the cost-management report generation and identify why processed subscriptions are omitted. Done means the report includes all subscriptions in the tenant.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
cloud, data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.