PowerShell 7 Azure Az Modules License: MIT Status: unofficial preview

Formerly the Azure FinOps Multitool. The tool is now called FinOps Explorer, and its public repository, z-larsen/FinOps-Explorer, is the terminal UI, so that's what this post covers. Earlier versions of this post also described a Windows GUI and an MCP server. Neither is part of the public repository, so I've dropped them here. Scripts that call Start-FinOpsMultitool keep working through a backward-compatible wrapper.

I built this tool out of a recurring pattern I kept seeing while working with customers across industries: organizations knew they had Azure cost challenges but had no quick way to get a clear picture of where they stood. Every engagement started with the same manual effort: piecing together cost data, chasing down tagging gaps, and trying to size optimization opportunities across subscriptions. FinOps Explorer is my answer to that problem, built to solve the "cold start", helping teams quickly understand their current FinOps posture and identify immediate optimization opportunities without the usual setup overhead.

What Is FinOps Explorer?

FinOps Explorer is a terminal UI (TUI) that runs interactive, read-only FinOps scans against your Azure subscriptions. You sign in, pick a tenant and scope, choose where cost data comes from, and select from 26 scans that cover cost drivers, resource inventory, governance, commitments, and optimization findings. When the run finishes, you get a local report: an HTML summary, one CSV per scan, and a text summary.

It's built for a scoped assessment, a focused working session or the first week of an engagement. It complements the ongoing reporting you already have in Cost Management, Power BI, and FinOps hubs. It doesn't replace their ingestion pipelines, and it doesn't watch your environment between runs.

A few things to know up front:

  • It's an unofficial preview. This is a standalone snapshot of the terminal UI, not an official Microsoft release. Preview status doesn't imply production support or complete live-data validation.
  • The scans are read-only. They read Azure data and write local reports. They don't apply recommendations or change your resources.
  • Windows is the documented launch path. You need PowerShell 7 (pwsh), not Windows PowerShell 5.1. Native Linux and macOS operation hasn't been verified for this snapshot.

The first prompt gives you two modes: run the scans, or open the pre-credit forecast (more on that below).

FinOps Explorer startup with the banner and a prompt to choose between scans and the pre-credit forecast.
The startup screen. Option 1 runs the scans, option 2 opens the forecast.

Why Use It?

There's no platform to set up and no dashboard to build first. Run it once against a scope you choose, and you get a real picture of costs, tagging gaps, orphaned resources, and optimization opportunities in one local report.

If you're new to FinOps, it's a practical starting point before you invest in heavier tooling: it shows you what to look at and gives you something concrete to act on. If you're already doing FinOps work, it's useful for quick cross-subscription spot checks and for sizing up opportunities before an engagement.

How a Run Works

Every run follows the same six steps, from Azure sign-in to a local report.

  1. Authenticate. It reuses an Az.Accounts session or signs you in. Interactive startup lists the tenants you can reach by name, never by ID, and you can type part of a name to narrow the list, so you pick the right customer before anything is read.
  2. Set scope. Choose one subscription or the accessible subscriptions in the selected tenant. An explicit -SubscriptionId must resolve in that tenant. If it doesn't, the run stops rather than searching other tenants or widening the scan.
  3. Choose a data source. Cost data can come from a FinOps hub, a Cost Management export, or the Cost Management API.
  4. Collect. The selected scans run one after another, and required dependencies are enabled automatically.
  5. Interpret. Results come with currency, period, coverage, and KPI context, plus guidance colored by severity.
  6. Export locally. Each run writes a new private folder on your machine. Nothing is uploaded.
FinOps Explorer workflow: authenticate, set scope, choose a data source, collect read-only scan results, interpret findings, and export reports locally.
From Azure sign-in to a local report.

Where the Cost Data Comes From

The data source decides where the supported cost scans read their data. It doesn't replace Azure sign-in or the permissions the other scans need, and the inventory and metrics scans query Azure directly whichever source you pick.

Your starting point Pick this What to expect
A FinOps hub on Azure Data Explorer or a Fabric Eventhouse FinOps Hub, with the query endpoint configured Cost queries aggregate in the database, and only summaries come back to PowerShell
A FinOps hub with storage only FinOps Hub, using the storage reader Reads Parquet or CSV into local memory, so it's meant for small datasets
Cost Management CSV or CSV.gz exports in Azure Storage, no hub Cost Management exports (-DataSource Export) Reads the one export you choose and labels partial coverage
Parquet exports or downloaded files Not supported by the export source Use a FinOps hub to read Parquet
No hub and no exports Cost Management API (-DataSource API) Queries Cost Management directly, so costs can lag usage and throttling can stretch the run
Only inventory and governance checks Resource Graph only (-DataSource GraphOnly) Skips the cost-dependent scans. Azure Monitor, Advisor, and Policy scans still run

The hub paths line up with Microsoft's own guidance. The FinOps hubs tutorial recommends adding Azure Data Explorer or Fabric once you're monitoring more than $100,000 in total spend, and reading from storage is discouraged for performance reasons. I cover what the hub template deploys in Setting Up a FinOps Hub.

One design rule matters more than any single feature: no silent source switching. An explicit -DataSource Hub never falls back to the API, a failed export read never swaps in live costs, and a failed Kusto query is reported as a failure. If a hub can't be verified during automatic discovery, the tool warns and then lets you choose the API or Resource Graph only (an unattended -NonInteractive run defaults to the API). You always know which source produced a number.

Reading a Hub in Fabric or Azure Data Explorer

If a hub already feeds a Data Explorer cluster or a Fabric Eventhouse, point Explorer at its KQL database and let the database do the aggregating:

  1. Ask the hub owner for the HTTPS query endpoint, the database name, and database Viewer (or equivalent) access. Confirm the endpoint is reachable from your machine.
  2. For Fabric, open the KQL database and copy the Query URI from the Database details card. Don't use the Ingestion URI, a workspace sharing link, or a SQL endpoint. See Access an existing KQL database on Microsoft Learn.
  3. Set the endpoint and database, then start a Hub run. Use the database that exposes the Costs function (Hub by default), not the raw Ingestion database.
$env:FINOPS_HUB_KUSTO_URI = 'https://<your-query-host>'
$env:FINOPS_HUB_KUSTO_DB  = 'Hub'
Start-FinOpsExplorer -SubscriptionId $subscriptionId -DataSource Hub -Scans $scanNames

Cost Data, Resource Costs, and Cost by Tag then use summaries calculated in Kusto, and the raw cost dataset never downloads into PowerShell. Two caveats: the summaries are anchored to the latest month in the database, so check the dates rather than assuming they cover today, and AI Workload Metrics isn't supported on the Kusto path.

That makes Explorer a good fit for teams that already ingest FinOps data into a Fabric Eventhouse. You don't need a separate Data Explorer cluster just for this tool, and ingestion, retention, and normalization stay in the pipeline you already run. Explorer doesn't discover Fabric workspaces on its own, so configure the endpoint explicitly. And Fabric ingestion alone isn't enough: data held only in a Lakehouse, Warehouse, OneLake files, or a Power BI semantic model isn't a direct input. Explorer needs a reachable Kusto query endpoint with the expected Costs schema, and it doesn't create an Eventhouse or transform arbitrary tables. Microsoft's Fabric setup for FinOps hubs walks through the upstream setup.

Reading a Storage-Only Hub

Without a Kusto endpoint, Explorer can read a hub's storage account instead. It needs Storage Blob Data Reader (or equivalent) on that account and a network path to it. It reads Parquet from the hub's ingestion container, or uncompressed CSV from msexports when Parquet isn't available, and aggregates the rows locally in PowerShell. That's a convenience path for small datasets, not the scalable one. For anything large, aggregate in Data Explorer or Fabric.

Starting from a Cost Management Export

No hub? If Cost Management already writes CSV exports to a storage account, Explorer can read those directly:

  • Pick the right dataset. Explorer accepts Cost and usage details (actual) or FOCUS exports. Per Microsoft Learn, the usage-only dataset leaves out purchase information, and the amortized dataset spreads reservation and savings plan purchases instead of showing what was billed. Explorer rejects both and tells you which one it found, because totals built on them would be understated or reshaped. It takes the dataset type from the run's manifest.json first, then from the export definition, and an export it can't classify is listed as type checked when read instead of being guessed.
  • Stick to CSV. It reads CSV and CSV.gz. Learn lists Parquet as an export format too, but Explorer doesn't parse it, so use a hub for Parquet.
  • Check access. You need Storage Blob Data Reader (or equivalent) on the storage account, plus a network path to it, such as a firewall rule or private endpoint.
  • Let it find the export. Discovery looks at export definitions for your subscriptions, their management group ancestors, and linked billing accounts, then at likely storage destinations, so you don't need to know a container name. You choose one export, and exports aren't combined. With more than 100 storage accounts it asks before scanning them all, and you can type the name of the one that holds your exports instead.
  • Reuse locations. Interactive runs remember export locations for the same cloud, tenant, account, and subscription set, so pressing Enter reuses the last one. It saves locations only, never cost data, keys, or tokens.
Start-FinOpsExplorer -SubscriptionId $subscriptionId -DataSource Export -Scans $scanNames

After the export loads, read the coverage note. It gives the export period and how many of your selected subscriptions returned rows. A subscription without rows is unverified, not zero cost. Charges with no subscription ID, such as purchases or refunds billed outside a subscription, aren't in subscription totals, and the note says so without showing amounts. CSV parts load into memory, and a part over 512 MB uncompressed stops the read, so very large exports belong in a hub with Kusto.

When you choose an export, the 15 scans it can feed are selected by default. The other 11, such as budgets, commitments, anomalies, and contract details, need the Cost Management or billing APIs. They're marked (live API) in the menu and stay off until you select them, and the report labels each one so you can tell export-based numbers from live ones.

Using the Cost Management API

With no hub and no export, -DataSource API queries Cost Management directly. It's the quickest way to get started, with two things to keep in mind. Cost Management refreshes its data about every four hours, so costs can lag usage. And the Query API throttles per tenant: Microsoft Learn documents quotas of 12, 60, and 600 query processing units per 10 seconds, per minute, and per hour, where a request costs roughly one unit per month of data queried, and it notes the quotas can change. Explorer honors the retry-after headers Cost Management returns, and it reports a throttled request as throttling, not as a missing permission. If you hit a long throttle window, let it expire before rerunning, narrow the scope, or move to an export or hub.

The 26 Scans

The scan menu groups them by category. All but one are selected by default: Billing Structure is left off.

Category Scans What they find
Optimization Orphaned Resources, Idle VMs, Storage Tier Advice, Legacy Resources, AHB Opportunities Unattached disks, NICs, and public IPs, stopped VMs, empty App Service plans, and old snapshots. Running VMs with low CPU and network use. Blob storage that could move to a cooler tier. Legacy and retiring SKUs. Windows and SQL candidates for Azure Hybrid Benefit
Governance Tag Inventory, Tag Recommendations, Policy Inventory, Policy Recommendations Every tag in use and its coverage, inconsistent casing and missing standard tags, policy assignments with scope and compliance, and gaps in cost-governance policy coverage
Cost Analysis Cost Data, Resource Costs, Cost by Tag, Cost Trend, Unit Economics Spend per subscription, top resources by cost, spend by tag, month-over-month trend, and cost per vCPU, GB of RAM, VM, and GB stored
AI & ML AI Workload Metrics Token consumption by model, AI spend, cost per 1K tokens, and cost per call
Commitments Reservation Advice, Commitment Utilization, Savings Realized Reservation and savings plan advice, utilization rates, and estimated (not measured) savings from commitments and Azure Hybrid Benefit
Monitoring Budget Status, Budget History, Anomaly Alerts Budget consumption against thresholds, completed-month cost against the current budget, and recent cost anomaly detections
Advisor Optimization Advice Azure Advisor cost recommendations
Sustainability Carbon Emissions Emissions, month-over-month change, a 12-month trend, and a per-subscription breakdown
Account Billing Structure, Contract Info, MACC Commitment Account hierarchy, agreement type, offer and support plan, and Microsoft Azure Consumption Commitment balance and drawdown
Scan selection menu grouped by category, with 25 of 26 scans selected and Billing Structure left off by default.
The scan menu from a demo run: 25 of 26 scans selected, with Billing Structure off by default.

A few of these deserve a note, because the wording in the report is deliberate. Findings are candidates for review, not verdicts:

  • Idle VMs flags running VMs averaging under 5% CPU and under 1 MB of network traffic per day over 14 days, and a second threshold catches underutilized ones. A VM with failed or missing measurements is left unevaluated, not called idle. The scan reads Azure Monitor metrics for up to 50 VMs per request, grouped by subscription and region, which is what the getBatch API allows. That batch read needs Monitoring Reader on the subscription (Learn is explicit that Monitoring Reader on the individual VMs isn't enough) and runs only in the Azure public cloud. If a batch is denied, fails, or leaves out a VM, Explorer reads those VMs one at a time, so coverage doesn't drop.
  • Storage Tier Advice uses 30 days of transaction and capacity metrics. Its recommendations are review candidates, not proof that a tier change will save money, so validate retrieval needs, eligibility, and retention charges first. My storage cost post covers those trade-offs.
  • AHB Opportunities are configuration candidates, not verified license entitlements. Check qualifying licenses with your licensing team before you enable the benefit.
  • Savings Realized keeps its original name for compatibility, but it reports estimates built on assumed effective discounts, not measured savings. Azure Cost Commitments explains how reservations, savings plans, and Hybrid Benefit actually stack.

Permissions

Each scan needs specific access, and Explorer names the missing role when a scan fails because of permissions. Subscription Reader alone doesn't grant billing access, and a 403 can come from a firewall or private endpoint as well as a missing role.

What you're scanning Role Scope
Inventory, governance, Advisor, and optimization scans Reader Subscription
Costs, resource costs, cost by tag, trend, commitments, budgets, and anomalies Cost Management Reader Subscription or management group
Commitment utilization, billing structure, contract info, and MACC A billing role for your agreement, such as an EA or MCA reader role Billing account or profile
Hub storage or CSV exports Storage Blob Data Reader Storage account
Hub Kusto database Database query access (Viewer) Hub database
Batched Idle VMs reads (optional) Monitoring Reader Subscription

Reading the Results

Each completed run saves a private, timestamped folder under %LOCALAPPDATA%\FinOpsToolkit\Explorer\Reports, or under the parent folder you pass with -OutputPath. Look for Exported to: in the terminal. The folder contains FinOpsReport.html, one CSV per selected scan, and ScanSummary.txt. Failed or empty scans get a CSV status record, so nothing silently disappears.

Cost by tag results in the terminal, with per-tag spend, untagged totals, FinOps KPIs, and allocation guidance, using fictional tag values.
Cost by Tag results from a demo run with fictional tag values: per-tag spend, untagged totals, FinOps KPIs, and guidance.

I read a report in this order:

  1. Start with the FinOps story. The HTML report opens with the tenant, selected scope, primary cost source, observed cost period, largest resource costs, scan status, and follow-up actions. Verify those first. A hub can hold more subscriptions than you selected, so don't present the run as a whole-hub audit.
  2. Check scan status before the big numbers. Data returned, Limited data, No data, and Failed each need different follow-up. Missing data isn't zero spend, and a high cost alone isn't evidence of waste.
  3. Use the KPI reference. The scans map to FinOps Foundation KPIs, and the report lists all 27 catalog entries, filterable by Computed, Unavailable, Not run, and Informational. Each entry shows its formula, required inputs, and limits. A computed KPI means a value was derived, not that it meets a universal target, and some values are estimates or proxies.
  4. Agree on a next action. The scans don't apply recommendations. Take the findings to the workload owner and decide together.

The report is a single self-contained HTML file with sortable, searchable, paged tables, and it makes no external requests for those controls. If you'd like to see one before you run anything, the repository includes a sample export built from synthetic data.

Forecasting Pre-Credit Cost and Workload Growth

The second mode answers a different question: where will this year's Azure spend land, and which workloads are driving it? It builds a fiscal-year forecast from your own Cost Management data: actuals to date plus the rest of the year as a central estimate with a sensitivity range, and an analysis of which workloads drove the growth. Choose Pre-credit forecast and workload growth at the first prompt, or start it directly:

. .\Public\Start-FinOpsForecast.ps1
Start-FinOpsForecast

Scripted runs that pass -NonInteractive, -Scans, or -DataSource skip that first prompt. A few design choices are worth knowing:

  • Amounts are pre-credit. That's cost before Azure credits and Azure Prepayment are applied: CostInBillingCurrency on EA, costInBillingCurrency on MCA, and BilledCost on FOCUS. The EA and MCA cost details schemas on Microsoft Learn define those columns as the cost of the charge in the billing currency before credits or taxes. Marketplace and tax are excluded by default, and Marketplace charges get their own section for tracking commitments.
  • It joins history across an agreement change. It reads EA, MCA, and FOCUS actual cost, and it can join EA and MCA history across a migration. A change between months on different agreements needs a review, because their prices can differ.
  • Three ways to read the history, fastest first. Cost Management exports (actual-cost or FOCUS CSV in storage, or a local copy) usually take minutes once they cover the months. Live reads through the Cost Details API at the billing account use one set of reports for every subscription and need an EA or MCA billing reader role. Live reads one subscription at a time are the slowest. Cost Details only supports EA and MCA scopes, so pay-as-you-go and Visual Studio subscriptions are turned down. With none of those, you can type in monthly totals from invoices.
  • The slow path is really slow. On one live tenant, 124 subscriptions over five months took 620 reports and 9.7 hours, about a minute per report. If exports already cover the months, use them. The portal can backfill exports up to 13 months, one month at a time, and the Exports REST API reaches further back.
  • Ready versus Preliminary. With 12 or more complete months the forecast can be Ready and is saved as a vintage, a frozen copy you can compare with later forecasts. With 3 to 11 months it's Preliminary: reported and clearly labeled, but never saved.
  • The method is simple on purpose. The central estimate uses the median month-over-month change in run rate. The sensitivity range uses the 25th to 75th percentile of historical changes (the lowest to highest change under 12 months). It shows how much the history varied. It is not a confidence interval.
  • It asks when the data is ambiguous. A new reservation, a month that starts partway through, or an EA-to-MCA move raises a review. You answer with a reason, and it asks again if the data changes. Purchases and renewals are scheduled separately from run-rate growth.
  • Workload growth explains the change. Workloads are grouped by tag, resource group, or subscription, and the analysis explains changes in the 30-day run rate rather than ranking spend alone.

Guided setup takes you through four steps: sign in and choose the tenant by name, pick 3 to 36 months of history and the month your fiscal year starts, see how the forecast is built with the ways to read history ranked by estimated time, and choose the source. Each tenant gets its own private workspace, so one customer's saved forecasts and review decisions never mix with another's. The forecast only reads Azure data. It never creates exports, changes permissions, or provisions anything, and the one request that isn't a plain read asks Cost Management to generate a temporary Cost Details report.

The output is an HTML report that opens on an overview written for executives and finance (status, a fiscal-year chart, how the central estimate adds up, and what drives it), with a tab for each section's full tables, plus a text summary and CSVs. The forecast guide in the repository covers setup, reviews, and the method in depth.

Getting Started

Prerequisites

  • PowerShell 7 (pwsh), not Windows PowerShell 5.1.
  • The Az.Accounts, Az.ResourceGraph, and Az.Storage modules, installed in the PowerShell 7 environment.
  • Azure sign-in and access to the scope you're scanning (see the Permissions section above). Reader is a starting point, and billing, cost, storage export, and hub data can need more.
  • Network access to Azure and to whichever data source endpoints you select. This isn't an offline scanner.
Install-Module Az.Accounts, Az.ResourceGraph, Az.Storage -Scope CurrentUser

Download and Run

Download the source ZIP and extract it into a new folder, or clone https://github.com/z-larsen/FinOps-Explorer.git. No GitHub account is required to download the public source. Keep Public, Private, and en-US together with the root files, and don't copy just the entry-point script.

Open a fresh PowerShell 7 terminal in the folder. After you've reviewed and trusted the code, unblock the downloaded PowerShell files, then load the entry point and call the function:

Get-ChildItem -LiteralPath . -Recurse -File |
    Where-Object Extension -in '.ps1', '.psm1', '.psd1' |
    Unblock-File

$ErrorActionPreference = 'Stop'
. .\Public\Start-FinOpsExplorer.ps1
Start-FinOpsExplorer

Running the public file with -File alone only defines the function and doesn't open the TUI, so dot-source it as shown. Interactive startup handles authentication and lets you choose subscriptions, data sources, and scans. Consoles that can't drive arrow-key menus fall back to numbered prompts, and -Accessible forces them.

Start with One Subscription

Start with a single subscription so you can check access and data coverage before you widen the scope. This example preselects a small set of scans: cost summaries and allocation data, tag coverage, and VM activity. Review the selection in the menu, then press Enter.

$tenantId = '<tenant-id>'
$subscriptionId = '<subscription-id>'
Connect-AzAccount -Tenant $tenantId -Subscription $subscriptionId

$scanNames = 'Get-CostData', 'Get-ResourceCosts', 'Get-TagInventory', 'Get-CostByTag', 'Get-IdleVMs'
Start-FinOpsExplorer -SubscriptionId $subscriptionId -DataSource API -Scans $scanNames

Swap -DataSource API for Hub or Export to follow the paths above. For a repeatable run without prompts, authenticate with the intended identity first, then add -NonInteractive with an explicit scope and scans. Don't assume the current Azure context belongs to the intended tenant.

Security and Privacy

  • Read-only scans. The scan modules read Azure data and write local reports. They never apply a recommendation, and any follow-up is a decision for you and the workload owner.
  • Your identity, your RBAC. It signs in through Az.Accounts and honors the roles you already have. Unattended runs never switch tenants, and a subscription that doesn't resolve in the current tenant stops the run instead of widening it.
  • Safer endpoints. Remote Kusto endpoints and any request that carries an access token must use HTTPS. Plain HTTP is allowed only for a token-free loopback emulator. Kusto and export-blob requests don't follow redirects.
  • Reports stay local. Nothing is uploaded. Reports are plaintext and can include tenant and subscription IDs, resource names, tags, billing information, and costs. Filesystem permissions limit the folder to your account, but the files aren't encrypted. Review a report before you share it, keep custom output paths out of synced folders, and never attach reports or screenshots with customer data to a public issue. Explorer rejects output paths inside Git repositories, on UNC paths or mapped network drives, and behind symbolic links or junctions.
  • No leaked download links. When the forecast uses the Cost Details API, the temporary report download links are never written to the console, the workspace, or any report.

Know the Limits

This is a preview snapshot, and the repository is upfront about what has and hasn't been validated:

  • The scan runtime doesn't have an automated Azure scan test suite or CI. The forecast has its own Pester 6 suite that runs against synthetic data, and the repository includes a script that compares the runtime with a local FinOps toolkit checkout. Those are local checks. None of them proves that every scan works for your identity and data source.
  • Windows is the documented launch path. Native Linux and macOS operation hasn't been verified.
  • Missing access, incomplete reads, unavailable forecasts, and API throttling can all affect results. Read the scan status and any reported errors before you rely on a number, and remember that a preview scan isn't a substitute for reviewing Azure's source data.
  • Run it against a test scope first, and review the results before you use it more widely.

Related Tools

  • Azure Tool Launcher is a Windows console menu that opens ALZ AutoPilot, FinOps Explorer, and Azure Resource Tagger from one place. It doesn't bundle or install them. You point its configuration at your local copy of Explorer.
  • Azure Resource Tagger applies and removes tags in bulk. Explorer's Tag Inventory, Tag Recommendations, and Cost by Tag scans show where tags are missing and how much spend they leave unallocated, and the Resource Tagger is how you close those gaps.
  • AzureFinOpsMultiTool-Automated is a separate, headless companion for scheduled runs. It deploys with Terraform, runs 21 scan modules unattended in Azure Automation with a managed identity (daily at 6 AM UTC by default), writes the results to Blob Storage, and emails the HTML report through a Logic App. It's its own project, so check its README for how it's set up and what it covers.
  • The Azure Cost Optimization Playbook covers the optimization practices that Explorer's findings feed into.

Conclusion

FinOps doesn't have to start with a months-long implementation. FinOps Explorer gives you a clear starting point: run it against one subscription, see what it finds, and you'll know where to focus. It doesn't replace Azure Cost Management, FinOps hubs, or Power BI. It reads from them where it can, adds resource context and a forecast, and gets you answers faster when you need them.

Open source on GitHub if you want to give it a try. If you run into something reproducible, report it with sanitized details only.


Disclaimer: FinOps Explorer is an unofficial, standalone preview and not an official Microsoft release. It's provided as-is under the MIT License. Review the code, test with a small scope first, and review reports for sensitive data before you share them.