Katabarwa Labs
← Blog

Azure Anomaly Detector is retiring. How to keep per-team cost-spike alerts.

Azure cost management · August 27, 2026 · 6 min read

If you built anything on Azure AI Anomaly Detector (or Metrics Advisor), the clock is running. Microsoft's own Anomaly Detector lifecycle page sets the date: new resource creation was disabled back in September 2023, and the service is fully retired on October 1, 2026. After that, the API endpoints, models, and configurations are gone.

Microsoft points general time-series workloads toward Microsoft Fabric, Azure Data Explorer, and Stream Analytics. Fair enough for telemetry. But a lot of teams used Anomaly Detector for something narrower and more boring: watching Azure spend and catching a cost spike before it became a month-end surprise. For that, standing up Fabric or a KQL pipeline is a lot of machinery for one question: did any team's daily cost just jump?

This is about that specific case: keeping per-team, per-resource-group cost-spike alerts once Anomaly Detector is gone.

The hole: native cost anomaly detection is subscription-scope only

Azure Cost Management does ship built-in anomaly detection, but read Microsoft's own documentation carefully. The page Identify anomalies and unexpected changes in cost states plainly that "anomaly detection is only available for subscriptions." That single line is the gap:

The do-it-yourself method

You can build this against the Cost Management query API. The building blocks:

That works. It is also a real project: pagination, the latency trap, per-slice statistics, a scheduler, and a Teams webhook, plus the ongoing job of keeping it running.

A ready-made option: Cost Spike Sentinel

Our tool for this: Cost Spike Sentinel on the Azure Marketplace. It is a managed application that deploys into your own subscription, so nothing leaves your tenant and there is no vendor backend.

If you would rather not build and maintain the detector above, Cost Spike Sentinel is that pattern packaged. Every day it queries Cost Management for daily cost per resource group or per tag (Team, CostCenter, Environment), computes a trailing z-score baseline per slice, handles the latency trim, falls back to a percent-jump rule for short history, and alerts the owning team in Teams the moment a slice spikes. Two honest caveats: it is alert-only (no write permission at all, it never caps, stops, or deletes anything), and it replaces the cost use case, not all of Anomaly Detector (for general time-series, look at Fabric or Data Explorer).

Key facts

Related reading: how to put a hard spending cap on Azure.


Written by the team at Katabarwa Labs. We build small, single-purpose Azure tools that run entirely inside your own tenant. Questions: abaho@llmgraph.ai.