Skip to content

[Cost Management] FOCUS ServiceName is missing in some scenarios #1569

@flanakin

Description

@flanakin

🐛 Problem

FOCUS ServiceName is empty for the following scenarios:

  • Marketplace purchases (EA)
  • Savings plan purchases (MCA)
  • Rounding adjustments (MCA)
  • Reservation purchases (MCA)
  • MACC shortfall (MCA)
  • Azure credits (MCA)

👣 Repro steps

  1. Export FOCUS data from Cost Management
  2. Filter rows where ServiceName is empty

🤔 Expected

ServiceName should have a value

ℹ️ Additional context

The following query identifies known scenarios:

Costs
| where isempty(ServiceName)
| project-reorder ChargeCategory, PublisherName, x_PublisherCategory, CommitmentDiscountType, x_SkuDescription, SkuId, SkuPriceId, x_SkuDetails, x_SkuServiceFamily, x_SkuMeterCategory, x_SkuMeterSubcategory, x_SkuMeterName
| extend scenario = case(
    ChargeCategory == 'Purchase' and x_PublisherCategory == 'Vendor', 'Marketplace purchase',
    ChargeCategory == 'Purchase' and isnotempty(CommitmentDiscountType), strcat(CommitmentDiscountType, ' purchase'),
    x_SkuDescription in ('RoundingAdjustment', 'Azure credits', 'MACC Shortfall'), x_SkuDescription,
    ''
)
| summarize count(), max(ChargePeriodStart) by scenario, x_BillingAccountAgreement | order by count_ desc

🙋‍♀️ Ask for the community

We could use your help:

  1. Please vote this issue up (👍) to prioritize it.
  2. Are there any additional scenarios that you are seeing ServiceName empty in FOCUS data?
  3. Leave comments to help us solidify the vision.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution: ExternalIssue is external to the FinOps toolkitResolution: Support requestExternal issue that requires assistance from Microsoft SupportTool: Cost ManagementExternal issues related to Microsoft Cost ManagementType: Bug 🐛Something isn't working

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions