# AI Anomaly Detector

Azure AI Anomaly Detector is an API-based service that identifies unusual patterns in individual or correlated numerical time series.

Cloud service · Azure. Updated 2026-11-25. Page: https://blowstack.com/tools/cloud-services-hub/ai-anomaly-detector

**RETIRED** Microsoft has ended support for AI Anomaly Detector. Support ended October 1, 2026. https://azure.microsoft.com/updates/ai-services-anomaly-detector-will-be-retired-on-1-october-2026/

> AI Anomaly Detector analyzes timestamped metrics to identify outliers, changes in trends, and abnormal relationships between signals. It supports univariate detection without a separate training step and multivariate detection using a model trained on representative historical data; applications supply data preparation, scheduling, visualization, and response workflows.

## 8 key features of AI Anomaly Detector

1. **Automatic univariate model selection**: Analyze a single numerical time series without creating and managing a separately trained model. Submit sufficient historical context in each request because univariate calls do not accumulate learning across requests.
2. **Entire-series anomaly detection**: Evaluate points across a historical series using the entire-series operation. This mode is useful for retrospective analysis and backtesting, but its global view can produce different results from latest-point monitoring.
3. **Latest-point detection**: Evaluate the most recent observation against a caller-supplied history window. Maintain that window in your application or data store and invoke detection as new aggregated observations become available.
4. **Trend change-point detection**: Identify points where the underlying trend changes across a submitted series. Use these results to investigate sustained shifts separately from isolated spikes or dips.
5. **Correlated multivariate detection**: Train a model on multiple related signals to detect abnormal system behavior involving their relationships. For example, analyze pressure, temperature, and flow together rather than evaluating each sensor independently.
6. **Configurable detection behavior**: Adjust univariate sensitivity and maximum anomaly ratio to balance missed events against false alarms. Where appropriate, supply a known seasonal period and validate settings against operational history.
7. **Diagnostic detection output**: Use univariate expected values and anomaly boundaries to explain deviations in charts. Multivariate scores, severity, and variable contributions support investigation, but should not be treated as proof of a failure's cause.
8. **Multivariate alignment and window controls**: Configure how multiple series align on timestamps and how much recent context the model considers. Inspect missing-value ratios and choose a sliding window appropriate to the sampling frequency and operating cycles.

## Where AI Anomaly Detector is used

1. **Business metric monitoring**: Evaluate regularly aggregated revenue, order counts, inventory levels, or active-user totals for unexpected changes. Analyze distinct business segments separately where combining them would hide localized issues, and account for promotions or holidays during review.
2. **IT operations investigation**: Analyze application throughput, database activity, or virtual machine performance counters for unusual behavior. Correlate detections with deployments, maintenance windows, and incident records before escalating.
3. **Equipment condition monitoring**: Train multivariate models on related equipment measurements to identify departures from normal operating relationships. Route suspicious patterns to maintenance engineers for review rather than treating an anomaly as a guaranteed prediction of failure.
4. **Historical incident analysis**: Run entire-series and change-point analysis over stored metrics to identify when abnormal behavior or a sustained shift began. Compare the results with known incidents to select suitable aggregation intervals and detection parameters.
5. **Telemetry and data pipeline quality checks**: Evaluate ingestion counts, processing latency, or aggregate measurement values for unexpected numerical patterns. Implement separate checks for absent data and malformed records, since anomaly detection is not a replacement for schema validation or freshness monitoring.

## How AI Anomaly Detector is priced

- **Usage-based service tier**: Paid usage is metered according to the selected Anomaly Detector capability and tier. Estimate univariate request volume separately from multivariate training and inference workloads, and check the applicable regional pricing and billing units before forecasting costs.
- **Limited free tier**: Where available, the free tier provides a limited allowance and lower throughput for evaluation. Confirm supported capabilities and current quotas before using it for a proof of concept; do not assume it provides production capacity.

## Services AI Anomaly Detector works with

A common streaming architecture uses Azure Event Hubs for ingestion, a consumer for aggregation, and Azure Functions or another compute service for detection requests. The consumer groups observations by metric or asset, normalizes timestamps, and maintains the historical window required for latest-point analysis. Persist anomaly results separately so dashboards and notification workflows do not depend on the lifetime of a single API request.

For historical analysis, Azure Data Explorer can supply aggregated time series to an application that invokes the REST API. Multivariate workflows commonly use Azure Blob Storage for training and inference archives. An orchestrator submits work, records the job or result identifier, polls for completion, and copies completed results into durable storage before temporary service-side results expire.

Use Azure Key Vault for service credentials and tightly scoped access tokens for input blobs. Route actionable detections to Azure Logic Apps for notification, approval, or remediation coordination. Apply application-level severity thresholds, incident correlation, and duplicate suppression before escalating. These are application-composed integrations: Anomaly Detector does not independently subscribe to telemetry streams, maintain monitoring windows, or operate an incident-response system.

- **[Azure Functions](https://blowstack.com/tools/cloud-services-hub/azure-functions)**: Use a timer-triggered or event-triggered function to prepare observations, call the detection API, and persist results. For example, run a function every five minutes to retrieve a metric's recent history and evaluate its latest point. Implement retries with backoff and store asynchronous multivariate job identifiers outside the function process.
- **[Event Hubs](https://blowstack.com/tools/cloud-services-hub/event-hubs)**: Use Event Hubs to ingest telemetry and a separate consumer to aggregate observations before calling Anomaly Detector. For example, partition equipment events by asset identifier and produce one-minute sensor series for analysis. Event Hubs transports the events; buffering, window construction, and API calls belong to the consumer application.
- **[Azure Blob Storage](https://blowstack.com/tools/cloud-services-hub/azure-blob-storage)**: Store historical series, multivariate input archives, and retained detection results in Blob Storage. For example, upload a ZIP archive of aligned sensor files and pass a read-scoped, time-limited shared access signature URI to a multivariate training request. Set the token lifetime to accommodate processing and avoid exposing the URI in logs.
- **[Azure Data Explorer](https://blowstack.com/tools/cloud-services-hub/azure-data-explorer)**: Query telemetry in Azure Data Explorer to produce consistently spaced series, then submit those series through application code. For example, use Kusto queries to aggregate per-device measurements into five-minute intervals and store returned anomaly flags alongside the source metrics. Azure Data Explorer also has its own time-series analysis functions, so assess whether an external API call is necessary.
- **[Logic Apps](https://blowstack.com/tools/cloud-services-hub/logic-apps)**: Use a Logic Apps workflow to process persisted detection results or anomaly events and coordinate notifications and approvals. For example, an ingestion workflow can receive a confirmed anomaly through an HTTP trigger and request an operator's approval before starting remediation. Apply deduplication and severity rules before notifying responders.
- **[Azure Key Vault](https://blowstack.com/tools/cloud-services-hub/azure-key-vault)**: Store service keys and other integration secrets in Key Vault rather than application settings committed to source control. For example, allow a function's managed identity to retrieve the Anomaly Detector key at runtime, then use that key for API requests. Rotate credentials and ensure application logs redact secrets and storage access tokens.

## What is AI Anomaly Detector

Azure AI Anomaly Detector provides time-series analysis through REST APIs. Its inputs are numerical measurements associated with timestamps, such as hourly revenue, minute-level database throughput, or synchronized equipment sensor readings. It identifies statistical abnormalities rather than interpreting their business meaning. Applications must combine detection results with operational context before deciding whether an anomaly requires investigation or action.

Univariate detection analyzes one metric at a time and automatically selects a model for the submitted series without a separate training operation. The entire-series operation evaluates historical points using a model fitted to the supplied series. The latest-point operation evaluates the newest point using a supplied window of preceding observations, making it suitable for periodically evaluating incoming metrics. Each univariate request is independent: the service does not retain a running history, so the caller must maintain and submit the required context. A separate change-point operation identifies changes in the underlying trend.

Prepare univariate data at a consistent sampling interval before submitting it. Sort timestamps, resolve duplicates, and apply an explicit policy for missing observations. Aggregate values according to their meaning: sums may suit transaction counts, while averages may suit temperature measurements. Aggregation reduces noise and request volume but can hide short-lived incidents. Tune sensitivity, the maximum anomaly ratio, and any known seasonal period against representative historical events rather than assuming default settings fit every metric.

Multivariate detection learns relationships among multiple signals and can identify abnormal combinations even when individual measurements are not obvious outliers. It requires a training workflow and representative historical data. For the documented asynchronous workflow, prepare time-series files in a ZIP archive in Azure Blob Storage, provide a scoped shared access signature URI, submit training or detection requests, and poll for completion. Configure timestamp alignment and missing-value handling carefully. Training data should primarily represent normal operation; the documented guidance recommends approximately 5,000 or more timestamps per variable for good accuracy, rather than treating that recommendation as a universal hard minimum.

Detection output varies by operation. Univariate results can include anomaly flags, expected values, and normal boundaries, while multivariate results can include anomaly scores, severity, and contributing variables. Contributions help prioritize investigation but do not establish root cause. Univariate processing does not persist submitted data or generated results. The documented asynchronous multivariate workflow temporarily retains detection results for seven days, so copy results into your own storage when longer retention is required.

Production implementations should handle throttling, transient failures, request-size limits, and asynchronous job states. Keep credentials and storage access tokens out of logs, persist enough request metadata to reproduce investigations, and suppress duplicate notifications. Evaluate precision and recall using known incidents before enabling automated responses. Include human review where actions could affect physical safety, and do not use the service for medical decisions or qualitative assessment of human activity.
