{"title":"Analyzing environment lifecycle trace telemetry","url":"https://jonas-paprotka.de/docs/dev-itpro/administration/telemetry-environment-lifecycle-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-environment-lifecycle-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-environment-lifecycle-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":"Analyze Business Central environment lifecycle telemetry to monitor updates, restarts, copies, restores, transfers, and other administrative operations.","date":"2026-11-17","meta":{"topic":"reference"},"outline":[{"level":1,"title":"Analyzing environment lifecycle trace telemetry","slug":"analyzing-environment-lifecycle-trace-telemetry","at":0,"chars":124485},{"level":2,"title":"Custom dimensions available in all events","slug":"custom-dimensions-available-in-all-events","at":845,"chars":618},{"level":2,"title":"Environment update available","slug":"environment-update-available","at":1463,"chars":1723},{"level":3,"title":"General dimensions","slug":"general-dimensions","at":1554,"chars":309},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions","at":1863,"chars":1323},{"level":2,"title":"Environment update scheduled","slug":"environment-update-scheduled","at":3186,"chars":2660},{"level":3,"title":"General dimensions","slug":"general-dimensions-1","at":3274,"chars":517},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-1","at":3791,"chars":2055},{"level":2,"title":"Environment update missed","slug":"environment-update-missed","at":5846,"chars":2169},{"level":3,"title":"General dimensions","slug":"general-dimensions-2","at":6025,"chars":291},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-2","at":6316,"chars":1699},{"level":2,"title":"Environment update postponed","slug":"environment-update-postponed","at":8015,"chars":1399},{"level":3,"title":"General dimensions","slug":"general-dimensions-3","at":8139,"chars":308},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-3","at":8447,"chars":967},{"level":2,"title":"Environment update resumed","slug":"environment-update-resumed","at":9414,"chars":2107},{"level":3,"title":"General dimensions","slug":"general-dimensions-4","at":9530,"chars":292},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-4","at":9822,"chars":1699},{"level":2,"title":"Environment update started","slug":"environment-update-started","at":11521,"chars":2386},{"level":3,"title":"General dimensions","slug":"general-dimensions-5","at":11607,"chars":292},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-5","at":11899,"chars":2008},{"level":2,"title":"Environment updated successfully","slug":"environment-updated-successfully","at":13907,"chars":2236},{"level":3,"title":"General dimensions","slug":"general-dimensions-6","at":13997,"chars":298},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-6","at":14295,"chars":1848},{"level":2,"title":"Environment failed to update","slug":"environment-failed-to-update","at":16143,"chars":3967},{"level":3,"title":"General dimensions","slug":"general-dimensions-7","at":16226,"chars":294},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-7","at":16520,"chars":2220},{"level":3,"title":"Sample KQL code (failed environment updates)","slug":"sample-kql-code-failed-environment-updates","at":18740,"chars":1370},{"level":2,"title":"Environment restart operation initiated","slug":"environment-restart-operation-initiated","at":20110,"chars":1158},{"level":3,"title":"General dimensions","slug":"general-dimensions-8","at":20227,"chars":193},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-8","at":20420,"chars":848},{"level":2,"title":"Environment restarted successfully","slug":"environment-restarted-successfully","at":21268,"chars":1195},{"level":3,"title":"General dimensions","slug":"general-dimensions-9","at":21369,"chars":188},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-9","at":21557,"chars":906},{"level":2,"title":"Environment restart operation failed","slug":"environment-restart-operation-failed","at":22463,"chars":1905},{"level":3,"title":"General dimensions","slug":"general-dimensions-10","at":22563,"chars":190},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-10","at":22753,"chars":988},{"level":3,"title":"Sample KQL code (failed environment restart)","slug":"sample-kql-code-failed-environment-restart","at":23741,"chars":627},{"level":2,"title":"Environment start operation initiated","slug":"environment-start-operation-initiated","at":24368,"chars":1150},{"level":3,"title":"General dimensions","slug":"general-dimensions-11","at":24479,"chars":191},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-11","at":24670,"chars":848},{"level":2,"title":"Environment started successfully","slug":"environment-started-successfully","at":25518,"chars":1189},{"level":3,"title":"General dimensions","slug":"general-dimensions-12","at":25615,"chars":186},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-12","at":25801,"chars":906},{"level":2,"title":"Environment start operation failed","slug":"environment-start-operation-failed","at":26707,"chars":1905},{"level":3,"title":"General dimensions","slug":"general-dimensions-13","at":26803,"chars":188},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-13","at":26991,"chars":988},{"level":3,"title":"Sample KQL code (failed environment start operation)","slug":"sample-kql-code-failed-environment-start-operation","at":27979,"chars":633},{"level":2,"title":"Environment stop operation initiated","slug":"environment-stop-operation-initiated","at":28612,"chars":1147},{"level":3,"title":"General dimensions","slug":"general-dimensions-14","at":28721,"chars":190},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-14","at":28911,"chars":848},{"level":2,"title":"Environment stopped successfully","slug":"environment-stopped-successfully","at":29759,"chars":1188},{"level":3,"title":"General dimensions","slug":"general-dimensions-15","at":29855,"chars":186},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-15","at":30041,"chars":906},{"level":2,"title":"Environment stop operation failed","slug":"environment-stop-operation-failed","at":30947,"chars":1900},{"level":3,"title":"General dimensions","slug":"general-dimensions-16","at":31041,"chars":187},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-16","at":31228,"chars":988},{"level":3,"title":"Sample KQL code (failed environment stop operation)","slug":"sample-kql-code-failed-environment-stop-operation","at":32216,"chars":631},{"level":2,"title":"Environment copy operation started on source","slug":"environment-copy-operation-started-on-source","at":32847,"chars":1595},{"level":3,"title":"General dimensions","slug":"general-dimensions-17","at":32979,"chars":324},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-17","at":33303,"chars":1139},{"level":2,"title":"Environment copied successfully","slug":"environment-copied-successfully","at":34442,"chars":1604},{"level":3,"title":"General dimensions","slug":"general-dimensions-18","at":34537,"chars":312},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-18","at":34849,"chars":1197},{"level":2,"title":"Environment copy operation failed on source","slug":"environment-copy-operation-failed-on-source","at":36046,"chars":2677},{"level":3,"title":"General dimensions","slug":"general-dimensions-19","at":36176,"chars":324},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-19","at":36500,"chars":1279},{"level":3,"title":"Sample KQL code (failed environment copy on source)","slug":"sample-kql-code-failed-environment-copy-on-source","at":37779,"chars":944},{"level":2,"title":"Environment copy operation started on destination","slug":"environment-copy-operation-started-on-destination","at":38723,"chars":1583},{"level":3,"title":"General dimensions","slug":"general-dimensions-20","at":38865,"chars":332},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-20","at":39197,"chars":1109},{"level":2,"title":"Environment copied successfully to destination","slug":"environment-copied-successfully-to-destination","at":40306,"chars":1637},{"level":3,"title":"General dimensions","slug":"general-dimensions-21","at":40447,"chars":329},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-21","at":40776,"chars":1167},{"level":2,"title":"Environment copy operation failed on destination","slug":"environment-copy-operation-failed-on-destination","at":41943,"chars":2644},{"level":3,"title":"General dimensions","slug":"general-dimensions-22","at":42083,"chars":331},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-22","at":42414,"chars":1249},{"level":3,"title":"Sample KQL code (failed environment copy on destination)","slug":"sample-kql-code-failed-environment-copy-on-destination","at":43663,"chars":924},{"level":2,"title":"Environment point-in-time restore operation started on source","slug":"environment-point-in-time-restore-operation-started-on-source","at":44587,"chars":1758},{"level":3,"title":"General dimensions","slug":"general-dimensions-23","at":44746,"chars":360},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-23","at":45106,"chars":1239},{"level":2,"title":"Environment point-in-time restored successfully","slug":"environment-point-in-time-restored-successfully","at":46345,"chars":1784},{"level":3,"title":"General dimensions","slug":"general-dimensions-24","at":46486,"chars":346},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-24","at":46832,"chars":1297},{"level":2,"title":"Environment point-in-time restore operation failed on source","slug":"environment-point-in-time-restore-operation-failed-on-source","at":48129,"chars":2897},{"level":3,"title":"General dimensions","slug":"general-dimensions-25","at":48267,"chars":359},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-25","at":48626,"chars":1379},{"level":3,"title":"Sample KQL code (failed environment point-in-time operation on source)","slug":"sample-kql-code-failed-environment-point-in-time-operation-on-source","at":50005,"chars":1021},{"level":2,"title":"Environment point-in-time restore operation started on destination","slug":"environment-point-in-time-restore-operation-started-on-destination","at":51026,"chars":1669},{"level":3,"title":"General dimensions","slug":"general-dimensions-26","at":51202,"chars":352},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-26","at":51554,"chars":1141},{"level":2,"title":"Environment point-in-time restored successfully to destination","slug":"environment-point-in-time-restored-successfully-to-destination","at":52695,"chars":1802},{"level":3,"title":"General dimensions","slug":"general-dimensions-27","at":52882,"chars":348},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-27","at":53230,"chars":1267},{"level":2,"title":"Environment point-in-time restore operation failed on destination","slug":"environment-point-in-time-restore-operation-failed-on-destination","at":54497,"chars":2873},{"level":3,"title":"General dimensions","slug":"general-dimensions-28","at":54671,"chars":349},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-28","at":55020,"chars":1349},{"level":3,"title":"Sample KQL code (failed environment point-in-time operation on destination)","slug":"sample-kql-code-failed-environment-point-in-time-operation-on-destination","at":56369,"chars":1001},{"level":2,"title":"Environment transfer to different Entra tenant operation scheduled","slug":"environment-transfer-to-different-entra-tenant-operation-scheduled","at":57370,"chars":1646},{"level":3,"title":"General dimensions","slug":"general-dimensions-29","at":57594,"chars":479},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-29","at":58073,"chars":943},{"level":2,"title":"Environment transfer to different Entra tenant operation scheduling failed","slug":"environment-transfer-to-different-entra-tenant-operation-scheduling-failed","at":59016,"chars":2703},{"level":3,"title":"General dimensions","slug":"general-dimensions-30","at":59263,"chars":340},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-30","at":59603,"chars":1083},{"level":3,"title":"Sample KQL code (failed move of environment to different Microsoft Entra tenant)","slug":"sample-kql-code-failed-move-of-environment-to-different-microsoft-entra-tenant","at":60686,"chars":1033},{"level":2,"title":"Environment transfer to different Entra tenant operation started","slug":"environment-transfer-to-different-entra-tenant-operation-started","at":61719,"chars":1296},{"level":3,"title":"General dimensions","slug":"general-dimensions-31","at":61874,"chars":330},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-31","at":62204,"chars":811},{"level":2,"title":"Environment transferred successfully to different Entra tenant","slug":"environment-transferred-successfully-to-different-entra-tenant","at":63015,"chars":1398},{"level":3,"title":"General dimensions","slug":"general-dimensions-32","at":63187,"chars":357},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-32","at":63544,"chars":869},{"level":2,"title":"Environment transfer to different Entra tenant failed","slug":"environment-transfer-to-different-entra-tenant-failed","at":64413,"chars":2449},{"level":3,"title":"General dimensions","slug":"general-dimensions-33","at":64560,"chars":338},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-33","at":64898,"chars":951},{"level":3,"title":"Sample KQL code (failed move of environment to different Microsoft Entra tenant)","slug":"sample-kql-code-failed-move-of-environment-to-different-microsoft-entra-tenant-1","at":65849,"chars":1013},{"level":2,"title":"Environment session cancellation started","slug":"environment-session-cancellation-started","at":66862,"chars":1314},{"level":3,"title":"General dimensions","slug":"general-dimensions-34","at":66980,"chars":289},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-34","at":67269,"chars":907},{"level":2,"title":"Environment session cancelled successfully","slug":"environment-session-cancelled-successfully","at":68176,"chars":1374},{"level":3,"title":"General dimensions","slug":"general-dimensions-35","at":68294,"chars":291},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-35","at":68585,"chars":965},{"level":2,"title":"Environment session cancellation failed","slug":"environment-session-cancellation-failed","at":69550,"chars":2126},{"level":3,"title":"General dimensions","slug":"general-dimensions-36","at":69666,"chars":288},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-36","at":69954,"chars":1047},{"level":3,"title":"Sample KQL code (failed cancellation of session)","slug":"sample-kql-code-failed-cancellation-of-session","at":71001,"chars":675},{"level":2,"title":"Environment database export operation started","slug":"environment-database-export-operation-started","at":71676,"chars":1246},{"level":3,"title":"General dimensions","slug":"general-dimensions-37","at":71791,"chars":199},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-37","at":71990,"chars":932},{"level":2,"title":"Environment database exported successfully","slug":"environment-database-exported-successfully","at":72922,"chars":1318},{"level":3,"title":"General dimensions","slug":"general-dimensions-38","at":73054,"chars":196},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-38","at":73250,"chars":990},{"level":2,"title":"Environment database export operation failed","slug":"environment-database-export-operation-failed","at":74240,"chars":2066},{"level":3,"title":"General dimensions","slug":"general-dimensions-39","at":74356,"chars":198},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-39","at":74554,"chars":1072},{"level":3,"title":"Sample KQL code (failed database export operation)","slug":"sample-kql-code-failed-database-export-operation","at":75626,"chars":680},{"level":2,"title":"Environment configuration key updated","slug":"environment-configuration-key-updated","at":76306,"chars":1617},{"level":3,"title":"General dimensions","slug":"general-dimensions-40","at":76425,"chars":423},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-40","at":76848,"chars":1075},{"level":2,"title":"Environment configuration key failed to update","slug":"environment-configuration-key-failed-to-update","at":77923,"chars":2339},{"level":3,"title":"General dimensions","slug":"general-dimensions-41","at":78047,"chars":245},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-41","at":78292,"chars":1219},{"level":3,"title":"Sample KQL code (environment configuration key failed to update)","slug":"sample-kql-code-environment-configuration-key-failed-to-update","at":79511,"chars":751},{"level":2,"title":"Environment configuration key deleted","slug":"environment-configuration-key-deleted","at":80262,"chars":1473},{"level":3,"title":"General dimensions","slug":"general-dimensions-42","at":80381,"chars":340},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-42","at":80721,"chars":1014},{"level":2,"title":"Environment configuration key failed to be deleted","slug":"environment-configuration-key-failed-to-be-deleted","at":81735,"chars":2244},{"level":3,"title":"General dimensions","slug":"general-dimensions-43","at":81863,"chars":245},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-43","at":82108,"chars":1154},{"level":3,"title":"Sample KQL code (environment configuration key failed to be deleted)","slug":"sample-kql-code-environment-configuration-key-failed-to-be-deleted","at":83262,"chars":717},{"level":2,"title":"Environment update window modified","slug":"environment-update-window-modified","at":83979,"chars":1478},{"level":3,"title":"General dimensions","slug":"general-dimensions-44","at":84093,"chars":208},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-44","at":84301,"chars":1156},{"level":2,"title":"Environment update window modification failed","slug":"environment-update-window-modification-failed","at":85457,"chars":2586},{"level":3,"title":"General dimensions","slug":"general-dimensions-45","at":85557,"chars":215},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-45","at":85772,"chars":1296},{"level":3,"title":"Sample KQL code (environment update window modification failed)","slug":"sample-kql-code-environment-update-window-modification-failed","at":87068,"chars":975},{"level":2,"title":"Environment (soft) delete operation started","slug":"environment-soft-delete-operation-started","at":88043,"chars":1222},{"level":3,"title":"General dimensions","slug":"general-dimensions-46","at":88161,"chars":195},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-46","at":88356,"chars":909},{"level":2,"title":"Environment (soft) deleted","slug":"environment-soft-deleted","at":89265,"chars":1249},{"level":3,"title":"General dimensions","slug":"general-dimensions-47","at":89356,"chars":191},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-47","at":89547,"chars":967},{"level":2,"title":"Environment (soft) delete operation failed","slug":"environment-soft-delete-operation-failed","at":90514,"chars":2052},{"level":3,"title":"General dimensions","slug":"general-dimensions-48","at":90626,"chars":194},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-48","at":90820,"chars":1049},{"level":3,"title":"Sample KQL code (environment soft delete failed)","slug":"sample-kql-code-environment-soft-delete-failed","at":91869,"chars":697},{"level":2,"title":"Environment (hard) delete operation scheduled","slug":"environment-hard-delete-operation-scheduled","at":92566,"chars":1223},{"level":3,"title":"General dimensions","slug":"general-dimensions-49","at":92688,"chars":192},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-49","at":92880,"chars":909},{"level":2,"title":"Environment (hard) delete operation started","slug":"environment-hard-delete-operation-started","at":93789,"chars":1217},{"level":3,"title":"General dimensions","slug":"general-dimensions-50","at":93907,"chars":190},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-50","at":94097,"chars":909},{"level":2,"title":"Environment (hard) deleted","slug":"environment-hard-deleted","at":95006,"chars":1244},{"level":3,"title":"General dimensions","slug":"general-dimensions-51","at":95097,"chars":186},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-51","at":95283,"chars":967},{"level":2,"title":"Environment (hard) delete operation failed","slug":"environment-hard-delete-operation-failed","at":96250,"chars":2047},{"level":3,"title":"General dimensions","slug":"general-dimensions-52","at":96362,"chars":189},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-52","at":96551,"chars":1049},{"level":3,"title":"Sample KQL code (environment hard delete failed)","slug":"sample-kql-code-environment-hard-delete-failed","at":97600,"chars":697},{"level":2,"title":"Environment recovery (undelete) operation started","slug":"environment-recovery-undelete-operation-started","at":98297,"chars":1231},{"level":3,"title":"General dimensions","slug":"general-dimensions-53","at":98427,"chars":192},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-53","at":98619,"chars":909},{"level":2,"title":"Environment recovered","slug":"environment-recovered","at":99528,"chars":1248},{"level":3,"title":"General dimensions","slug":"general-dimensions-54","at":99621,"chars":188},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-54","at":99809,"chars":967},{"level":2,"title":"Environment recovery (undelete) operation failed","slug":"environment-recovery-undelete-operation-failed","at":100776,"chars":2053},{"level":3,"title":"General dimensions","slug":"general-dimensions-55","at":100900,"chars":191},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-55","at":101091,"chars":1049},{"level":3,"title":"Sample KQL code (environment undelete failed)","slug":"sample-kql-code-environment-undelete-failed","at":102140,"chars":689},{"level":2,"title":"Environment rename operation started","slug":"environment-rename-operation-started","at":102829,"chars":1204},{"level":3,"title":"General dimensions","slug":"general-dimensions-56","at":102933,"chars":190},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-56","at":103123,"chars":910},{"level":2,"title":"Environment renamed","slug":"environment-renamed","at":104033,"chars":1231},{"level":3,"title":"General dimensions","slug":"general-dimensions-57","at":104110,"chars":186},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-57","at":104296,"chars":968},{"level":2,"title":"Environment rename operation failed","slug":"environment-rename-operation-failed","at":105264,"chars":2040},{"level":3,"title":"General dimensions","slug":"general-dimensions-58","at":105362,"chars":189},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-58","at":105551,"chars":1050},{"level":3,"title":"Sample KQL code (environment rename operation failed)","slug":"sample-kql-code-environment-rename-operation-failed","at":106601,"chars":703},{"level":2,"title":"Environment app hotfix scheduled by App Management API","slug":"environment-app-hotfix-scheduled-by-app-management-api","at":107304,"chars":2265},{"level":3,"title":"General dimensions","slug":"general-dimensions-59","at":107462,"chars":376},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-59","at":107838,"chars":1731},{"level":2,"title":"Environment app hotfix scheduling by App Management API failed to be scheduled","slug":"environment-app-hotfix-scheduling-by-app-management-api-failed-to-be-scheduled","at":109569,"chars":3837},{"level":3,"title":"General dimensions","slug":"general-dimensions-60","at":109754,"chars":470},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-60","at":110224,"chars":1871},{"level":3,"title":"Sample KQL code (environment app hotfix scheduling by App Management API failed to be scheduled)","slug":"sample-kql-code-environment-app-hotfix-scheduling-by-app-management-api-failed-to-be-scheduled","at":112095,"chars":1311},{"level":2,"title":"Environment app hotfix cancelled by App Management API","slug":"environment-app-hotfix-cancelled-by-app-management-api","at":113406,"chars":2336},{"level":3,"title":"General dimensions","slug":"general-dimensions-61","at":113559,"chars":452},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-61","at":114011,"chars":1731},{"level":2,"title":"Environment app hotfix started by App Management API","slug":"environment-app-hotfix-started-by-app-management-api","at":115742,"chars":2326},{"level":3,"title":"General dimensions","slug":"general-dimensions-62","at":115891,"chars":446},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-62","at":116337,"chars":1731},{"level":2,"title":"Environment app hotfix applied successfully by App Management API","slug":"environment-app-hotfix-applied-successfully-by-app-management-api","at":118068,"chars":2423},{"level":3,"title":"General dimensions","slug":"general-dimensions-63","at":118243,"chars":459},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-63","at":118702,"chars":1789},{"level":2,"title":"Environment app hotfix operation by App Management API failed to be installed","slug":"environment-app-hotfix-operation-by-app-management-api-failed-to-be-installed","at":120491,"chars":3829},{"level":3,"title":"General dimensions","slug":"general-dimensions-64","at":120692,"chars":446},{"level":3,"title":"Custom dimensions","slug":"custom-dimensions-64","at":121138,"chars":1871},{"level":3,"title":"Sample KQL code (environment app hotfix scheduling by App Management API failed to be installed)","slug":"sample-kql-code-environment-app-hotfix-scheduling-by-app-management-api-failed-to-be-installed","at":123009,"chars":1311},{"level":2,"title":"Related information","slug":"related-information","at":124320,"chars":165}],"text":"# Analyzing environment lifecycle trace telemetry\n> APPLIES TO: Business Central online\nEnvironment lifecycle telemetry gathers data about the success or failure of the following environment-related operations:\n Update an environment\n Start/stop/restart an environment\n Copy an environment\n Point-in-time restore an environment\n Transfer an environment to a different Microsoft Entra tenant\n Cancel a session from the Business Central admin center\n Export the environment database\n Change the environment configuration\n Delete an environment\n Rename an environment\nTelemetry is also gathered on the following data update events:\n Data upgrade started\n Data upgrade succeeded\n Data upgrade failed\n Data upgrade recovery succeeded\n Data upgrade recovery failed\nFailed operations result in a trace log entry that includes a reason for the failure.\n## Custom dimensions available in all events\nThe following dimensions are available in all events described below and aren't included in the individual event documentation:\nDimension|Description or value\ncomponent|Dynamics 365 Business Central Control Plane\ndeprecatedKeys|Specifies a comma-separated list of all the keys that have been deprecated. The keys in this list are still supported but will eventually be removed in the next major release. We recommend that update any queries that use these keys to use the new key name.\ntelemetrySchemaVersion|Specifies the version of the Business Central telemetry schema.\n## Environment update available\nOccurs when a new update is available for the environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment update available for scheduling: {environmentName} to version {destinationVersion} <br /><br /> `{environmentName}` indicates the name of the environment.<br /><br /> `{destinationVersion}` indicates the new version that is available.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndestinationVersion|Specifies the version we are updating to.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0100\nregisteredForUpdateOnOrAfterDateUtc|Specifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.\nsourceVersion|Specifies the version we are updating from.\nupdatePeriodEndDateUtc|Specifies the end date and time of the update period (shown in UTC).\nupdatePeriodStartDateUtc|Specifies the start date and time of the update period (shown in UTC).\n## Environment update scheduled\nOccurs when the environment is scheduled to be updated.\n### General dimensions\nDimension|Description or value\nmessage|Environment update scheduled: {environmentName} to version {destinationVersion}, update on or after date: {registeredForUpdateOnOrAfterDateUtc} <br /><br /> `{environmentName}` indicates the name of the environment.<br /><br /> `{destinationVersion}` indicates the new version that is available. <br /><br /> `{registeredForUpdateOnOrAfterDateUtc}` indicates the date and time that is registered as the beginning of the update window in the admin center.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ncanPartnerReschedule|A boolean value (true or false) that specifies whether an administrator can reschedule the update in the Business Central admin center. Set to true if administrators can reschedule the update.\ndestinationVersion|Specifies the version we are updating to.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0101\nignoreUpdateWindow|A boolean value (true or false) that specifies whether to ignore the update window. Set to true if the update window was ignored by the Business Central update service.\nregisteredForUpdateOnOrAfterDateUtc|Specifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.\nsourceVersion|Specifies the version we are updating from.\nupdateDateSelectedByPartner|Boolean value (True or False). Set to True if the update date was chosen by an administrator in the admin center.\nupdatePeriodEndDateUtc|Specifies the end date and time of the update period (shown in UTC).\nupdatePeriodStartDateUtc|Specifies the start date and time of the update period (shown in UTC).\nupdateWindowEndTimeUtc|Specifies the end date and time of the update window (shown in UTC).\nupdateWindowStartTimeUtc|Specifies the start date and time of the update window (shown in UTC).\n## Environment update missed\nOccurs when the environment was scheduled to be updated, but it wasn't possible to start the update in the update window defined in the admin center.\n### General dimensions\nDimension|Description or value\nmessage|Environment update missed: {environmentName} to version {destinationVersion} <br /><br /> `{environmentName}` indicates the name of the environment.<br /><br /> `{destinationVersion}` indicates the new version that is available.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndestinationVersion|Specifies the version we are updating to.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0102\nignoreUpdateWindow|A boolean value (true or false) that specifies whether to ignore the update window. Set to true if the update window was ignored by the Business Central update service.\nregisteredForUpdateOnOrAfterDateUtc|Specifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.\nsourceVersion|Specifies the version we are updating from.\nupdatePeriodEndDateUtc|Specifies the end date and time of the update period (shown in UTC).\nupdatePeriodStartDateUtc|Specifies the start date and time of the update period (shown in UTC).\nupdateWindowEndTimeUtc|Specifies the end date and time of the update window (shown in UTC).\nupdateWindowStartTimeUtc|Specifies the start date and time of the update window (shown in UTC).\n## Environment update postponed\nOccurs when updates to the version selected as the environment's next update are postponed.\n### General dimensions\nDimension|Description or value\nmessage|Environment update postponed: {environmentName} to version {destinationVersion} <br /><br /> `{environmentName}` indicates the name of the environment.<br /><br /> `{destinationVersion}` indicates the new version for which updates are postponed.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndestinationVersion|Specifies the version we are updating to.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0103\nsourceVersion|Specifies the version we are updating from.\n## Environment update resumed\nOccurs when updates to the version selected as next update for an environment resume.\n### General dimensions\nDimension|Description or value\nmessage|Environment update resumed: {environmentName} to version {destinationVersion} <br /><br /> `{environmentName}` indicates the name of the environment.<br /><br /> `{destinationVersion}` indicates the new version that is available.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndestinationVersion|Specifies the version we are updating to.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0104\nignoreUpdateWindow|A boolean value (true or false) that specifies whether to ignore the update window. Set to true if the update window was ignored by the Business Central update service.\nregisteredForUpdateOnOrAfterDateUtc|Specifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.\nsourceVersion|Specifies the version we are updating from.\nupdatePeriodEndDateUtc|Specifies the end date and time of the update period (shown in UTC).\nupdatePeriodStartDateUtc|Specifies the start date and time of the update period (shown in UTC).\nupdateWindowEndTimeUtc|Specifies the end date and time of the update window (shown in UTC).\nupdateWindowStartTimeUtc|Specifies the start date and time of the update window (shown in UTC).\n## Environment update started\nOccurs when the update was started for the environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment update started: {environmentName} to version {destinationVersion} <br /><br /> `{environmentName}` indicates the name of the environment.<br /><br /> `{destinationVersion}` indicates the new version that is available.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndestinationVersion|Specifies the version we are updating to.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0105\nreason|Specifies the reason for the environment upgrade: Environment Upgrade or Internal Maintenance.\nignoreUpdateWindow|A boolean value (true or false) that specifies whether to ignore the update window. Set to true if the update window was ignored by the Business Central update service.\ninitiatedFrom|Specifies where the operation was initiated from, such as TenantAdminCenter.\nregisteredForUpdateOnOrAfterDateUtc|Specifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.\nremainingTimeInUpdateWindow|The time from the start of the operation until the end of the registered update window.\nsourceVersion|Specifies the version we are updating from.\nupdatePeriodEndDateUtc|Specifies the end date and time of the update period (shown in UTC).\nupdatePeriodStartDateUtc|Specifies the start date and time of the update period (shown in UTC).\nupdateWindowEndTimeUtc|Specifies the end date and time of the update window (shown in UTC).\nupdateWindowStartTimeUtc|Specifies the start date and time of the update window (shown in UTC).\n## Environment updated successfully\nOccurs when the environment was successfully updated.\n### General dimensions\nDimension|Description or value\nmessage|Environment updated successfully: {environmentName} to version {destinationVersion} <br /><br /> `{environmentName}` indicates the name of the environment.<br /><br /> `{destinationVersion}` indicates the new version that is available.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndestinationVersion|Specifies the version we are updating to.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0106\nignoreUpdateWindow|A boolean value (true or false) that specifies whether to ignore the update window. Set to true if the update window was ignored by the Business Central update service.\ninitiatedFrom|Specifies where the operation was initiated from, such as TenantAdminCenter.\nregisteredForUpdateOnOrAfterDateUtc|Specifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.\nsourceVersion|Specifies the version we are updating from.\ntotalTime|Specifies the total time the operation ran for.\nupdatePeriodEndDateUtc|Specifies the end date and time of the update period (shown in UTC).\nupdatePeriodStartDateUtc|Specifies the start date and time of the update period (shown in UTC).\nupdateWindowEndTimeUtc|Specifies the end date and time of the update window (shown in UTC).\nupdateWindowStartTimeUtc|Specifies the start date and time of the update window (shown in UTC).\n## Environment failed to update\nOccurs when the update for the environment failed.\n### General dimensions\nDimension|Description or value\nmessage|Environment failed to update: {environmentName} to version {destinationVersion} <br /><br /> `{environmentName}` indicates the name of the environment.<br /><br /> `{destinationVersion}` indicates the new version that is available.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndestinationVersion|Specifies the version we are updating to.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0107\nfailureCode|Specifies code that describes the type of error that blocks the update, such as PteCompilation.\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\nignoreUpdateWindow|A boolean value (true or false) that specifies whether to ignore the update window. Set to true if the update window was ignored by the Business Central update service.\ninitiatedFrom|Specifies where the operation was initiated from, such as TenantAdminCenter.\nregisteredForUpdateOnOrAfterDateUtc|Specifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.\nrecovered|A boolean value (true or false) that specifies whether the environment was recovered to its state before the upgrade attempt. Set to true if the environment was recovered.\nsourceVersion|Specifies the version we are updating from.\ntotalTime|Specifies the total time the operation ran for.\nupdatePeriodEndDateUtc|Specifies the end date and time of the update period (shown in UTC).\nupdatePeriodStartDateUtc|Specifies the start date and time of the update period (shown in UTC).\nupdateWindowEndTimeUtc|Specifies the end date and time of the update window (shown in UTC).\nupdateWindowStartTimeUtc|Specifies the start date and time of the update window (shown in UTC).\n### Sample KQL code (failed environment updates)\nThis KQL code can help you get started analyzing environment update failures:\n```kql\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0107'\n| project timestamp\n, message\n// in which environment did it happen\n, aadTenantId = customDimensions.aadTenantId\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n// information about the update\n, sourceVersion = customDimensions.sourceVersion\n, destinationVersion = customDimensions.destinationVersion\n, updatePeriodStartDateUtc = customDimensions.updatePeriodStartDateUtc\n, updatePeriodEndDateUtc = customDimensions.updatePeriodEndDateUtc\n, registeredForUpdateOnOrAfterDateUtc = customDimensions.registeredForUpdateOnOrAfterDateUtc\n, updateWindowStartTimeUtc = customDimensions.updateWindowStartTimeUtc\n, updateWindowEndTimeUtc = customDimensions.updateWindowEndTimeUtc\n, ignoreUpdateWindow = customDimensions.ignoreUpdateWindow\n, initiatedFrom = customDimensions.initiatedFrom\n, totalTime = customDimensions.totalTime\n// what happened\n, failureReason = customDimensions.failureReason\n, failureCode = customDimensions.failureCode\n, recovered = customDimensions.recovered\n```\n## Environment restart operation initiated\nOccurs when a restart operation has been initiated from the admin center.\n### General dimensions\nDimension|Description or value\nmessage|Environment restart operation initiated: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0110\n## Environment restarted successfully\nOccurs when a restart operation succeeded for the environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment restarted successfully: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0111\ntotalTime|Specifies the total time the operation ran for.\n## Environment restart operation failed\nOccurs when a restart operation failed for the environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment restart operation failed: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0112\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\ntotalTime|Specifies the total time the operation ran for.\n### Sample KQL code (failed environment restart)\nThis KQL code can help you get started analyzing environment restart failures:\n```kql\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0112'\n| project timestamp\n, message\n// in which environment did it happen\n, aadTenantId = customDimensions.aadTenantId\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n// what happened\n, failureReason = customDimensions.failureReason\n```\n## Environment start operation initiated\nOccurs when a start operation has been initiated for the environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment start operation initiated: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0113\n## Environment started successfully\nOccurs when a start operation succeeded for the environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment started successfully: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0114\ntotalTime|Specifies the total time the operation ran for.\n## Environment start operation failed\nOccurs when a start operation failed for the environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment start operation failed: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0115\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\ntotalTime|Specifies the total time the operation ran for.\n### Sample KQL code (failed environment start operation)\nThis KQL code can help you get started analyzing environment start failures:\n```kql\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0115'\n| project timestamp\n, message\n// in which environment did it happen\n, aadTenantId = customDimensions.aadTenantId\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n// what happened\n, failureReason = customDimensions.failureReason\n```\n## Environment stop operation initiated\nOccurs when a stop operation has been initiated for the environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment stop operation initiated: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0116\n## Environment stopped successfully\nOccurs when a stop operation succeeded for the environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment stopped successfully: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0117\ntotalTime|Specifies the total time the operation ran for.\n## Environment stop operation failed\nOccurs when a stop operation failed for the environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment stop operation failed: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0118\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\ntotalTime|Specifies the total time the operation ran for.\n### Sample KQL code (failed environment stop operation)\nThis KQL code can help you get started analyzing environment stop failures:\n```kql\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0118'\n| project timestamp\n, message\n// in which environment did it happen\n, aadTenantId = customDimensions.aadTenantId\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n// what happened\n, failureReason = customDimensions.failureReason\n```\n## Environment copy operation started on source\nOccurs when a copy operation for the environment started on the source environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment copy operation started on source: {environmentName} to {destinationEnvironmentName} <br /><br /> `{environmentName}` indicates the name of the environment. <br /><br /> `{destinationEnvironmentName}` indicates the name of the destination environment\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndestinationEnvironmentName|Specifies the name of the destination environment of the operation.\ndestinationEnvironmentType|Specifies the type of the destination environment of the operation.\ndestinationEnvironmentVersion|Specifies the version of the destination environment of the operation.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0119\n## Environment copied successfully\nOccurs when a copy operation for the environment succeeded.\n### General dimensions\nDimension|Description or value\nmessage|Environment copied successfully: {environmentName} to {destinationEnvironmentName} <br /><br /> `{environmentName}` indicates the name of the environment. <br /><br /> `{destinationEnvironmentName}` indicates the name of the destination environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndestinationEnvironmentName|Specifies the name of the destination environment of the operation.\ndestinationEnvironmentType|Specifies the type of the destination environment of the operation.\ndestinationEnvironmentVersion|Specifies the version of the destination environment of the operation.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0120\ntotalTime|Specifies the total time the operation ran for.\n## Environment copy operation failed on source\nOccurs when a copy operation for the environment failed on the source environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment copy operation failed on source: {environmentName} to {destinationEnvironmentName} <br /><br /> `{environmentName}` indicates the name of the environment. <br /><br /> `{destinationEnvironmentName}` indicates the name of the destination environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndestinationEnvironmentName|Specifies the name of the destination environment of the operation.\ndestinationEnvironmentType|Specifies the type of the destination environment of the operation.\ndestinationEnvironmentVersion|Specifies the version of the destination environment of the operation.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0121\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\ntotalTime|Specifies the total time the operation ran for.\n### Sample KQL code (failed environment copy on source)\nThis KQL code can help you get started analyzing environment copy failures (that happened on the source):\n```kql\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0121'\n| project timestamp\n, message\n// source environment\n, aadTenantId = customDimensions.aadTenantId\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n// destination environment\n, destinationEnvironmentName = customDimensions.destinationEnvironmentName\n, destinationEnvironmentType = customDimensions.destinationEnvironmentType\n, destinationEnvironmentVersion = customDimensions.destinationEnvironmentVersion\n// what happened\n, totalTime = customDimensions.totalTime\n, failureReason = customDimensions.failureReason\n```\n## Environment copy operation started on destination\nOccurs when a copy operation for the environment started on the destination environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment copy operation started on destination: {environmentName} from {sourceEnvironmentName} <br /><br /> `{environmentName}` indicates the name of the environment. <br /><br /> `{sourceEnvironmentName}` indicates the name of the environment that was to be copied.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0122\nsourceEnvironmentName|Specifies the name of the source environment of the operation.\nsourceEnvironmentType|Specifies the type of the source environment of the operation.\nsourceEnvironmentVersion|Specifies the version of the source environment of the operation.\n## Environment copied successfully to destination\nOccurs when a copy operation for the environment succeeded on the destination environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment copied successfully to destination: {environmentName} from {sourceEnvironmentName} <br /><br /> `{environmentName}` indicates the name of the environment. <br /><br /> `{sourceEnvironmentName}` indicates the name of the environment that was to be copied.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0123\nsourceEnvironmentName|Specifies the name of the source environment of the operation.\nsourceEnvironmentType|Specifies the type of the source environment of the operation.\nsourceEnvironmentVersion|Specifies the version of the source environment of the operation.\ntotalTime|Specifies the total time the operation ran for.\n## Environment copy operation failed on destination\nOccurs when a copy operation for the environment failed on the destination environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment copy operation failed on destination: {environmentName} from {sourceEnvironmentName} <br /><br /> `{environmentName}` indicates the name of the environment. <br /><br /> `{sourceEnvironmentName}` indicates the name of the environment that was to be copied.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0124\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\nsourceEnvironmentName|Specifies the name of the source environment of the operation.\nsourceEnvironmentType|Specifies the type of the source environment of the operation.\nsourceEnvironmentVersion|Specifies the version of the source environment of the operation.\ntotalTime|Specifies the total time the operation ran for.\n### Sample KQL code (failed environment copy on destination)\nThis KQL code can help you get started analyzing environment copy failures (that happened on the destination):\n```kql\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0124'\n| project timestamp\n, message\n, aadTenantId = customDimensions.aadTenantId\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n// source environment\n, sourceEnvironmentName = customDimensions.sourceEnvironmentName\n, sourceEnvironmentType = customDimensions.sourceEnvironmentType\n, sourceEnvironmentVersion = customDimensions.sourceEnvironmentVersion\n// destination environment\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n// what happened\n, totalTime = customDimensions.totalTime\n, failureReason = customDimensions.failureReason\n```\n## Environment point-in-time restore operation started on source\nOccurs when a point-in-time restore operation for the environment started on the environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment point-in-time restore operation started on source: {environmentName} to {destinationEnvironmentName} <br /><br /> `{environmentName}` indicates the name of the environment. <br /><br /> `{destinationEnvironmentName}` indicates the name of the destination environment for the operation.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndestinationEnvironmentName|Specifies the name of the destination environment of the operation.\ndestinationEnvironmentType|Specifies the type of the destination environment of the operation.\ndestinationEnvironmentVersion|Specifies the version of the destination environment of the operation.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0125\npointInTimeUtc|Specifies the point in time (in UTC) to which the environment should be restored to.\n## Environment point-in-time restored successfully\nOccurs when a point-in-time restore operation for the environment completed successfully.\n### General dimensions\nDimension|Description or value\nmessage|Environment point-in-time restored successfully: {environmentName} to {destinationEnvironmentName} <br /><br /> `{environmentName}` indicates the name of the environment. <br /><br /> `{destinationEnvironmentName}` indicates the name of the destination environment for the operation.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndestinationEnvironmentName|Specifies the name of the destination environment of the operation.\ndestinationEnvironmentType|Specifies the type of the destination environment of the operation.\ndestinationEnvironmentVersion|Specifies the version of the destination environment of the operation.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0126\npointInTimeUtc|Specifies the point in time (in UTC) to which the environment should be restored to.\ntotalTime|Specifies the total time the operation ran for.\n## Environment point-in-time restore operation failed on source\nOccurs when a point-in-time restore operation for the environment failed.\n### General dimensions\nDimension|Description or value\nmessage|Environment point-in-time restore operation failed on source: {environmentName} to {destinationEnvironmentName} <br /><br /> `{environmentName}` indicates the name of the environment. <br /><br /> `{destinationEnvironmentName}` indicates the name of the destination environment for the operation.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndestinationEnvironmentName|Specifies the name of the destination environment of the operation.\ndestinationEnvironmentType|Specifies the type of the destination environment of the operation.\ndestinationEnvironmentVersion|Specifies the version of the destination environment of the operation.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0127\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\npointInTimeUtc|Specifies the point in time (in UTC) to which the environment should be restored to.\ntotalTime|Specifies the total time the operation ran for.\n### Sample KQL code (failed environment point-in-time operation on source)\nThis KQL code can help you get started analyzing point-in-time failures (that happened on the source):\n```kql\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0127'\n| project timestamp\n, message\n// in which environment did it happen\n, aadTenantId = customDimensions.aadTenantId\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n, destinationEnvironmentName = customDimensions.destinationEnvironmentName\n, destinationEnvironmentType = customDimensions.destinationEnvironmentType\n, destinationEnvironmentVersion = customDimensions.destinationEnvironmentVersion\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n// operation details\n, pointInTimeUtc = customDimensions.pointInTimeUtc\n// what happened\n, failureReason = customDimensions.failureReason\n, totalTime = customDimensions.totalTime\n```\n## Environment point-in-time restore operation started on destination\nOccurs when a point-in-time restore operation for the environment started on the destination environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment point-in-time restore operation started on destination: {environmentName} from {sourceEnvironmentName} <br /><br /> `{environmentName}` indicates the name of the environment. <br /><br /> `{sourceEnvironmentName}` indicates the name of the source environment for the operation.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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|LC0128\npointInTimeUtc|Specifies the point in time (in UTC) to which the environment should be restored to.\nsourceEnvironmentName|Specifies the name of the source environment of the operation.\nsourceEnvironmentType|Specifies the type of the source environment of the operation.\nsourceEnvironmentVersion|Specifies the version of the source environment of the operation.\n## Environment point-in-time restored successfully to destination\nOccurs when a point-in-time restore operation for the environment completed successfully on the destination environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment point-in-time restored successfully to destination: {environmentName} from {sourceEnvironmentName} <br /><br /> `{environmentName}` indicates the name of the environment. <br /><br /> `{sourceEnvironmentName}` indicates the name of the source environment for the operation.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0129\npointInTimeUtc|Specifies the point in time (in UTC) to which the environment should be restored to.\nsourceEnvironmentName|Specifies the name of the source environment of the operation.\nsourceEnvironmentType|Specifies the type of the source environment of the operation.\nsourceEnvironmentVersion|Specifies the version of the source environment of the operation.\ntotalTime|Specifies the total time the operation ran for.\n## Environment point-in-time restore operation failed on destination\nOccurs when a point-in-time restore operation for the environment failed in the destination environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment point-in-time restore operation failed on destination: {environmentName} to {sourceEnvironmentName} <br /><br /> `{environmentName}` indicates the name of the environment. <br /><br /> `{sourceEnvironmentName}` indicates the name of the source environment for the operation.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0130\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\npointInTimeUtc|Specifies the point in time (in UTC) to which the environment should be restored to.\nsourceEnvironmentName|Specifies the name of the source environment of the operation.\nsourceEnvironmentType|Specifies the type of the source environment of the operation.\nsourceEnvironmentVersion|Specifies the version of the source environment of the operation.\ntotalTime|Specifies the total time the operation ran for.\n### Sample KQL code (failed environment point-in-time operation on destination)\nThis KQL code can help you get started analyzing point-in-time failures (that happened on the destination):\n```kql\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0130'\n| project timestamp\n, message\n// in which environment did it happen\n, aadTenantId = customDimensions.aadTenantId\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n, sourceEnvironmentName = customDimensions.sourceEnvironmentName\n, sourceEnvironmentType = customDimensions.sourceEnvironmentType\n, sourceEnvironmentVersion = customDimensions.sourceEnvironmentVersion\n// operation details\n, pointInTimeUtc = customDimensions.pointInTimeUtc\n// what happened\n, failureReason = customDimensions.failureReason\n, totalTime = customDimensions.totalTime\n```\n## Environment transfer to different Entra tenant operation scheduled\nOccurs when the environment is scheduled to be transferred to a different Microsoft Entra tenant, after a transfer is accepted on the destination tenant.\n### General dimensions\nDimension|Description or value\nmessage|Environment move to {destinationAadTenantId} AAD tenant operation scheduled to run at {registeredForMoveDateUtc}: {sourceEnvironmentName} <br /><br /> `{sourceEnvironmentName}` indicates the name of the environment to be moved.<br /><br /> `{destinationAadTenantId}` indicates the destination Entra tenant. <br /><br /> `{registeredForMoveDateUtc}` indicates the date and time that have been registered for the move.\n### Custom dimensions\nDimension|Description or value\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ndestinationAadTenantId|Specifies the destination Microsoft Entra tenant ID for the move.\ndestinationEnvironmentName|Specifies the name of the destination environment of the operation.\nenvironmentType|Specifies the environment type for the tenant, such as Production or Sandbox. See tenant-admin-center-environments#types-of-environments.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0131\nregisteredForMoveDateUtc|Specifies the date and time (in UTC) registered by Microsoft Support on which the operation should happen.\nsourceEnvironmentName|Specifies the name of the source environment of the operation.\nsourceAadTenantId|Specifies the source Microsoft Entra tenant ID for the move.\n## Environment transfer to different Entra tenant operation scheduling failed\nOccurs when the operation to schedule a transfer of an environment to a different Microsoft Entra tenant failed, after a transfer is accepted on the destination tenant.\n### General dimensions\nDimension|Description or value\nmessage|Environment move to {destinationAadTenantId} AAD tenant operation scheduling failed: {sourceEnvironmentName} <br /><br /> `{sourceEnvironmentName}` indicates the name of the environment to be moved.<br /><br /> `{destinationAadTenantId}` indicates the destination Entra tenant.\n### Custom dimensions\nDimension|Description or value\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ndestinationAadTenantId|Specifies the destination Microsoft Entra tenant ID for the move.\ndestinationEnvironmentName|Specifies the name of the destination environment of the operation.\nenvironmentType|Specifies the environment type for the tenant, such as Production or Sandbox. See tenant-admin-center-environments#types-of-environments.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0132\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\nregisteredForMoveDateUtc|Specifies the date and time (in UTC) registered by Microsoft Support on which the operation should happen.\nsourceEnvironmentName|Specifies the name of the source environment of the operation.\nsourceAadTenantId|Specifies the source Microsoft Entra tenant ID for the move.\ntotalTime|Specifies the total time the operation ran for.\n### Sample KQL code (failed move of environment to different Microsoft Entra tenant)\nThis KQL code can help you get started analyzing failures in moving an environment to a different Microsoft Entra tenant:\n```kql\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0132'\n| project timestamp\n, message\n// in which tenants did it happen\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n, sourceAadTenantId = customDimensions.sourceAadTenantId\n, destinationAadTenantId = customDimensions.destinationAadTenantId\n, sourceEnvironmentName = customDimensions.sourceEnvironmentName\n, destinationEnvironmentName = customDimensions.destinationEnvironmentName\n, registeredForMoveDateUtc = customDimensions.registeredForMoveDateUtc\n// what happened\n, totalTime = customDimensions.totalTime\n, failureReason = customDimensions.failureReason\n```\n## Environment transfer to different Entra tenant operation started\nOccurs when the operation to move the environment to a different Entra tenant started.\n### General dimensions\nDimension|Description or value\nmessage|Environment move to {destinationAadTenantId} AAD tenant operation started: {sourceEnvironmentName} <br /><br /> `{sourceEnvironmentName}` indicates the name of the environment to be moved.<br /><br /> `{destinationAadTenantId}` indicates the destination Entra tenant.\n### Custom dimensions\nDimension|Description or value\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ndestinationAadTenantId|Specifies the destination Microsoft Entra tenant ID for the move.\ndestinationEnvironmentName|Specifies the name of the destination environment of the operation.\nenvironmentType|Specifies the environment type for the tenant, such as Production or Sandbox. See tenant-admin-center-environments#types-of-environments.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0133\nsourceEnvironmentName|Specifies the name of the source environment of the operation.\nsourceAadTenantId|Specifies the source Microsoft Entra tenant ID for the move.\n## Environment transferred successfully to different Entra tenant\nOccurs when the operation to transfer the environment to a different Entra tenant completed successfully.\n### General dimensions\nDimension|Description or value\nmessage|Environment moved to {destinationAadTenantId} AAD tenant successfully: {sourceEnvironmentName} <br /><br /> `{sourceEnvironmentName}` indicates the name of the environment that was moved.<br /><br /> `{destinationAadTenantId}` indicates the Entra tenant that the environment was transferred to.\n### Custom dimensions\nDimension|Description or value\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ndestinationAadTenantId|Specifies the destination Microsoft Entra tenant ID for the move.\ndestinationEnvironmentName|Specifies the name of the destination environment of the operation.\nenvironmentType|Specifies the environment type for the tenant, such as Production or Sandbox. See tenant-admin-center-environments#types-of-environments.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0134\nsourceEnvironmentName|Specifies the name of the source environment of the operation.\nsourceAadTenantId|Specifies the source Microsoft Entra tenant ID for the move.\ntotalTime|Specifies the total time the operation ran for.\n## Environment transfer to different Entra tenant failed\nOccurs when the operation to transfer the environment to a different Entra tenant failed.\n### General dimensions\nDimension|Description or value\nmessage|Environment move to {destinationAadTenantId} AAD tenant operation failed: {sourceEnvironmentName} <br /><br /> `{sourceEnvironmentName}` indicates the name of the environment that was to be moved.<br /><br /> `{destinationAadTenantId}` indicates the destination Entra tenant.\n### Custom dimensions\nDimension|Description or value\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ndestinationAadTenantId|Specifies the destination Microsoft Entra tenant ID for the move.\ndestinationEnvironmentName|Specifies the name of the destination environment of the operation.\nenvironmentType|Specifies the environment type for the tenant, such as Production or Sandbox. See tenant-admin-center-environments#types-of-environments.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0135\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\nsourceEnvironmentName|Specifies the name of the source environment of the operation.\nsourceAadTenantId|Specifies the source Microsoft Entra tenant ID for the move.\ntotalTime|Specifies the total time the operation ran for.\n### Sample KQL code (failed move of environment to different Microsoft Entra tenant)\nThis KQL code can help you get started analyzing failures in moving an environment to a different Microsoft Entra tenant:\n```kql\n// Environment move to different AAD tenant failed\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0135'\n| project timestamp\n, message\n// in which tenants did it happen\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n, sourceAadTenantId = customDimensions.sourceAadTenantId\n, destinationAadTenantId = customDimensions.destinationAadTenantId\n, sourceEnvironmentName = customDimensions.sourceEnvironmentName\n, destinationEnvironmentName = customDimensions.destinationEnvironmentName\n// what happened\n, totalTime = customDimensions.totalTime\n, failureReason = customDimensions.failureReason\n```\n## Environment session cancellation started\nOccurs when a session is requested to be cancelled from the admin center.\n### General dimensions\nDimension|Description or value\nmessage|Environment session {sessionId} cancellation started: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.<br /><br /> `{sessionId}` indicates the id of the session that is being cancelled.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0136\nsessionId|Specifies the ID of the session being cancelled.\n## Environment session cancelled successfully\nOccurs when a session was successfully cancelled from the admin center.\n### General dimensions\nDimension|Description or value\nmessage|Environment session {sessionId} cancelled successfully: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.<br /><br /> `{sessionId}` indicates the id of the session that is being cancelled.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0137\nsessionId|Specifies the ID of the session being cancelled.\ntotalTime|Specifies the total time the operation ran for.\n## Environment session cancellation failed\nOccurs when a session cancellation request from the admin center failed.\n### General dimensions\nDimension|Description or value\nmessage|Environment session {sessionId} cancellation failed: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.<br /><br /> `{sessionId}` indicates the id of the session that is being cancelled.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0138\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\nsessionId|Specifies the ID of the session being cancelled.\ntotalTime|Specifies the total time the operation ran for.\n### Sample KQL code (failed cancellation of session)\nThis KQL code can help you get started analyzing failures in cancelling sessions:\n```kql\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0138'\n| project timestamp\n, message\n// in which environment did it happen\n, aadTenantId = customDimensions.aadTenantId\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n// what happened\n, failureReason = customDimensions.failureReason\n, sessionId = customDimensions.sessionId\n```\n## Environment database export operation started\nOccurs when a database export is requested from the admin center.\n### General dimensions\nDimension|Description or value\nmessage|Environment database export operation started: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\nblobUrl|Specifies the URL of the blob where the database export file will be saved.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0139\n## Environment database exported successfully\nOccurs when the environment database was successfully exported from the admin center.\n### General dimensions\nDimension|Description or value\nmessage|Environment database exported successfully: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\nblobUrl|Specifies the URL of the blob where the database export file will be saved.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0140\ntotalTime|Specifies the total time the operation ran for.\n## Environment database export operation failed\nOccurs when a database export request from the admin center failed.\n### General dimensions\nDimension|Description or value\nmessage|Environment database export operation failed: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\nblobUrl|Specifies the URL of the blob where the database export file will be saved.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0141\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\ntotalTime|Specifies the total time the operation ran for.\n### Sample KQL code (failed database export operation)\nThis KQL code can help you get started analyzing failures in export database operations:\n```kql\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0141'\n| project timestamp\n, message\n// in which environment did it happen\n, aadTenantId = customDimensions.aadTenantId\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n// what happened\n, failureReason = customDimensions.failureReason\n, blobUrl = customDimensions.blobUrl\n```\n## Environment configuration key updated\nOccurs when a configuration key for the environment was successfully updated.\n### General dimensions\nDimension|Description or value\nmessage|Environment configuration key {environmentConfigurationKey} updated for environment {environmentName} to value: {newValue} <br /><br /> `{environmentName}` indicates the name of the environment. <br /><br /> `{environmentConfigurationKey}` indicates the name of the configuration key to be updated. <br /><br /> `{newValue}` indicates the new value of the key.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\nenvironmentConfigurationKey|Specifies an environment configuration key, such as ApplicationInsightsKey.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0142\nnewValue|Specifies the value of the key after the operation.\noldValue|Specifies the value of the key before the operation.\n## Environment configuration key failed to update\nOccurs when a configuration key for the environment failed to be updated.\n### General dimensions\nDimension|Description or value\nmessage|Environment configuration key {environmentConfigurationKey} failed to update for environment {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\nenvironmentConfigurationKey|Specifies an environment configuration key, such as ApplicationInsightsKey.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0143\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\nnewValue|The value that the operation was supposed to update to.\noldValue|Specifies the value of the key before the operation.\ntotalTime|Specifies the total time the operation ran for.\n### Sample KQL code (environment configuration key failed to update)\nThis KQL code can help you get started analyzing failures when setting an environment configuration key:\n```kql\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0143'\n| project timestamp\n, message\n// in which environment did it happen\n, aadTenantId = customDimensions.aadTenantId\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n// what happened\n, failureReason = customDimensions.failureReason\n, oldValue = customDimensions.oldValue\n, newValue = customDimensions.newValue\n```\n## Environment configuration key deleted\nOccurs when a configuration key for the environment was successfully deleted.\n### General dimensions\nDimension|Description or value\nmessage|Environment configuration key {environmentConfigurationKey} deleted for environment {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment. <br /><br /> `{environmentConfigurationKey}` indicates the name of the configuration key to be deleted.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\nenvironmentConfigurationKey|Specifies an environment configuration key, such as ApplicationInsightsKey.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0144\noldValue|Specifies the value of the key before the operation.\n## Environment configuration key failed to be deleted\nOccurs when a configuration key for the environment failed to be deleted.\n### General dimensions\nDimension|Description or value\nmessage|Environment configuration key {environmentConfigurationKey} failed to delete for environment {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\nenvironmentConfigurationKey|Specifies an environment configuration key, such as ApplicationInsightsKey.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0145\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\noldValue|Specifies the value of the key before the operation.\ntotalTime|Specifies the total time the operation ran for.\n### Sample KQL code (environment configuration key failed to be deleted)\nThis KQL code can help you get started analyzing failures when deleting an environment configuration key:\n```kql\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0145'\n| project timestamp\n, message\n// in which environment did it happen\n, aadTenantId = customDimensions.aadTenantId\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n// what happened\n, failureReason = customDimensions.failureReason\n, oldValue = customDimensions.oldValue\n```\n## Environment update window modified\nOccurs when the update window for the environment was successfully updated.\n### General dimensions\nDimension|Description or value\nmessage|Environment update window was modified for environment: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0146\nnewUpdateWindowStartTimeUtc|The start time (in UTC) for the new update window.\nnewUpdateWindowEndTimeUtc|The end time (in UTC) for the new update window.\noldUpdateWindowStartTimeUtc|The start time (in UTC) for the old update window.\noldUpdateWindowEndTimeUtc|The end time (in UTC) for the old update window.\n## Environment update window modification failed\nOccurs when an update window failed to be updated.\n### General dimensions\nDimension|Description or value\nmessage|Environment update window modification failed for environment: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0147\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\nnewUpdateWindowStartTimeUtc|The start time (in UTC) for the new update window.\nnewUpdateWindowEndTimeUtc|The end time (in UTC) for the new update window.\noldUpdateWindowStartTimeUtc|The start time (in UTC) for the old update window.\noldUpdateWindowEndTimeUtc|The end time (in UTC) for the old update window.\ntotalTime|Specifies the total time the operation ran for.\n### Sample KQL code (environment update window modification failed)\nThis KQL code can help you get started analyzing failures for updating the environment window modification:\n```kql\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0147'\n| project timestamp\n, message\n// in which environment did it happen\n, aadTenantId = customDimensions.aadTenantId\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n// what happened\n, failureReason = customDimensions.failureReason\n, newUpdateWindowStartTimeUtc = customDimensions.newUpdateWindowStartTimeUtc\n, newUpdateWindowEndTimeUtc = customDimensions.newUpdateWindowEndTimeUtc\n, oldUpdateWindowStartTimeUtc = customDimensions.oldUpdateWindowStartTimeUtc\n, oldUpdateWindowEndTimeUtc = customDimensions.oldUpdateWindowEndTimeUtc\n```\n## Environment (soft) delete operation started\nOccurs when a (soft) delete operation was started for the environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment soft delete operation started: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndeletionReason|Specifies the reason for the delete operation\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0180\n## Environment (soft) deleted\nOccurs when the environment was successfully (soft) deleted.\n### General dimensions\nDimension|Description or value\nmessage|Environment soft deleted successfully: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndeletionReason|Specifies the reason for the delete operation\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0181\ntotalTime|Specifies the total time the operation ran for.\n## Environment (soft) delete operation failed\nOccurs when a (soft) delete operation for the environment failed.\n### General dimensions\nDimension|Description or value\nmessage|Environment soft delete operation failed: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndeletionReason|Specifies the reason for the delete operation\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0182\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\ntotalTime|Specifies the total time the operation ran for.\n### Sample KQL code (environment soft delete failed)\nThis KQL code can help you get started analyzing failures for (soft) deleting an environment:\n```kql\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0182'\n| project timestamp\n, message\n// in which environment did it happen\n, aadTenantId = customDimensions.aadTenantId\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n// what happened\n, failureReason = customDimensions.failureReason\n, deletionReason = customDimensions.deletionReason\n```\n## Environment (hard) delete operation scheduled\nOccurs when a (hard) delete operation was scheduled for the environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment delete operation scheduled: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndeletionReason|Specifies the reason for the delete operation\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0148\n## Environment (hard) delete operation started\nOccurs when a (hard) delete operation was started for the environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment delete operation started: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndeletionReason|Specifies the reason for the delete operation\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0149\n## Environment (hard) deleted\nOccurs when the environment was successfully (hard) deleted.\n### General dimensions\nDimension|Description or value\nmessage|Environment deleted successfully: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndeletionReason|Specifies the reason for the delete operation\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0150\ntotalTime|Specifies the total time the operation ran for.\n## Environment (hard) delete operation failed\nOccurs when a (hard) delete operation for the environment failed.\n### General dimensions\nDimension|Description or value\nmessage|Environment delete operation failed: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndeletionReason|Specifies the reason for the delete operation\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0151\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\ntotalTime|Specifies the total time the operation ran for.\n### Sample KQL code (environment hard delete failed)\nThis KQL code can help you get started analyzing failures for (hard) deleting an environment:\n```kql\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0151'\n| project timestamp\n, message\n// in which environment did it happen\n, aadTenantId = customDimensions.aadTenantId\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n// what happened\n, failureReason = customDimensions.failureReason\n, deletionReason = customDimensions.deletionReason\n```\n## Environment recovery (undelete) operation started\nOccurs when a recovery (undelete) operation was started for the environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment recovery operation started: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndeletionReason|Specifies the reason for the delete operation\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0183\n## Environment recovered\nOccurs when the environment was successfully recovered (undeleted).\n### General dimensions\nDimension|Description or value\nmessage|Environment recovered successfully: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndeletionReason|Specifies the reason for the delete operation\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0184\ntotalTime|Specifies the total time the operation ran for.\n## Environment recovery (undelete) operation failed\nOccurs when a recovery (undelete) operation for the environment failed.\n### General dimensions\nDimension|Description or value\nmessage|Environment recovery operation failed: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\ndeletionReason|Specifies the reason for the delete operation\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0185\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\ntotalTime|Specifies the total time the operation ran for.\n### Sample KQL code (environment undelete failed)\nThis KQL code can help you get started analyzing failures for undeleting an environment:\n```kql\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0185'\n| project timestamp\n, message\n// in which environment did it happen\n, aadTenantId = customDimensions.aadTenantId\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n// what happened\n, failureReason = customDimensions.failureReason\n, deletionReason = customDimensions.deletionReason\n```\n## Environment rename operation started\nOccurs when a rename operation was started for the environment.\n### General dimensions\nDimension|Description or value\nmessage|Environment rename operation started: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0152\nnewEnvironmentName|Specifies the new name of the environment.\n## Environment renamed\nOccurs when the environment was successfully renamed.\n### General dimensions\nDimension|Description or value\nmessage|Environment renamed successfully: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0153\nnewEnvironmentName|Specifies the new name of the environment.\ntotalTime|Specifies the total time the operation ran for.\n## Environment rename operation failed\nOccurs when a rename operation for the environment failed.\n### General dimensions\nDimension|Description or value\nmessage|Environment rename operation failed: {environmentName} <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0154\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\nnewEnvironmentName|Specifies the new name of the environment.\ntotalTime|Specifies the total time the operation ran for.\n### Sample KQL code (environment rename operation failed)\nThis KQL code can help you get started analyzing failures for renaming an environment:\n```kql\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0154'\n| project timestamp\n, message\n// in which environment did it happen\n, aadTenantId = customDimensions.aadTenantId\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n, newEnvironmentName = customDimensions.newEnvironmentName\n// what happened\n, failureReason = customDimensions.failureReason\n```\n## Environment app hotfix scheduled by App Management API\nOccurs when an app hotfix for the environment has been scheduled by the App Management API service.\n### General dimensions\nDimension|Description or value\nmessage|Environment app '{extensionName}' hotfix to version {extensionDestinationVersion} scheduled for environment: {environmentName} <br /><br />`{extensionName}` indicates the name of the extension/app to be hotfixed.<br /><br /> `{extensionDestinationVersion}` indicates the new version for the app that is available.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0155\nextensionId|Specifies the ID of the extension/app.\nextensionName|Specifies the name of the extension/app.\nextensionPublisher|Specifies the publisher of the extension/app.\nextensionScope|Specifies whether the extension/app was published to one of the following scopes: <br />Global - the extension can be installed on all tenants connected the service instance. <br />Tenant - the extension can only be installed on the tenant to which it was published.\nextensionDestinationVersion|Specifies the version of the extension/app to be installed or updated to.S\nextensionSourceVersion|Specifies the current version of the extension/app.\nrunAfterDateUtc|Specifies the date and time (in UTC) after which the hotfix can be applied.\nuseEnvironmentUpdateWindow|A boolean value (true or false) that specifies whether to use the update window that's defined in the Business Central admin center.\n## Environment app hotfix scheduling by App Management API failed to be scheduled\nOccurs when an app hotfix for the environment couldn't be scheduled by the App Management API service.\n### General dimensions\nDimension|Description or value\nmessage|Environment app '{extensionName}' hotfix to version {extensionDestinationVersion} scheduling failed for environment: {environmentName} <br /><br /> `{extensionName}` indicates the name of the extension/app to be hotfixed.<br /><br /> `{extensionDestinationVersion}` indicates the version of the app that the hotfix should update it to. <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0156\nextensionId|Specifies the ID of the extension/app.\nextensionName|Specifies the name of the extension/app.\nextensionPublisher|Specifies the publisher of the extension/app.\nextensionScope|Specifies whether the extension/app was published to one of the following scopes: <br />Global - the extension can be installed on all tenants connected the service instance. <br />Tenant - the extension can only be installed on the tenant to which it was published.\nextensionDestinationVersion|Specifies the version of the extension/app to be installed or updated to.S\nextensionSourceVersion|Specifies the current version of the extension/app.\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\nrunAfterDateUtc|Specifies the date and time (in UTC) after which the hotfix can be applied.\nuseEnvironmentUpdateWindow|A boolean value (true or false) that specifies whether to use the update window that's defined in the Business Central admin center.\ntotalTime|Specifies the total time the operation ran for.\n### Sample KQL code (environment app hotfix scheduling by App Management API failed to be scheduled)\nThis KQL code can help you get started analyzing failures for scheduling an app hotfix by using the App Management API:\n```kql\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0156'\n| project timestamp\n, message\n// in which environment did it happen\n, aadTenantId = customDimensions.aadTenantId\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n, environmentVersion = customDimensions.environmentVersion\n// which extension/app\n, extensionId = customDimensions.extensionId\n, extensionName = customDimensions.extensionName\n, extensionPublisher = customDimensions.extensionPublisher\n, extensionScope = customDimensions.extensionScope\n, extensionDestinationVersion = customDimensions.extensionDestinationVersion\n, extensionSourceVersion = customDimensions.extensionSourceVersion\n// when should the operation run\n, runAfterDateUtc = customDimensions.runAfterDateUtc\n, useEnvironmentUpdateWindow = customDimensions.useEnvironmentUpdateWindow\n// what happened\n, failureReason = customDimensions.failureReason\n```\n## Environment app hotfix cancelled by App Management API\nOccurs when an app hotfix for the environment was cancelled by the App Management API service.\n### General dimensions\nDimension|Description or value\nmessage|Environment app '{extensionName}' hotfix to version {extensionDestinationVersion} was cancelled for environment: {environmentName}<br /><br /> `{extensionName}` indicates the name of the extension/app to be hotfixed.<br /><br /> `{extensionDestinationVersion}` indicates the new version for the app that is available. <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0157\nextensionId|Specifies the ID of the extension/app.\nextensionName|Specifies the name of the extension/app.\nextensionPublisher|Specifies the publisher of the extension/app.\nextensionScope|Specifies whether the extension/app was published to one of the following scopes: <br />Global - the extension can be installed on all tenants connected the service instance. <br />Tenant - the extension can only be installed on the tenant to which it was published.\nextensionDestinationVersion|Specifies the version of the extension/app to be installed or updated to.S\nextensionSourceVersion|Specifies the current version of the extension/app.\nrunAfterDateUtc|Specifies the date and time (in UTC) after which the hotfix can be applied.\nuseEnvironmentUpdateWindow|A boolean value (true or false) that specifies whether to use the update window that's defined in the Business Central admin center.\n## Environment app hotfix started by App Management API\nOccurs when an app hotfix for the environment was started by the App Management API service.\n### General dimensions\nDimension|Description or value\nmessage|Environment app '{extensionName}' hotfix to version {extensionDestinationVersion} started for environment: {environmentName} <br /><br /> `{extensionName}` indicates the name of the extension/app to be hotfixed.<br /><br /> `{extensionDestinationVersion}` indicates the new version for the app that is available.<br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0158\nextensionId|Specifies the ID of the extension/app.\nextensionName|Specifies the name of the extension/app.\nextensionPublisher|Specifies the publisher of the extension/app.\nextensionScope|Specifies whether the extension/app was published to one of the following scopes: <br />Global - the extension can be installed on all tenants connected the service instance. <br />Tenant - the extension can only be installed on the tenant to which it was published.\nextensionDestinationVersion|Specifies the version of the extension/app to be installed or updated to.S\nextensionSourceVersion|Specifies the current version of the extension/app.\nrunAfterDateUtc|Specifies the date and time (in UTC) after which the hotfix can be applied.\nuseEnvironmentUpdateWindow|A boolean value (true or false) that specifies whether to use the update window that's defined in the Business Central admin center.\n## Environment app hotfix applied successfully by App Management API\nOccurs when an app hotfix for the environment was applied successfully by the App Management API service.\n### General dimensions\nDimension|Description or value\nmessage|Environment app '{extensionName}' hotfix to version {extensionDestinationVersion} applied successfully for environment: {environmentName}<br /><br /> `{extensionName}` indicates the name of the extension/app to be hotfixed. <br /><br /> `{extensionDestinationVersion}` indicates the new version for the app that is available.<br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0159\nextensionId|Specifies the ID of the extension/app.\nextensionName|Specifies the name of the extension/app.\nextensionPublisher|Specifies the publisher of the extension/app.\nextensionScope|Specifies whether the extension/app was published to one of the following scopes: <br />Global - the extension can be installed on all tenants connected the service instance. <br />Tenant - the extension can only be installed on the tenant to which it was published.\nextensionDestinationVersion|Specifies the version of the extension/app to be installed or updated to.S\nextensionSourceVersion|Specifies the current version of the extension/app.\nrunAfterDateUtc|Specifies the date and time (in UTC) after which the hotfix can be applied.\nuseEnvironmentUpdateWindow|A boolean value (true or false) that specifies whether to use the update window that's defined in the Business Central admin center.\ntotalTime|Specifies the total time the operation ran for.\n## Environment app hotfix operation by App Management API failed to be installed\nOccurs when an app hotfix for the environment was applied by the App Management API service and failed to be installed.\n### General dimensions\nDimension|Description or value\nmessage|Environment app '{extensionName}' hotfix to version {extensionDestinationVersion} failed for environment: {environmentName}<br /><br /> `{extensionName}` indicates the name of the extension/app to be hotfixed. <br /><br /> `{extensionDestinationVersion}` indicates the new version for the app that is available. <br /><br /> `{environmentName}` indicates the name of the environment.\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.\napplicationFamily|Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.\ncountryCode|Specifies the localization for the environment, such as US or DK.\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.\nenvironmentVersion|Specifies the version of the tenant environment.\neventId|LC0160\nextensionId|Specifies the ID of the extension/app.\nextensionName|Specifies the name of the extension/app.\nextensionPublisher|Specifies the publisher of the extension/app.\nextensionScope|Specifies whether the extension/app was published to one of the following scopes: <br />Global - the extension can be installed on all tenants connected the service instance. <br />Tenant - the extension can only be installed on the tenant to which it was published.\nextensionDestinationVersion|Specifies the version of the extension/app to be installed or updated to.S\nextensionSourceVersion|Specifies the current version of the extension/app.\nfailureReason|Specifies the reason for the failure. Use this for troubleshooting.\nrunAfterDateUtc|Specifies the date and time (in UTC) after which the hotfix can be applied.\ntotalTime|Specifies the total time the operation ran for.\nuseEnvironmentUpdateWindow|A boolean value (true or false) that specifies whether to use the update window that's defined in the Business Central admin center.\n### Sample KQL code (environment app hotfix scheduling by App Management API failed to be installed)\nThis KQL code can help you get started analyzing failures for installing an app hotfix by using the App Management API:\n```kql\ntraces\n| where timestamp > ago(30d) // adjust as needed\n| where customDimensions.eventId == 'LC0160'\n| project timestamp\n, message\n// in which environment did it happen\n, aadTenantId = customDimensions.aadTenantId\n, applicationFamily = customDimensions.applicationFamily\n, countryCode = customDimensions.countryCode\n, environmentName = customDimensions.environmentName\n, environmentType = customDimensions.environmentType\n, environmentVersion = customDimensions.environmentVersion\n// which extension/app\n, extensionId = customDimensions.extensionId\n, extensionName = customDimensions.extensionName\n, extensionPublisher = customDimensions.extensionPublisher\n, extensionScope = customDimensions.extensionScope\n, extensionDestinationVersion = customDimensions.extensionDestinationVersion\n, extensionSourceVersion = customDimensions.extensionSourceVersion\n// when should the operation run\n, runAfterDateUtc = customDimensions.runAfterDateUtc\n, useEnvironmentUpdateWindow = customDimensions.useEnvironmentUpdateWindow\n// what happened\n, failureReason = customDimensions.failureReason\n```\n## Related information\nMonitoring and Analyzing Telemetry<telemetry-overview>\nEnable Sending Telemetry to Application Insights<telemetry-enable-application-insights>"}