{"title":"Analyze MCP configuration telemetry","url":"https://jonas-paprotka.de/docs/dev-itpro/administration/telemetry-mcp-configuration-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-mcp-configuration-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-mcp-configuration-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 the MCP (Model Context Protocol) configuration telemetry in Business Central","date":"2026-04-29","meta":{"topic":"how-to"},"outline":[{"level":1,"title":"Analyze MCP configuration telemetry","slug":"analyze-mcp-configuration-telemetry","at":0,"chars":11191},{"level":2,"title":"MCP configuration created","slug":"mcp-configuration-created","at":662,"chars":2124},{"level":3,"title":"General dimensions","slug":"general-dimensions","at":739,"chars":303},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions","at":1042,"chars":1159},{"level":3,"title":"Sample KQL code","slug":"sample-kql-code","at":2201,"chars":585},{"level":2,"title":"MCP configuration modified","slug":"mcp-configuration-modified","at":2786,"chars":2585},{"level":3,"title":"General dimensions","slug":"general-dimensions-1","at":2871,"chars":304},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-1","at":3175,"chars":1490},{"level":3,"title":"Sample KQL code","slug":"sample-kql-code-1","at":4665,"chars":706},{"level":2,"title":"MCP configuration deleted","slug":"mcp-configuration-deleted","at":5371,"chars":2078},{"level":3,"title":"General dimensions","slug":"general-dimensions-2","at":5445,"chars":303},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-2","at":5748,"chars":1167},{"level":3,"title":"Sample KQL code","slug":"sample-kql-code-2","at":6915,"chars":534},{"level":2,"title":"MCP default configuration designated","slug":"mcp-default-configuration-designated","at":7449,"chars":2203},{"level":3,"title":"General dimensions","slug":"general-dimensions-3","at":7566,"chars":314},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-3","at":7880,"chars":1122},{"level":3,"title":"Sample KQL code","slug":"sample-kql-code-3","at":9002,"chars":650},{"level":2,"title":"Sample KQL code for monitoring all MCP configuration changes","slug":"sample-kql-code-for-monitoring-all-mcp-configuration-changes","at":9652,"chars":941},{"level":2,"title":"Related information","slug":"related-information","at":10593,"chars":598}],"text":"# Analyze MCP configuration telemetry\nAPPLIES TO: Business Central 2026 release wave 1, version 28.0, and later\nModel Context Protocol (MCP)<../ai/mcp-overview> configuration telemetry gathers data about the following operations:\n An MCP configuration was created\n An MCP configuration was modified\n An MCP configuration was deleted\n An MCP configuration was designated as the default\nUse this telemetry to track changes to MCP server configurations in your environment. This information is useful for auditing and troubleshooting AI agent integrations. Learn how to configure the MCP server in Configure Business Central MCP Server<../ai/configure-mcp-server>.\n## MCP configuration created\nOccurs when a new MCP configuration is created.\n### General dimensions\nDimension|Description or value\nmessage|MCP Configuration created\nuser_Id|The user telemetry ID for the user. From the user card, you can use user_Id to identify the user who triggered this telemetry event. See telemetry-enable-application-insights#assign-a-telemetry-id-to-users.\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.\ncompanyName|The current company name.\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|AL0000R0Q\nalActive|Specifies whether the configuration is active. Values are true or false.\nalDiscoverReadOnlyObjects|Specifies whether the configuration discovers read-only objects. Values are true or false.\nalDynamicToolMode|Specifies whether dynamic tool mode is enabled. Values are true or false.\nalIsDesignatedDefault|Specifies whether this configuration is designated as the default. Values are true or false.\nalMCPConfigurationName|Specifies the name of the MCP configuration.\nalUnblockEditTools|Specifies whether edit tools are allowed for production environments. Values are true or false.\n### Sample KQL code\nThis KQL code can help you get started analyzing MCP configuration creation:\n```kql\ntraces\n| where timestamp > ago(60d) // adjust as needed\n| where customDimensions.eventId == 'AL0000R0Q'\n| project timestamp\n, aadTenantId = customDimensions.aadTenantId\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n, companyName = customDimensions.companyName\n, mcpConfigurationName = customDimensions.alMCPConfigurationName\n, active = customDimensions.alActive\n, dynamicToolMode = customDimensions.alDynamicToolMode\n```\n## MCP configuration modified\nOccurs when an existing MCP configuration is modified.\n### General dimensions\nDimension|Description or value\nmessage|MCP Configuration modified\nuser_Id|The user telemetry ID for the user. From the user card, you can use user_Id to identify the user who triggered this telemetry event. See telemetry-enable-application-insights#assign-a-telemetry-id-to-users.\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.\ncompanyName|The current company name.\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|AL0000QE9\nalMCPConfigurationName|Specifies the name of the MCP configuration.\nalOldActive|Specifies the previous value of the Active setting (only included if changed).\nalNewActive|Specifies the new value of the Active setting (only included if changed).\nalOldUnblockEditTools|Specifies the previous value of the UnblockEditTools setting (only included if changed).\nalNewUnblockEditTools|Specifies the new value of the UnblockEditTools setting (only included if changed).\nalOldDynamicToolMode|Specifies the previous value of the DynamicToolMode setting (only included if changed).\nalNewDynamicToolMode|Specifies the new value of the DynamicToolMode setting (only included if changed).\nalOldDiscoverReadOnlyObjects|Specifies the previous value of the DiscoverReadOnlyObjects setting (only included if changed).\nalNewDiscoverReadOnlyObjects|Specifies the new value of the DiscoverReadOnlyObjects setting (only included if changed).\n### Sample KQL code\nThis KQL code can help you get started analyzing MCP configuration modifications:\n```kql\ntraces\n| where timestamp > ago(60d) // adjust as needed\n| where customDimensions.eventId == 'AL0000QE9'\n| project timestamp\n, aadTenantId = customDimensions.aadTenantId\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n, companyName = customDimensions.companyName\n, mcpConfigurationName = customDimensions.alMCPConfigurationName\n, oldActive = customDimensions.alOldActive\n, newActive = customDimensions.alNewActive\n, oldDynamicToolMode = customDimensions.alOldDynamicToolMode\n, newDynamicToolMode = customDimensions.alNewDynamicToolMode\n```\n## MCP configuration deleted\nOccurs when an MCP configuration is deleted.\n### General dimensions\nDimension|Description or value\nmessage|MCP Configuration deleted\nuser_Id|The user telemetry ID for the user. From the user card, you can use user_Id to identify the user who triggered this telemetry event. See telemetry-enable-application-insights#assign-a-telemetry-id-to-users.\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.\ncompanyName|The current company name.\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|AL0000QEB\nalActive|Specifies whether the deleted configuration was active. Values are true or false.\nalDiscoverReadOnlyObjects|Specifies whether the deleted configuration discovered read-only objects. Values are true or false.\nalDynamicToolMode|Specifies whether dynamic tool mode was enabled. Values are true or false.\nalIsDesignatedDefault|Specifies whether the deleted configuration was designated as the default. Values are true or false.\nalMCPConfigurationName|Specifies the name of the deleted MCP configuration.\nalUnblockEditTools|Specifies whether edit tools were allowed. Values are true or false.\n### Sample KQL code\nThis KQL code can help you get started analyzing MCP configuration deletions:\n```kql\ntraces\n| where timestamp > ago(60d) // adjust as needed\n| where customDimensions.eventId == 'AL0000QEB'\n| project timestamp\n, aadTenantId = customDimensions.aadTenantId\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n, companyName = customDimensions.companyName\n, mcpConfigurationName = customDimensions.alMCPConfigurationName\n, wasActive = customDimensions.alActive\n```\n## MCP default configuration designated\nOccurs when an MCP configuration is designated as the default configuration.\n### General dimensions\nDimension|Description or value\nmessage|MCP default configuration designated\nuser_Id|The user telemetry ID for the user. From the user card, you can use user_Id to identify the user who triggered this telemetry event. See telemetry-enable-application-insights#assign-a-telemetry-id-to-users.\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.\ncompanyName|The current company name.\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|AL0000R0R\nalActive|Specifies whether the configuration is active. Values are true or false.\nalDiscoverReadOnlyObjects|Specifies whether the configuration discovers read-only objects. Values are true or false.\nalDynamicToolMode|Specifies whether dynamic tool mode is enabled. Values are true or false.\nalIsDesignatedDefault|Specifies whether this configuration is designated as the default (should be true).\nalMCPConfigurationName|Specifies the name of the MCP configuration.\nalUnblockEditTools|Specifies whether edit tools are allowed. Values are true or false.\n### Sample KQL code\nThis KQL code can help you get started analyzing MCP default configuration changes:\n```kql\ntraces\n| where timestamp > ago(60d) // adjust as needed\n| where customDimensions.eventId == 'AL0000R0R'\n| project timestamp\n, aadTenantId = customDimensions.aadTenantId\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n, companyName = customDimensions.companyName\n, mcpConfigurationName = customDimensions.alMCPConfigurationName\n, dynamicToolMode = customDimensions.alDynamicToolMode\n```\nTo learn more about how to set up alerting on Business Central telemetry, see telemetry-alert.\n## Sample KQL code for monitoring all MCP configuration changes\nUse this KQL code to monitor all MCP configuration lifecycle events:\n```kql\ntraces\n| where timestamp > ago(1d) // adjust as needed\n| where customDimensions.eventId in ('AL0000R0Q', 'AL0000QE9', 'AL0000QEB', 'AL0000R0R')\n| extend eventId = tostring(customDimensions.eventId)\n| extend eventType = case(\n    eventId == 'AL0000R0Q', 'Created',\n    eventId == 'AL0000QE9', 'Modified',\n    eventId == 'AL0000QEB', 'Deleted',\n    eventId == 'AL0000R0R', 'Default Designated',\n    'Unknown'\n)\n| project timestamp\n, aadTenantId = customDimensions.aadTenantId\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n, companyName = customDimensions.companyName\n, eventType\n, mcpConfigurationName = customDimensions.alMCPConfigurationName\n```\nTo learn more about how to set up alerting on Business Central telemetry, see telemetry-alert.\n## Related information\nModel Context Protocol (MCP) in Business Central overview<../ai/mcp-overview>\nConfigure Business Central MCP Server<../ai/configure-mcp-server>\nConnect to Business Central MCP Server with Visual Studio Code<../ai/use-mcp-server-in-vscode>\nConnect to Business Central MCP server with non-Microsoft clients<../ai/use-mcp-server-non-microsoft>\nBusiness Central Admin Center API MCP server<administration-center-api-mcp>\nMonitoring and Analyzing Telemetry<telemetry-overview>\nEnable Sending Telemetry to Application Insights<telemetry-enable-application-insights>\ntelemetry-alert"}