Edit

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

Dimension Description or value
message App secret initialization failed
severityLevel 3 (Error)

Custom dimensions

Dimension Description or value
aadTenantId Specifies 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.
component Dynamics 365 Business Central Server
componentVersion Specifies the version number of the component that emits telemetry.
environmentName Specifies the name of the tenant environment. Learn more in Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
eventId RT0022
failureReason Specifies 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