Analyze app resource exposure policy telemetry

APPLIES TO: Business Central 2024 release wave 2 and later

App resource exposure policy telemetry gathers data about failures when parsing or applying resource exposure policy overrides defined in extensions. Resource exposure policies control which resources (pages, codeunits, tables, and so on) in an extension that other extensions can access.

App resource exposure policy overrides parse failed

Occurs when Business Central fails to parse the resource exposure policy overrides defined in an extension.

General dimensions

DimensionDescription or value
messageApp secret initialization failed
severityLevel3 (Error)

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
componentDynamics 365 Business Central Server
componentVersionSpecifies the version number of the component that emits telemetry.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
eventIdRT0022
failureReasonSpecifies the reason why parsing the resource exposure policy overrides failed.

Sample KQL code

traces
| where timestamp > ago(60d)
| where customDimensions.eventId == 'RT0022'
| project timestamp
, message
, aadTenantId = customDimensions.aadTenantId
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
, failureReason = customDimensions.failureReason

To learn more about how to set up alerting on Business Central telemetry, see Alert on Telemetry.

Monitoring and Analyzing Telemetry
Enable Sending Telemetry to Application Insights
Resource Exposure Policy