Get-FinOpsService Gets the name and category for a service, publisher, and cloud provider to support FinOps Open Cost and Usage Specification (FOCUS).

Syntax Examples

On this page

The Get-FinOpsService command returns service details based on the specified filters. This command is designed to help map Cost Management cost data to the FinOps Open Cost and Usage Specification (FOCUS) schema but can also be useful for general data cleansing.

Both ConsumedService and ResourceType are required to find a unique service in many cases.


🧮 Syntax

Get-FinOpsService `
    [[-ConsumedService] <string>] `
    [[-ResourceId] <string>] `
    [[-ResourceType] <string>] `
    [-ServiceName <string>] `
    [-ServiceCategory <string>] `
    [-ServiceModel <string>] `
    [-Environment <string>] `
    [-PublisherName <string>] `
    [-PublisherCategory <string>]


📥 Parameters

Name Description
‑ConsumedService Optional. ConsumedService value from a Cost Management cost/usage details dataset. Accepts wildcards. Default = * (all).
‑ResourceId Optional. The Azure resource ID for resource you want to look up. Accepts wildcards. Default = * (all).
‑ResourceType Optional. The Azure resource type for the resource you want to find the service for. Default = null (all).
‑ServiceName Optional. The service name to find. Default = null (all).
‑ServiceCategory Optional. The service category to find services for. Default = null (all).
‑Servicemodel Optional. The service model the service aligns to. Expected values: IaaS, PaaS, SaaS. Default = null (all).
‑Environment Optional. The environment the service runs in. Expected values: Cloud, Hybrid. Default = null (all).
‑PublisherName Optional. The publisher name to find services for. Default = null (all).
‑PublisherCategory Optional. The publisher category to find services for. Default = null (all).


🌟 Examples

Get a specific region

Get-FinOpsService `
    -ConsumedService "Microsoft.C*" `
    -ResourceType "Microsoft.Compute/virtualMachines"

Returns all services with a resource provider that starts with “Microsoft.C”.



  • 🏦 FinOps hubs – Open, extensible, and scalable cost reporting.
  • 📊 Power BI reports – Accelerate your reporting with Power BI starter kits.
  • 🌐 Open data – Data available for anyone to access, use, and share without restriction.



This site uses Just the Docs, a documentation theme for Jekyll.