Available telemetry

In Application Insights, telemetry from Business Central is logged into the traces or pageview tables.

Telemetry by area

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. check mark for feature. check mark for feature See...
App key vault secrets Provides information about the retrieval of secrets from Azure Key Vaults by extensions. check mark for feature.[1] check mark for feature[1] check mark for feature See...
Authorization Provides information about user sign-in attempts. Information includes success or failure indication, reason for failure, user type, and more. check mark for feature. check mark for feature. See...
Azure Function Integration[6] Provides information about requests to Azure Functions from Business Central check mark for feature. check mark for feature See...
Company lifecycle Provides information about creating, copying, and deleting of companies. check mark for feature. check mark for feature See...
Configuration package lifecycle Provides information about operations done on configuration packages, including exporting, importing, applying, and deleting. check mark for feature. check mark for feature See...
Database deadlocks[5] Provides information about database deadlocks that occur. check mark for feature. check mark for feature See...
Database lock timeouts Provides information about database locks that have timed out. check mark for feature. check mark for feature See...
Database wait statistics Provides information about the wait categories and the wait times a query runs into. check mark for feature. check mark for feature See...
Email Provides information about the success or failure of sending emails. check mark for feature. check mark for feature See...
Environment lifecycle [5] Provides information about changes and operations on an environment, like updates, hotfixes, copy, move, delete, configuration changes,and more. check mark for feature. See...
Error message quality[5] Provides information about error messages that users thought were helpful or unhelpful. check mark for feature. check mark for feature See...
Error method Provides information about error dialogs that are shown to the users. check mark for feature. check mark for feature See...
Extension lifecycle [2] Provides information about the success or failure of extension-related operations, like publishing, synchronizing, installing, and more. check mark for feature. check mark for feature check mark for feature See...
Extension update Provides information about errors that occur and upgrade tags used when upgrading an extension. check mark for feature. check mark for feature check mark for feature See...
Feature telemetry Provides information about the usage and errors of features. check mark for feature. check mark for feature See...
Field monitoring trace Provides information about the usage of the field monitoring feature. check mark for feature. check mark for feature See...
Job queue Provides information about creating and running job queue entries. check mark for feature. check mark for feature See...
Long running AL method trace[3] Provides information about long running AL methods. check mark for feature. check mark for feature check mark for feature See...
Long running operation (SQL query) Provides information about SQL queries that take longer than expected to execute. check mark for feature. check mark for feature check mark for feature See...
Page views Provides information about the pages that users open in the modern client. check mark for feature. check mark for feature.[6] check mark for feature[4] See...
Permissions Provides information about adding, removing, and assigning permission sets. check mark for feature. See...
Permission error[5] Provides information about errors related to permissions that users get. check mark for feature. check mark for feature. See...
Profile configuration lifecycle[6] Provides information about design operations done on profiles from the client. check mark for feature. check mark for feature. See...
Report generation Provides information about the execution of reports. check mark for feature. check mark for feature check mark for feature See...
Retention policy trace[3] Provides information about the usage of the retention policy feature. check mark for feature. check mark for feature See...
Incoming web service requests Provides information about the execution time of incoming web service requests. check mark for feature. check mark for feature check mark for feature See...
Outgoing web service requests Provides information about the execution time of outgoing web service requests. check mark for feature. check mark for feature check mark for feature See...
Stopped sessions[5] Provides information about background sessions that were forcibly stopped from the admin center or by calling the StopSession method from AL. check mark for feature. check mark for feature See...
Table index trace[3] Provides information about the addition or removal of a table index. check mark for feature. check mark for feature check mark for feature See...
Task scheduler lifecycle Provides information the execution of scheduled tasks. check mark for feature. check mark for feature See...
User checklists[5] Provides information about when the status of a user checklist changes check mark for feature. check mark for feature See...
Verbose logging enabled/disabled[5] Provides information about when additional logging is enabled and disabled from the client. check mark for feature. check mark for feature See...
Web service access key authentication Provides information about the authentication of web server access keys on web service requests. check mark for feature. check mark for feature See...

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.

Telemetry by Event Id

The following tables list the Ids of Business Central telemetry events that are emitted into Azure Application Insights.

Application events

Event ID Area Message
AL0000CTV Email Email sent successfully
AL0000CTE Field monitoring Sensitive field value has changed: {alfieldCaption} ({alFieldNumber}) in table {altableCaption} ({alTableNumber})
AL0000CTP Email Failed to send email
AL0000DD3 Field monitoring Sensitive field monitor status has changed to {almonitorStatus}
AL0000EMW Field monitoring Sensitive field added to or removed from monitor: {alfieldCaption} ({alFieldNumber}) in table {alTableCaption} ({alTableNumber})
AL0000E2A Permissions User-defined permission set added: {alPermissionSetId}
AL0000E2B Permissions User-defined permission set removed: {alPermissionSetId}
AL0000E28 Permissions Permission set link added: {alSourcePermissionSetId} -> {alLinkedPermissionSetId}
AL0000E29 Permissions Permission set link removed: {alSourcePermissionSetId} -> {alLinkedPermissionSetId}
AL0000E2C Permissions Permission set assigned to user: {alPermissionSetId}
AL0000E2D Permissions Permission set removed from user: {alPermissionSetId}
AL0000E2E Permissions Permission set assigned to user group: {alPermissionSetId}
AL0000E2F Permissions Permission set removed from user group: {alPermissionSetId}
AL0000D3L Retention Policy Retention Policy Log Entry Logged: {alMessageType}
AL0000D6H Retention Policy Records Deleted Using Retention Policy: Deleted {alRecordsDeleted} records from Table {alTableNo}, {alTableName}
AL0000D6I Retention Policy First retention policy enabled on: {alCompanyName}
AL0000D6J Retention Policy Last retention policy disabled on: {alCompanyName}
AL0000I74 Azure Function Integration Request sent to Azure function succeeded: {Function Host}
AL0000I75 Azure Function Integration Authorization failed to Azure function: {Function Host}
AL0000I7P Azure Function Integration Request sent to Azure function failed: {Function Host}

Client events

Event ID Area Message
CL0001 Page views Page opened: {alObjectName}
CL0002 UI quality User gave feedback on error message: [OK|Not OK]

Lifecycle events

Event ID Area Message
AL0000E24 Job Queue Lifecycle Job queue entry enqueued: {alJobQueueId}
AL0000E25 Job Queue Lifecycle Job queue entry started: {alJobQueueId}
AL0000E26 Job Queue Lifecycle Job queue entry finished: {alJobQueueId}
AL0000E3F Configuration Package Configuration package export started: {alPackageCode}
AL0000E3G Configuration Package Configuration package exported successfully: {alPackageCode}
AL0000E3H Configuration Package Configuration package import started: {alPackageCode}
AL0000E3I Configuration Package Configuration package imported successfully: {alPackageCode}
AL0000E3N Configuration Package Configuration package apply started: {alPackageCode}
AL0000E3O Configuration Package Configuration package applied successfully: {alPackageCode}
AL0000E3P Configuration Package Configuration package deleted successfully: {alPackageCode}
AL0000EJ9 Extension Lifecycle Upgrade tag searched for: {AlUpgradeTag}
AL0000EJA Extension Lifecycle Upgrade tag set: {AlUpgradeTag}
AL0000EIQ User Checklist Lifecycle User checklist status updated: {oldStatus} to {newStatus}
LC0001 Company Lifecycle Company created: {companyName}
LC0002 Company Lifecycle Company creation canceled: {companyName}
LC0003 Company Lifecycle Company creation failed: {companyName}
LC0004 Company Lifecycle Company copied: {companyNameSource} to {companyNameDestination}
LC0005 Company Lifecycle Company copied canceled: {companyNameSource} to {companyNameDestination}
LC0006 Company Lifecycle Company copy failed: {companyNameSource} to {companyNameDestination}
LC0007 Company Lifecycle Company deleted: {companyName}
LC0008 Company Lifecycle Company deletion canceled: {companyName}
LC0009 Company Lifecycle Company deletion failed: {companyName}
LC0010 Extension Lifecycle Extension installed successfully: {extensionName} version {extensionVersion} by {extensionPublisher} ({extensionId})
LC0011 Extension Lifecycle Extension failed to install: {extensionName} version {extensionVersion} by {extensionPublisher} ({extensionId})
LC0012 Extension Lifecycle Extension synchronized successfully: {extensionName} version {extensionVersion} by {extensionPublisher} ({extensionId}
LC0013 Extension Lifecycle Extension failed to synchronize: {extensionName} version {extensionVersion} by {extensionPublisher} ({extensionId})
LC0014 Extension Lifecycle Extension published successfully: {extensionName} version {extensionVersion} by {extensionPublisher} ({extensionId})
LC0015 Extension Lifecycle Extension failed to publish: {extensionName} version {extensionVersion} by {extensionPublisher} ({extensionId})
LC0016 Extension Lifecycle Extension un-installed successfully: {extensionName} version {extensionVersion} by {extensionPublisher} ({extensionId})
LC0017 Extension Lifecycle Extension failed to un-install: {extensionName} version {extensionVersion} by {extensionPublisher} ({extensionId})
LC0018 Extension Lifecycle Extension unpublished successfully: {extensionName} version {extensionVersion} by {extensionPublisher} ({extensionId})
LC0019 Extension Lifecycle Extension failed to un-publish: {extensionName} version {extensionVersion} by {extensionPublisher} ({extensionId})
LC0020 Extension Lifecycle Extension compiled successfully: {extensionName} version {extensionVersion} by {extensionPublisher} ({extensionId})
LC0021 Extension Lifecycle Extension failed to compile: {extensionName} version {extensionVersion} by {extensionPublisher} ({extensionId})
LC0022 Extension Lifecycle Extension updated successfully: {extensionName} version {extensionVersion} by {extensionPublisher}
LC0023 Extension Lifecycle Extension failed to update: {extensionName} version {extensionVersion} by {extensionPublisher} ({extensionId})
LC0024 Table Index Lifecycle Index enabled: {tableName}
LC0025 Table Index Lifecycle Index disabled: {tableName}
LC0026 Extension Lifecycle Dependent Extension installed successfully: {extensionName} version {extensionVersion} by {extensionPublisher} ({extensionId})
LC0027 Extension Lifecycle Dependent extension un-installed successfully: {extensionName} version {extensionVersion} by {extensionPublisher} ({extensionId})
LC0028 AppSource Submission AppSource submission validation request started: {validationRequestId}
LC0029 AppSource Submission AppSource submission validation request completed successfully: {validationRequestId}
LC0030 AppSource Submission (Version, country-region) validation started: version {version}, country/region {countryRegion}
LC0031 AppSource Submission (Version, country-region) validation completed successfully: version {version}, country/region {countryRegion}
LC0032 AppSource Submission Extension validation started: version {version}, country/region {countryRegion} for extension {extensionName} version {extensionVersion} by {extensionPublisher} ({extensionId})
LC0033 AppSource Submission Extension validation completed successfully: version {version}, country/region {countryRegion} for extension {extensionName} version {extensionVersion} by {extensionPublisher} ({extensionId})
LC0034 AppSource Submission Validation diagnostic reported: version {version}, country/region {countryRegion} for extension {extensionName} version {extensionVersion} by {extensionPublisher} ({extensionId})
LC0035 AppSource Submission AppSource submission validation request completed with failures: {validationRequestId}
LC0036 AppSource Submission (Version, country-region) validation completed with failures: version {version}, country-region {countryRegion}
LC0037 AppSource Submission Extension validation completed with failures: version {version}, country-region {countryRegion} for extension {extensionName} version {extensionVersion} by {extensionPublisher} ({extensionId})
LC0038 AppSource Submission Diagnostic reported on AppSource submission validation request: {validationRequestId}
LC0040 Task Scheduler Task {taskId} created: {codeunitObjectId} scheduled to run after {notBefore}. Ready to run: {isReady}
LC0041 Task Scheduler Task {taskId} ready: {codeunitObjectId} set ready to run after {notBefore}.
LC0042 Task Scheduler Task {taskId} removed: {codeunitObjectId}.
LC0043 Task Scheduler Task {taskId} main/failure codeunit {codeunitObjectId} completed.
LC0044 Task Scheduler Task {taskId} main/failure codeunit {codeunitObjectId} canceled.
LC0045 Task Scheduler Task {taskId} main/failure codeunit {codeunitObjectId} failed.
LC0046 Profile Configuration Lifecycle Profile import succeeded: {ProfileId} in app/extension {ProfileAppId}
LC0047 Profile Configuration Lifecycle Profile import failed: {ProfileId} in app/extension {ProfileAppId}
LC0048 Profile Configuration Lifecycle Profiles exported successfully
LC0049 Profile Configuration Lifecycle Profiles failed to be exported
LC0050 Profile Configuration Lifecycle Profile copy succeeded: {ProfileId} to {NewProfileId} from app/extension {ProfileAppId} to app/extension {NewProfileAppId}
LC0051 Profile Configuration Lifecycle Profile copy failed: {ProfileId} to {NewProfileId} from app/extension {ProfileAppId} to app/extension {NewProfileAppId}
LC0052 Profile Configuration Lifecycle Profile created successfully: {ProfileId} in app/extension {ProfileAppId}
LC0053 Profile Configuration Lifecycle Profile removed: {ProfileId} in app/extension {ProfileAppId}
LC0054 Profile Configuration Lifecycle Profile page customization removed: {ProfileId} in app/extension {ProfileAppId}
LC0055 Profile Configuration Lifecycle Profile page customization converted: {ProfileId} in app/extension {ProfileAppId}
LC0056 Extension Lifecycle Extension is already synchronized: {extensionName}
LC0100 Environment Environment update available for scheduling: {environmentName} to version {destinationVersion}.
LC0101 Environment Environment update scheduled: {environmentName} to version {destinationVersion}, update on or after date: {registeredForUpdateOnOrAfterDateUtc}
LC0102 Environment Environment update missed: {environmentName} to version {destinationVersion}
LC0103 Environment Environment update postponed: {environmentName} to version {destinationVersion}
LC0104 Environment Environment update resumed: {environmentName} to version {destinationVersion}
LC0105 Environment Environment update started: {environmentName} to version {destinationVersion}
LC0106 Environment Environment updated successfully: {environmentName} to version {destinationVersion}
LC0107 Environment Environment failed to update: {environmentName} to version {destinationVersion}
LC0110 Environment Environment restart operation initiated: {environmentName}
LC0111 Environment Environment restarted successfully: {environmentName}
LC0112 Environment Environment restart operation failed: {environmentName}
LC0113 Environment Environment start operation initiated: {environmentName}
LC0114 Environment Environment started successfully: {environmentName}
LC0115 Environment Environment start operation failed: {environmentName}
LC0116 Environment Environment stop operation initiated: {environmentName}
LC0117 Environment Environment stopped successfully: {environmentName}
LC0118 Environment Environment stop operation failed: {environmentName}
LC0119 Environment Environment copy operation started on source: {environmentName} to {destinationEnvironmentName}
LC0120 Environment Environment copied successfully: {environmentName} to {destinationEnvironmentName}
LC0121 Environment Environment copy operation failed on source: {environmentName} to {destinationEnvironmentName}
LC0122 Environment Environment copy operation started on destination: {environmentName} from {sourceEnvironmentName}
LC0123 Environment Environment copied successfully to destination: {environmentName} from {sourceEnvironmentName}
LC0124 Environment Environment copy operation failed on destination: {environmentName} from {sourceEnvironmentName}
LC0125 Environment Environment point-in-time restore operation started on source: {environmentName} to {destinationEnvironmentName}
LC0126 Environment Environment point-in-time restored successfully: {environmentName} to {destinationEnvironmentName}
LC0127 Environment Environment point-in-time restore operation failed on source: {environmentName} to {destinationEnvironmentName}
LC0128 Environment Environment point-in-time restore operation started on destination: {environmentName} from {sourceEnvironmentName}
LC0129 Environment Environment point-in-time restored successfully to destination: {environmentName} from {sourceEnvironmentName}
LC0130 Environment Environment point-in-time restore operation failed on destination: {environmentName} from {sourceEnvironmentName}
LC0131 Environment Environment move to {destinationAadTenantId} AAD tenant operation scheduled to run at {registeredForMoveDateUtc}: {sourceEnvironmentName}
LC0132 Environment Environment move to {destinationAadTenantId} AAD tenant operation scheduling failed: {sourceEnvironmentName}
LC0133 Environment Environment move to {destinationAadTenantId} AAD tenant operation started: {sourceEnvironmentName}
LC0134 Environment Environment moved to {destinationAadTenantId} AAD tenant successfully: {sourceEnvironmentName}
LC0135 Environment Environment move to {destinationAadTenantId} AAD tenant operation failed: {sourceEnvironmentName}
LC0136 Environment Environment session {sessionId} cancellation started: {environmentName}
LC0137 Environment Environment session {sessionId} cancelled successfully: {environmentName}
LC0138 Environment Environment session {sessionId} cancellation failed: {environmentName}
LC0139 Environment Environment database export operation started: {environmentName}
LC0140 Environment Environment session {sessionId} cancelled successfully: {environmentName}
LC0141 Environment Environment session {sessionId} cancellation failed: {environmentName}
LC0142 Environment Environment configuration key {environmentConfigurationKey} updated for environment {environmentName} to value: {newValue}
LC0143 Environment Environment configuration key {environmentConfigurationKey} failed to update for environment {environmentName}
LC0144 Environment Environment configuration key {environmentConfigurationKey} deleted for environment {environmentName}
LC0145 Environment Environment configuration key {environmentConfigurationKey} failed to delete for environment {environmentName}
LC0146 Environment Environment update window was modified for environment: {environmentName}
LC0147 Environment Environment update window modification failed for environment: {environmentName}
LC0149 Environment Environment delete operation started: {environmentName}
LC0150 Environment Environment deleted successfully: {environmentName}
LC0151 Environment Environment delete operation failed: {environmentName}
LC0152 Environment Environment rename operation started: {environmentName}
LC0153 Environment Environment renamed successfully: {environmentName}
LC0154 Environment Environment rename operation failed: {environmentName}
LC0155 Environment Environment app '{extensionName}' hotfix to version {extensionDestinationVersion} scheduled for environment: {environmentName}
LC0156 Environment Environment app '{extensionName}' hotfix to version {extensionDestinationVersion} scheduling failed for environment: {environmentName}
LC0157 Environment Environment app '{extensionName}' hotfix to version {extensionDestinationVersion} was cancelled for environment: {environmentName}
LC0158 Environment Environment app '{extensionName}' hotfix to version {extensionDestinationVersion} started for environment: {environmentName}
LC0159 Environment Environment app '{extensionName}' hotfix to version {extensionDestinationVersion} applied successfully for environment: {environmentName}
LC0160 Environment Environment app '{extensionName}' hotfix to version {extensionDestinationVersion} failed for environment: {environmentName}
LC0161 Extension Lifecycle Environment app {extensionName} install to version {extensionDestinationVersion} scheduled for environment: {environmentName}
LC0162 Extension Lifecycle Environment app {extensionId}, version {extensionDestinationVersion} installation scheduling failed for environment: {environmentName}
LC0163 Extension Lifecycle Environment app {extensionId}, version {extensionDestinationVersion} installation started for environment: {environmentName}
LC0164 Extension Lifecycle Environment app {extensionName}, version {extensionVersion} installation succeeded for environment: {environmentName}
LC0165 Extension Lifecycle Environment app {extensionName}, version {extensionDestinationVersion} installation failed for environment: {environmentName}
LC0166 Extension Lifecycle Environment app {extensionName}, version {extensionDestinationVersion} installation/update requires automatically installing a new dependency app dependencyExtensionName}, version {dependencyExtensionDestinationVersion} for environment: {environmentName}
LC0167 Extension Lifecycle Environment app {extensionName} update to version {extensionDestinationVersion} scheduled for environment: {environmentName}
LC0168 Extension Lifecycle Environment app {extensionId} update to version {extensionDestinationVersion} scheduling failed for environment: {environmentName}
LC0169 Extension Lifecycle Environment app {extensionId} update to version {extensionDestinationVersion} started for environment: {environmentName}
LC0170 Extension Lifecycle Environment app {extensionId} update to version {extensionDestinationVersion} succeeded for environment: {environmentName}
LC0171 Extension Lifecycle Environment app {extensionId} update to version {extensionDestinationVersion} failed for environment: {environmentName}
LC0173 Extension Lifecycle Environment app {extensionName} uninstall scheduled for environment: {environmentName}
LC0174 Extension Lifecycle Environment app {extensionId} uninstall scheduling failed for environment: {environmentName}
LC0175 Environment Environment data upgrade operation started: {environmentName}
LC0176 Environment Environment data upgrade operation completed successfully: {environmentName}
LC0177 Environment Environment data upgrade operation failed: {environmentName}
LC0178 Environment Recovery from a failed data upgrade operation has completed successfully: {environmentName}
LC0179 Environment Recovery from a failed data upgrade operation has failed: {environmentName}

Runtime events

Event ID Area Message
RT0001 Authorization Authorization Failed (Pre Open Company): {failure reason}
RT0002 Authorization Authorization Failed (Open Company): {failure reason}
RT0003 Authorization Authorization Succeeded (Pre Open Company)
RT0004 Authorization Authorization Succeeded (Open Company)
RT0005 Performance Operation exceeded time threshold (SQL query)
RT0006 Report generation Success report generation
RT0006 Report generation Report rendering failed: {report ID} - {report name}
RT0007 Report generation Cancellation report generation
RT0008 Incoming Web service requests Web service called ({category of request}): {endpoint}
RT0010 Extension lifecycle Extension Update Failed: exception raised in extension {extensionName} by {extensionPublisher} (updating to version {extensionTargetedVersion})
RT0011 Report generation Report cancelled but a commit occurred
RT0012 Performance Database lock timed out
RT0013 Performance Database lock snapshot: {snapshotId}
RT0014 Security App Key Vault initialization succeeded: '{keyVaultUri}'
RT0015 Security App Key Vault initialization failed
RT0016 Security App Key Vault secret retrieval succeeded from key vault '{keyVaultUri}'
RT0017 Security App Key Vault secret retrieval failed from key vault: '{keyVaultUri}'
RT0018 Performance Operation exceeded time threshold (AL method)
RT0019 Outgoing Web service requests Web Service Called (Outgoing): {endpoint}
RT0020 Web service key request Authentication with Web Service Key succeeded: {endpoint}
RT0021 Web service key request Authentication with Web Service Key failed: {endpoint}
RT0023 Troubleshooting Verbose telemetry enabled for session: {sessionId}
RT0024 Troubleshooting Verbose telemetry disabled for session: {sessionId}
RT0025 Performance Database wait statistics snapshot taken: {snapshotId}
RT0026 Performance Database wait statistics snapshot entry: {databaseWaitStatisticsCategory}
RT0028 Performance Database deadlock occurred
RT0029 Sessions The StopSession method was invoked on session {failureReason}
RT0030 Error method call Error dialog displayed: {errorMessage}
RT0031 Permission error Permission error shown

See also

Telemetry Event IDs
Enable Sending Telemetry to Application Insights