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 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)
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 AppSource 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, you can craft custom telemetry messages directly from AL using the Feature Telemetry codeunit in the System Application or by using the LogMessage Method.
Available telemetry
Currently, Business Central offers telemetry on the following operations:
Area
Description
Online
On-premises
Extension support
More information
AppSource Submission Validation
Provides information about validation when an extension is submitted to AppSource.
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.
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 1, 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.
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. Learn more at Enable Sending Telemetry to Application Insights.
Azure Application Insights is billed based on the volume of telemetry data that is sent (data ingestion) and how long time you want data to be available (data retention).
To make it simple to analyze Business Central telemetry, we've developed two Power BI apps available from the Microsoft commercial marketplace. One app is for telemetry on environments. The other one is for telemetry on apps/extensions (the telemetry defined in app.json). Both apps are free and open source but requires Power BI pro licenses to install.
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). Learn more at Logs in Azure Monitor and Overview of log queries in Azure Monitor.
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 the no-code tool Power BI Metrics for your alerting needs.
If you prefer more control, consider using one of these low-code tools for your alerting needs.