Monitor
Components
Microsoft.Insights/components
- Control plane
- Supported
- Data plane
- Partial
- API versions
- 5 3 stable
- Ships in
- Plugin Microsoft.Insights 2026.11
- Plan
- Starter and above
Data as of 2026-11-20
API versions
The API versions Locally supports for Microsoft.Insights/components.
| API version | Status | Control plane | Data plane |
|---|---|---|---|
| 2021-03-08 | stable | Supported | Partial |
| 2020-02-02-preview | preview | Supported | Partial |
| 2020-02-02 | stable | Supported | Partial |
| 2018-05-01-preview | preview | Supported | Partial |
| 2015-05-01 | stable | Supported | Partial |
Note: This is generated from the latest version of the plugin (2026.11) as of 2026-11-20, and may differ in older versions. We aim to keep this information accurate and up to date; if you find something we're missing, then please let us know.
Nested resource types
The resource types nested under Microsoft.Insights/components. Click one to see more information.
| Resource type | Control plane | Data plane |
|---|---|---|
| API KeysMicrosoft.Insights/components/apiKeys | Supported | N/A |
| Linked Storage AccountsMicrosoft.Insights/components/linkedStorageAccounts | Supported | N/A |
| OperationsMicrosoft.Insights/components/operations | Supported | N/A |
Features
- Telemetry ingestion: requests, dependencies, exceptions, traces, custom events, custom metrics, page views, availability results and performance counters.
- Connection string with endpoints on your machine, for the Application Insights SDKs and the Azure Monitor OpenTelemetry Distro.
- Instrumentation key or Microsoft Entra ingestion, with the Monitoring Metrics Publisher role.
- Disabling local authentication: with
DisableLocalAuthset, telemetry sent with only the instrumentation key is refused. - Application Insights query API, with an API key or an Entra token.
- Classic table names, such as
requests,dependenciesandtraces, with their classic columns. - Workspace-based components: telemetry is stored in the linked Log Analytics workspace and can be queried there too.
- Cross-component queries with the
applicationsparameter andapp(). - Custom metrics are served by the Metrics API, so metric alerts can use them.
- Standard metrics:
requests/count,requests/failed,requests/durationandavailabilityResults/availabilityPercentageare computed from the component's telemetry. - Log alerts scoped to a component read that component's telemetry.
- Web Apps and Function Apps linked to a component get its connection string set for them.
- Chaos Engineering on ingestion, queries and metrics. Team
Limitations
- Availability tests don't run at this time.
- Live Metrics isn't streamed at this time. The SDKs are told nobody is watching, so they back off.
- OTLP isn't accepted on the Application Insights endpoint at this time. Send OTLP logs and traces to a data collection endpoint instead.
- Sampling done by the SDK is respected, but ingestion sampling and daily caps aren't applied at this time.
- There's no Application Map or browser timings at this time.
Examples
Runnable examples from the examples library.
Firing an Azure Monitor alert from an App Service app
Deploy a TypeScript app to App Service with Terraform that sends its telemetry to Application Insights, where a log search alert rule counts its failed requests and an Action Group posts the alert to a webhook on a second app.
Running a URL shortener on a Function App and App Service with PostgreSQL
Deploy a .NET URL shortener with Terraform: a Function App serves the links and an admin site on App Service signs admins in with App Service Authentication, both using PostgreSQL and Application Insights through a managed identity.
Deploy an Application Insights Component to Locally using an ARM Template
Provisions a Log Analytics Workspace and a workspace-based Application Insights component, into a Resource Group of your choosing.
Deploy an Application Insights Component to Locally using a Bicep Template
Provisions a Log Analytics Workspace and a workspace-based Application Insights component, into a Resource Group of your choosing.
Deploy an Application Insights Component to Locally using Terraform and the Azure/azapi provider
Provisions a Resource Group containing a Log Analytics Workspace and a workspace-based Application Insights component.
Deploy an Application Insights Component to Locally using Terraform and the hashicorp/azurerm provider
Provisions a Resource Group containing a Log Analytics Workspace and a workspace-based Application Insights component.
Deploy an Application Insights Component to Locally using OpenTofu and the Azure/azapi provider
Provisions a Resource Group containing a Log Analytics Workspace and a workspace-based Application Insights component.
Deploy an Application Insights Component to Locally using OpenTofu and the opentofu/azurerm provider
Provisions a Resource Group containing a Log Analytics Workspace and a workspace-based Application Insights component.