# Monitoring and analyzing telemetry
> APPLIES TO: Business Central 2019 release wave 2 and later
Business Central emits telemetry data for various activities and operations on environments and apps/extensions. Monitoring telemetry gives you a look at the activities and general health of your environments/apps, so you can diagnose problems and analyze operations that affect performance. Azure Application Insights<https://learn.microsoft.com/azure/azure-monitor/app/app-insights-overview> is a service hosted within Azure that gathers telemetry data for analysis and presentation. Whether running Business Central online or on-premises, you can set your tenants up to send telemetry to Azure Application Insights.
## Environment-level and app/extension-level telemetry
Telemetry in Business Central can be enabled on two different levels:
 Environment-level telemetry
 App/extension-level telemetry (for each app/extension installed)
![Shows how Environment-level telemetry and App/extension-level telemetry works in Business Central AL]
When telemetry is enabled on the environment level, telemetry is emitted to an Azure Application Insights resource for gathering data on operations that happen on the environment.
With the Business Central 2020 release wave 2 and later, telemetry can also be enabled on a per-extension basis. Enabling telemetry is done by setting an Azure Application Insights connection string in the app's manifest (app.json file). At runtime, certain events related to the app/extension are emitted to the Azure Application Insights resource. This feature targets publishers of per-tenant extensions or Microsoft Marketplace apps. It gives extension publishers insight into usage of their apps/extensions and also allows them to find errors and performance issues before partners and customers report them.
Both online environments and on-premises instances can emit telemetry to Azure Application Insights.
> TIP
> As an AL developer, craft custom telemetry messages directly from AL by using the Feature Telemetry codeunit<https://github.com/microsoft/BCApps/tree/main/src/System%20Application/App/Telemetry> in the System Application or the ../developer/methods-auto/session/session-logmessage-string-string-verbosity-dataclassification-telemetryscope-string-string-string-string-method.
## Available telemetry
Currently, Business Central offers telemetry on the following operations:
Area|Description|Online|On-premises|Extension support|More information
Agent Lifecycle #13|Provides information about agent creation, configuration changes, and task creation.|✓|||telemetry-agent-lifecycle-trace
AI Consumption #11|Provides information about Copilot Credits consumed by features subject to consumption-based billing<tenant-admin-center-manage-consumption-billing>.|✓||✓|telemetry-ai-consumption
App key vault secrets|Provides information about the retrieval of secrets from Azure Key Vaults by extensions.|✓#1|✓#1|✓|telemetry-extension-key-vault-trace
App resource exposure policy #12|Provides information about failures when parsing resource exposure policy overrides in extensions.|✓|✓||telemetry-app-resource-exposure-trace
API metadata validation #12|Provides information about API page metadata validation errors during API generation.|✓|✓||telemetry-api-metadata-validation-trace
Authorization|Provides information about user sign-in attempts. Information includes success or failure indication, reason for failure, user type, and more.|✓|✓||telemetry-authorization-trace
Azure Function Integration#6|Provides information about requests to Azure Functions from Business Central|✓|✓||telemetry-azure-function-integration-trace
Business events #9|Provides information about business event subscription lifecycle and execution.|✓|✓||telemetry-business-events-trace
Changelog configuration changes#9|Provides information about changes to the configuration of the change log.|✓|✓||telemetry-changelog-configuration-trace
Client actions#7|Provides information about usage of client features.|✓|✓||telemetry-client-action-trace
Client control add-in exception#11|Provides information about operations done on configuration packages, including exporting, importing, applying, and deleting.|✓|✓||telemetry-client-add-in-exceptions
Cloud migration#8|Provides information about cloud migration setup, replication runs, and data upgrade|✓|||telemetry-cloud-migration-trace
Company lifecycle|Provides information about creating, copying, and deleting of companies.|✓|✓||telemetry-company-lifecycle-trace
Configuration package lifecycle|Provides information about operations done on configuration packages, including exporting, importing, applying, and deleting.|✓|✓||telemetry-configuration-package-trace
Database deadlocks#5|Provides information about database deadlocks that occur.|✓|✓||telemetry-database-deadlocks-trace
Database lock timeouts|Provides information about database locks that timed out.|✓|✓||telemetry-database-locks-trace
Database wait statistics|Provides information about the wait categories and the wait times a query runs into.|✓|✓||telemetry-database-wait-statistics-trace
Email|Provides information about the success or failure of sending emails.|✓|✓||telemetry-email-trace
Environment lifecycle #5|Provides information about changes and operations on an environment, like updates, hotfixes, copy, move, delete, configuration changes, and more.|✓|||telemetry-environment-lifecycle-trace
Environment validation #7|Provides information about proactive validations on extensions in the environment against the next release.|✓|||telemetry-environment-validation-trace
Error message quality#5|Provides information about error messages that users thought were helpful or unhelpful.|✓|✓||telemetry-error-message-voting-trace
Error method|Provides information about error dialogs that are shown to the users.|✓|✓|✓|telemetry-error-method-trace
Extension lifecycle #2|Provides information about the success or failure of extension-related operations, like publishing, synchronizing, installing, and more.|✓|✓|✓|telemetry-extension-lifecycle-trace
Extension update|Provides information about errors that occur and upgrade tags used when upgrading an extension.|✓|✓|✓|telemetry-extension-update-trace
Extension Upload Validation#9|Provides information about validations when a user/administrator uploads a per-tenant extension to an environment from the Extension Management page.|✓|||telemetry-pte-upload-validation-trace
Feature Management#7|Provides information about the state changes done on the Feature Management page.|✓|✓||telemetry-feature-management-trace
Feature telemetry|Provides information about the usage and errors of features.|✓|✓|Through a registered publisher telemetry logger.|Using feature telemetry<telemetry-feature-telemetry>
Field monitoring trace|Provides information about the usage of the field monitoring feature.|✓|✓||telemetry-field-monitoring-trace
Financial report lifecycle#11|Provides data about the lifecycle operations in financial reporting.|✓|✓||telemetry-financial-report-lifecycle-trace
Financial report usage#11|Provides data about the usage of the financial reports: Financial report run on-screen and Financial report run from request page.|✓|✓||telemetry-financial-report-usage-trace
Job queue|Provides information about creating and running job queue entries.|✓|✓||telemetry-job-queue-lifecycle-trace
Long running AL method trace#3|Provides information about long running AL methods.|✓|✓|✓|telemetry-al-method-trace
Long running operation (SQL query)|Provides information about SQL queries that take longer than expected to execute.|✓|✓|✓|telemetry-long-running-sql-query-trace
MCP configuration#13|Provides information about creating, modifying, and deleting MCP (Model Context Protocol) configurations.|✓|✓||telemetry-mcp-configuration-trace
MCP Server#13|Provides information about tool calls made through MCP Server configurations.|✓|||telemetry-mcp-server-trace
Marketplace app breaking changes validation|Provides information about ongoing validations checking if an app compiles and meets technical requirements across upcoming Business Central versions.|✓||✓|telemetry-appsource-app-validation-trace
Marketplace Submission Validation|Provides information about validation when an extension is submitted to Marketplace.|✓||✓|telemetry-appsource-submission-validation-trace
Metadata embeddings#13|Provides information about embedding generation lifecycle for extensions, used to power AI features like Copilot search.|✓|||telemetry-metadata-embeddings-trace
Onboarding#7|Provides information about the onboarding of users.|✓|✓||telemetry-onboarding-trace
Open in Excel #14|Provides information about when users export data to Excel using the Open in Excel action.|✓|✓||telemetry-open-in-excel-trace
Page views|Provides information about the pages that users open in the modern client.|✓|✓#6|✓#4|telemetry-page-view-trace
Performance Toolkit (BCPT)|Provides information about test results from running the Business Central Performance Toolkit (BCPT).|✓|✓||telemetry-performance-toolkit-trace
Permissions|Provides information about adding, removing, and assigning permission sets.|✓|||telemetry-permission-changes-trace
Permissions dependency cycle#5|Provides information about dependency cycles in permissions.|✓|✓||telemetry-permission-dependency-cycle-trace
Permission error#5|Provides information about errors related to permissions that users get.|✓|✓||telemetry-permission-error-trace
Profile configuration lifecycle#6|Provides information about design operations done on profiles from the client.|✓|✓||telemetry-profile-configuration-lifecycle-trace
Report generation|Provides information about the execution of reports.|✓|✓|✓|telemetry-reports-trace
Report layout lifecycle#10|Provides information about actions taken by users on report layouts.|✓|✓|✓|telemetry-reports-trace
Retention policy trace#3|Provides information about the usage of the retention policy feature.|✓|✓||telemetry-retention-policy-trace
SQL query trace #12|Provides verbose logging of all SQL queries when additional logging is enabled.|✓|✓||telemetry-sql-query-trace
Stopped sessions#5|Provides information about background sessions that were forcibly stopped from the admin center or by calling the StopSession method from AL.|✓|✓|AL calls with extension context.|telemetry-stop-session-trace
Table index trace#3|Provides information about the addition or removal of a table index.|✓|✓|✓|telemetry-table-index-trace
Task scheduler lifecycle|Provides information the execution of scheduled tasks.|✓|✓||telemetry-task-scheduler-trace
User checklists#5|Provides information about when the status of a user checklist changes|✓|✓||telemetry-user-checklist-trace
Verbose logging enabled/disabled#5|Provides information about when additional logging is enabled and disabled from the client.|✓|✓||telemetry-verbose-logging-trace
Web service access key authentication|Provides information about the authentication of web server access keys on web service requests.|✓|✓||telemetry-webservices-access-key-trace
Web service publish failures#8|Provides information about the web services publish failures.|✓|✓|✓|telemetry-webservices-publish-failure-trace
Web service requests (incoming)|Provides information about the execution time of incoming web service requests.|✓|✓|✓|telemetry-webservices-trace
Web service requests (outgoing )|Provides information about the execution time of outgoing web service requests.|✓|✓|✓|telemetry-webservices-outgoing-trace
Web service requests (outgoing ): Server certificate validation errors#11|Provides information data about errors in validating server certificates on the endpoint when doing outgoing web service requests using the AL HTTPClient module.|✓|✓||telemetry-webservices-outgoing-certificate-validation-errors
1This signal is only emitted to the Application Insights resource that's specified in the extension.
2Introduced in Business Central 2020 release wave 1, version 16.3. For extension telemetry, this signal was introduced in 2020 release wave 2, version 17.1.
3Introduced in Business Central 2020 release wave 2, version 17.1. For extension telemetry, this signal was introduced in 2021 release wave 1, version 18.1.
4Introduced in Business Central 2021 release wave 1, version 18.
5Introduced in Business Central 2022 release wave 1, version 20.
6Introduced in Business Central 2022 release wave 2, version 21.
7Introduced in Business Central 2023 release wave 1, version 22.
8Introduced in Business Central 2023 release wave 1, version 22.1.
9Introduced in Business Central 2023 release wave 2, version 23.
10Introduced in Business Central 2024 release wave 2, version 25.1.
11Introduced in Business Central 2025 release wave 1, version 26.0.
12Introduced in Business Central 2025 release wave 1, version 26.1.
13Introduced in Business Central 2026 release wave 1, version 28.0.
14Introduced in Business Central 2026 release wave 2, version 29.0.
##  Enable telemetry
To send telemetry data to Azure Application Insights, you must have an Application Insights resource in Azure. Once you have the Azure Application Insights resource, you can start to configure your environments and apps/extensions to send telemetry data to it. See Enable Sending Telemetry to Application Insights<telemetry-enable-application-insights>.
> NOTE
> For apps/extensions, learn more in Sending Extension Telemetry to Azure Application Insights<../developer/devenv-application-insights-for-extensions>.
##  Control telemetry cost
Azure Application Insights is billed based on the volume of telemetry data that is sent (data ingestion) and how long you want data to be available (data retention).
See Azure Monitor pricing<https://azure.microsoft.com/pricing/details/monitor/>.
See telemetry-control-cost.
## Viewing telemetry data with Power BI
You can analyze Business Central telemetry with two free, open-source Power BI apps from the Microsoft commercial marketplace. One app lets you view telemetry for environments. The other app lets you view telemetry for apps and extensions (as defined in app.json). Both apps require Power BI Pro licenses to install.
See Analyze and Monitor Telemetry with Power BI<telemetry-power-bi-app>.
## Analyze telemetry data
Telemetry from Business Central is stored in Azure Application Insights Logs in the traces and pageViews tables. You can view collected data by writing log queries using Kusto Query Language (KQL). See Logs in Azure Monitor<https://learn.microsoft.com/azure/azure-monitor/platform/data-platform-logs> and Overview of log queries in Azure Monitor<https://learn.microsoft.com/azure/azure-monitor/log-query/log-query-overview>.
See telemetry-analyze-with-kql.
## Setting up alerts on telemetry
If something happens in your environment or app that you need to act on, you can set up a system that sends you an alert. Azure Application Insights makes it easy to define such alerts. You can set up alerts on telemetry events with various tools depending on your role.
If you're a project manager, product owner, or functional consultant, consider using Power BI goals to track telemetry measures against business objectives.
If you prefer more control, consider using one of these low-code tools for your alerting needs.
 Azure Application Insights Alerts
 Azure Logic Apps
 Power Automate
See telemetry-alert.
## Telemetry sample code
Go to Business Central BCTech repository on GitHub<https://github.com/microsoft/BCTech/tree/master/samples/AppInsights>.
## Business Central telemetry FAQ
Get answers to common questions about telemetry in telemetry-faq.
## Related information
Available signal in telemetry<telemetry-available-telemetry>
telemetry-enable-application-insights
telemetry-control-cost
Analyze Telemetry with Power BI<telemetry-power-bi-app>
telemetry-analyze-with-kql
telemetry-alert
telemetry-faq
Feature Telemetry codeunit<https://github.com/microsoft/BCApps/tree/main/src/System%20Application/App/Telemetry>
Custom telemetry with LogMessage Method<../developer/methods-auto/session/session-logmessage-string-string-verbosity-dataclassification-telemetryscope-string-string-string-string-method>
Working with Administration Tools<administration>
Business Central Administration Center<tenant-admin-center>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/telemetry-overview, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/administration/telemetry-overview/
