{"title":"Analyze app resource exposure policy telemetry","url":"https://jonas-paprotka.de/docs/dev-itpro/administration/telemetry-app-resource-exposure-trace/","by":"JOP-AL","license":"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-app-resource-exposure-trace, 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.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/telemetry-app-resource-exposure-trace","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Learn about app resource exposure policy telemetry in Business Central","date":"2026-05-01","meta":{"topic":"how-to"},"outline":[{"level":1,"title":"Analyze app resource exposure policy telemetry","slug":"analyze-app-resource-exposure-policy-telemetry","at":0,"chars":2118},{"level":2,"title":"App resource exposure policy overrides parse failed","slug":"app-resource-exposure-policy-overrides-parse-failed","at":397,"chars":1474},{"level":3,"title":"General dimensions","slug":"general-dimensions","at":560,"chars":119},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions","at":679,"chars":755},{"level":3,"title":"Sample KQL code","slug":"sample-kql-code","at":1434,"chars":437},{"level":2,"title":"Related information","slug":"related-information","at":1871,"chars":247}],"text":"# Analyze app resource exposure policy telemetry\nAPPLIES TO: Business Central 2024 release wave 2 and later\nApp 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.\n## App resource exposure policy overrides parse failed\nOccurs when Business Central fails to parse the resource exposure policy overrides defined in an extension.\n### General dimensions\nDimension|Description or value\nmessage|App secret initialization failed\nseverityLevel|3 (Error)\n### Custom dimensions\nDimension|Description or value\naadTenantId|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.\ncomponent|Dynamics 365 Business Central Server\ncomponentVersion|Specifies the version number of the component that emits telemetry.\nenvironmentName|Specifies the name of the tenant environment. See Managing Environments<tenant-admin-center-environments>.\nenvironmentType|Specifies the environment type for the tenant, such as Production or Sandbox. See tenant-admin-center-environments#types-of-environments.\neventId|RT0022\nfailureReason|Specifies the reason why parsing the resource exposure policy overrides failed.\n### Sample KQL code\n```kql\ntraces\n| where timestamp > ago(60d)\n| where customDimensions.eventId == 'RT0022'\n| project timestamp\n, message\n, aadTenantId = customDimensions.aadTenantId\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n, failureReason = customDimensions.failureReason\n```\nTo learn more about how to set up alerting on Business Central telemetry, see telemetry-alert.\n## Related information\nMonitoring and Analyzing Telemetry<telemetry-overview>\nEnable Sending Telemetry to Application Insights<telemetry-enable-application-insights>\nResource Exposure Policy<../developer/devenv-security-settings-and-ip-protection>"}