Analyzing environment lifecycle trace telemetry

APPLIES TO: Business Central online

Environment lifecycle telemetry gathers data about the success or failure of the following environment-related operations:

  • Update an environment
  • Start/stop/restart an environment
  • Copy an environment
  • Point-in-time restore an environment
  • Transfer an environment to a different Microsoft Entra tenant
  • Cancel a session from the Business Central admin center
  • Export the environment database
  • Change the environment configuration
  • Delete an environment
  • Rename an environment

Telemetry is also gathered on the following data update events:

  • Data upgrade started
  • Data upgrade succeeded
  • Data upgrade failed
  • Data upgrade recovery succeeded
  • Data upgrade recovery failed

Failed operations result in a trace log entry that includes a reason for the failure.

Custom dimensions available in all events

The following dimensions are available in all events described below and aren't included in the individual event documentation:

DimensionDescription or value
componentDynamics 365 Business Central Control Plane
deprecatedKeysSpecifies 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.
telemetrySchemaVersionSpecifies the version of the Business Central telemetry schema.

Environment update available

Occurs when a new update is available for the environment.

General dimensions

DimensionDescription or value
messageEnvironment update available for scheduling: {environmentName} to version {destinationVersion}

{environmentName} indicates the name of the environment.

{destinationVersion} indicates the new version that is available.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
destinationVersionSpecifies the version we are updating to.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0100
registeredForUpdateOnOrAfterDateUtcSpecifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.
sourceVersionSpecifies the version we are updating from.
updatePeriodEndDateUtcSpecifies the end date and time of the update period (shown in UTC).
updatePeriodStartDateUtcSpecifies the start date and time of the update period (shown in UTC).

Environment update scheduled

Occurs when the environment is scheduled to be updated.

General dimensions

DimensionDescription or value
messageEnvironment update scheduled: {environmentName} to version {destinationVersion}, update on or after date: {registeredForUpdateOnOrAfterDateUtc}

{environmentName} indicates the name of the environment.

{destinationVersion} indicates the new version that is available.

{registeredForUpdateOnOrAfterDateUtc} indicates the date and time that is registered as the beginning of the update window in the admin center.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
canPartnerRescheduleA 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.
destinationVersionSpecifies the version we are updating to.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0101
ignoreUpdateWindowA 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.
registeredForUpdateOnOrAfterDateUtcSpecifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.
sourceVersionSpecifies the version we are updating from.
updateDateSelectedByPartnerBoolean value (True or False). Set to True if the update date was chosen by an administrator in the admin center.
updatePeriodEndDateUtcSpecifies the end date and time of the update period (shown in UTC).
updatePeriodStartDateUtcSpecifies the start date and time of the update period (shown in UTC).
updateWindowEndTimeUtcSpecifies the end date and time of the update window (shown in UTC).
updateWindowStartTimeUtcSpecifies the start date and time of the update window (shown in UTC).

Environment update missed

Occurs 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.

General dimensions

DimensionDescription or value
messageEnvironment update missed: {environmentName} to version {destinationVersion}

{environmentName} indicates the name of the environment.

{destinationVersion} indicates the new version that is available.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
destinationVersionSpecifies the version we are updating to.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0102
ignoreUpdateWindowA 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.
registeredForUpdateOnOrAfterDateUtcSpecifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.
sourceVersionSpecifies the version we are updating from.
updatePeriodEndDateUtcSpecifies the end date and time of the update period (shown in UTC).
updatePeriodStartDateUtcSpecifies the start date and time of the update period (shown in UTC).
updateWindowEndTimeUtcSpecifies the end date and time of the update window (shown in UTC).
updateWindowStartTimeUtcSpecifies the start date and time of the update window (shown in UTC).

Environment update postponed

Occurs when updates to the version selected as the environment's next update are postponed.

General dimensions

DimensionDescription or value
messageEnvironment update postponed: {environmentName} to version {destinationVersion}

{environmentName} indicates the name of the environment.

{destinationVersion} indicates the new version for which updates are postponed.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
destinationVersionSpecifies the version we are updating to.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0103
sourceVersionSpecifies the version we are updating from.

Environment update resumed

Occurs when updates to the version selected as next update for an environment resume.

General dimensions

DimensionDescription or value
messageEnvironment update resumed: {environmentName} to version {destinationVersion}

{environmentName} indicates the name of the environment.

{destinationVersion} indicates the new version that is available.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
destinationVersionSpecifies the version we are updating to.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0104
ignoreUpdateWindowA 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.
registeredForUpdateOnOrAfterDateUtcSpecifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.
sourceVersionSpecifies the version we are updating from.
updatePeriodEndDateUtcSpecifies the end date and time of the update period (shown in UTC).
updatePeriodStartDateUtcSpecifies the start date and time of the update period (shown in UTC).
updateWindowEndTimeUtcSpecifies the end date and time of the update window (shown in UTC).
updateWindowStartTimeUtcSpecifies the start date and time of the update window (shown in UTC).

Environment update started

Occurs when the update was started for the environment.

General dimensions

DimensionDescription or value
messageEnvironment update started: {environmentName} to version {destinationVersion}

{environmentName} indicates the name of the environment.

{destinationVersion} indicates the new version that is available.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
destinationVersionSpecifies the version we are updating to.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0105
reasonSpecifies the reason for the environment upgrade: Environment Upgrade or Internal Maintenance.
ignoreUpdateWindowA 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.
initiatedFromSpecifies where the operation was initiated from, such as TenantAdminCenter.
registeredForUpdateOnOrAfterDateUtcSpecifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.
remainingTimeInUpdateWindowThe time from the start of the operation until the end of the registered update window.
sourceVersionSpecifies the version we are updating from.
updatePeriodEndDateUtcSpecifies the end date and time of the update period (shown in UTC).
updatePeriodStartDateUtcSpecifies the start date and time of the update period (shown in UTC).
updateWindowEndTimeUtcSpecifies the end date and time of the update window (shown in UTC).
updateWindowStartTimeUtcSpecifies the start date and time of the update window (shown in UTC).

Environment updated successfully

Occurs when the environment was successfully updated.

General dimensions

DimensionDescription or value
messageEnvironment updated successfully: {environmentName} to version {destinationVersion}

{environmentName} indicates the name of the environment.

{destinationVersion} indicates the new version that is available.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
destinationVersionSpecifies the version we are updating to.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0106
ignoreUpdateWindowA 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.
initiatedFromSpecifies where the operation was initiated from, such as TenantAdminCenter.
registeredForUpdateOnOrAfterDateUtcSpecifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.
sourceVersionSpecifies the version we are updating from.
totalTimeSpecifies the total time the operation ran for.
updatePeriodEndDateUtcSpecifies the end date and time of the update period (shown in UTC).
updatePeriodStartDateUtcSpecifies the start date and time of the update period (shown in UTC).
updateWindowEndTimeUtcSpecifies the end date and time of the update window (shown in UTC).
updateWindowStartTimeUtcSpecifies the start date and time of the update window (shown in UTC).

Environment failed to update

Occurs when the update for the environment failed.

General dimensions

DimensionDescription or value
messageEnvironment failed to update: {environmentName} to version {destinationVersion}

{environmentName} indicates the name of the environment.

{destinationVersion} indicates the new version that is available.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
destinationVersionSpecifies the version we are updating to.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0107
failureCodeSpecifies code that describes the type of error that blocks the update, such as PteCompilation.
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
ignoreUpdateWindowA 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.
initiatedFromSpecifies where the operation was initiated from, such as TenantAdminCenter.
registeredForUpdateOnOrAfterDateUtcSpecifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.
recoveredA 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.
sourceVersionSpecifies the version we are updating from.
totalTimeSpecifies the total time the operation ran for.
updatePeriodEndDateUtcSpecifies the end date and time of the update period (shown in UTC).
updatePeriodStartDateUtcSpecifies the start date and time of the update period (shown in UTC).
updateWindowEndTimeUtcSpecifies the end date and time of the update window (shown in UTC).
updateWindowStartTimeUtcSpecifies the start date and time of the update window (shown in UTC).

Sample KQL code (failed environment updates)

This KQL code can help you get started analyzing environment update failures:

traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0107'
| project timestamp
, message
// in which environment did it happen
, aadTenantId = customDimensions.aadTenantId
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
// information about the update
, sourceVersion = customDimensions.sourceVersion
, destinationVersion = customDimensions.destinationVersion
, updatePeriodStartDateUtc = customDimensions.updatePeriodStartDateUtc
, updatePeriodEndDateUtc = customDimensions.updatePeriodEndDateUtc
, registeredForUpdateOnOrAfterDateUtc = customDimensions.registeredForUpdateOnOrAfterDateUtc
, updateWindowStartTimeUtc = customDimensions.updateWindowStartTimeUtc
, updateWindowEndTimeUtc = customDimensions.updateWindowEndTimeUtc
, ignoreUpdateWindow = customDimensions.ignoreUpdateWindow
, initiatedFrom = customDimensions.initiatedFrom
, totalTime = customDimensions.totalTime
// what happened
, failureReason = customDimensions.failureReason
, failureCode = customDimensions.failureCode
, recovered = customDimensions.recovered

Environment restart operation initiated

Occurs when a restart operation has been initiated from the admin center.

General dimensions

DimensionDescription or value
messageEnvironment restart operation initiated: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0110

Environment restarted successfully

Occurs when a restart operation succeeded for the environment.

General dimensions

DimensionDescription or value
messageEnvironment restarted successfully: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0111
totalTimeSpecifies the total time the operation ran for.

Environment restart operation failed

Occurs when a restart operation failed for the environment.

General dimensions

DimensionDescription or value
messageEnvironment restart operation failed: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0112
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
totalTimeSpecifies the total time the operation ran for.

Sample KQL code (failed environment restart)

This KQL code can help you get started analyzing environment restart failures:

traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0112'
| project timestamp
, message
// in which environment did it happen
, aadTenantId = customDimensions.aadTenantId
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
// what happened
, failureReason = customDimensions.failureReason

Environment start operation initiated

Occurs when a start operation has been initiated for the environment.

General dimensions

DimensionDescription or value
messageEnvironment start operation initiated: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0113

Environment started successfully

Occurs when a start operation succeeded for the environment.

General dimensions

DimensionDescription or value
messageEnvironment started successfully: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0114
totalTimeSpecifies the total time the operation ran for.

Environment start operation failed

Occurs when a start operation failed for the environment.

General dimensions

DimensionDescription or value
messageEnvironment start operation failed: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0115
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
totalTimeSpecifies the total time the operation ran for.

Sample KQL code (failed environment start operation)

This KQL code can help you get started analyzing environment start failures:

traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0115'
| project timestamp
, message
// in which environment did it happen
, aadTenantId = customDimensions.aadTenantId
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
// what happened
, failureReason = customDimensions.failureReason

Environment stop operation initiated

Occurs when a stop operation has been initiated for the environment.

General dimensions

DimensionDescription or value
messageEnvironment stop operation initiated: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0116

Environment stopped successfully

Occurs when a stop operation succeeded for the environment.

General dimensions

DimensionDescription or value
messageEnvironment stopped successfully: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0117
totalTimeSpecifies the total time the operation ran for.

Environment stop operation failed

Occurs when a stop operation failed for the environment.

General dimensions

DimensionDescription or value
messageEnvironment stop operation failed: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0118
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
totalTimeSpecifies the total time the operation ran for.

Sample KQL code (failed environment stop operation)

This KQL code can help you get started analyzing environment stop failures:

traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0118'
| project timestamp
, message
// in which environment did it happen
, aadTenantId = customDimensions.aadTenantId
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
// what happened
, failureReason = customDimensions.failureReason

Environment copy operation started on source

Occurs when a copy operation for the environment started on the source environment.

General dimensions

DimensionDescription or value
messageEnvironment copy operation started on source: {environmentName} to {destinationEnvironmentName}

{environmentName} indicates the name of the environment.

{destinationEnvironmentName} indicates the name of the destination environment

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
destinationEnvironmentNameSpecifies the name of the destination environment of the operation.
destinationEnvironmentTypeSpecifies the type of the destination environment of the operation.
destinationEnvironmentVersionSpecifies the version of the destination environment of the operation.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0119

Environment copied successfully

Occurs when a copy operation for the environment succeeded.

General dimensions

DimensionDescription or value
messageEnvironment copied successfully: {environmentName} to {destinationEnvironmentName}

{environmentName} indicates the name of the environment.

{destinationEnvironmentName} indicates the name of the destination environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
destinationEnvironmentNameSpecifies the name of the destination environment of the operation.
destinationEnvironmentTypeSpecifies the type of the destination environment of the operation.
destinationEnvironmentVersionSpecifies the version of the destination environment of the operation.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0120
totalTimeSpecifies the total time the operation ran for.

Environment copy operation failed on source

Occurs when a copy operation for the environment failed on the source environment.

General dimensions

DimensionDescription or value
messageEnvironment copy operation failed on source: {environmentName} to {destinationEnvironmentName}

{environmentName} indicates the name of the environment.

{destinationEnvironmentName} indicates the name of the destination environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
destinationEnvironmentNameSpecifies the name of the destination environment of the operation.
destinationEnvironmentTypeSpecifies the type of the destination environment of the operation.
destinationEnvironmentVersionSpecifies the version of the destination environment of the operation.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0121
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
totalTimeSpecifies the total time the operation ran for.

Sample KQL code (failed environment copy on source)

This KQL code can help you get started analyzing environment copy failures (that happened on the source):

traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0121'
| project timestamp
, message
// source environment
, aadTenantId = customDimensions.aadTenantId
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
// destination environment
, destinationEnvironmentName = customDimensions.destinationEnvironmentName
, destinationEnvironmentType = customDimensions.destinationEnvironmentType
, destinationEnvironmentVersion = customDimensions.destinationEnvironmentVersion
// what happened
, totalTime = customDimensions.totalTime
, failureReason = customDimensions.failureReason

Environment copy operation started on destination

Occurs when a copy operation for the environment started on the destination environment.

General dimensions

DimensionDescription or value
messageEnvironment copy operation started on destination: {environmentName} from {sourceEnvironmentName}

{environmentName} indicates the name of the environment.

{sourceEnvironmentName} indicates the name of the environment that was to be copied.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0122
sourceEnvironmentNameSpecifies the name of the source environment of the operation.
sourceEnvironmentTypeSpecifies the type of the source environment of the operation.
sourceEnvironmentVersionSpecifies the version of the source environment of the operation.

Environment copied successfully to destination

Occurs when a copy operation for the environment succeeded on the destination environment.

General dimensions

DimensionDescription or value
messageEnvironment copied successfully to destination: {environmentName} from {sourceEnvironmentName}

{environmentName} indicates the name of the environment.

{sourceEnvironmentName} indicates the name of the environment that was to be copied.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0123
sourceEnvironmentNameSpecifies the name of the source environment of the operation.
sourceEnvironmentTypeSpecifies the type of the source environment of the operation.
sourceEnvironmentVersionSpecifies the version of the source environment of the operation.
totalTimeSpecifies the total time the operation ran for.

Environment copy operation failed on destination

Occurs when a copy operation for the environment failed on the destination environment.

General dimensions

DimensionDescription or value
messageEnvironment copy operation failed on destination: {environmentName} from {sourceEnvironmentName}

{environmentName} indicates the name of the environment.

{sourceEnvironmentName} indicates the name of the environment that was to be copied.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0124
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
sourceEnvironmentNameSpecifies the name of the source environment of the operation.
sourceEnvironmentTypeSpecifies the type of the source environment of the operation.
sourceEnvironmentVersionSpecifies the version of the source environment of the operation.
totalTimeSpecifies the total time the operation ran for.

Sample KQL code (failed environment copy on destination)

This KQL code can help you get started analyzing environment copy failures (that happened on the destination):

traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0124'
| project timestamp
, message
, aadTenantId = customDimensions.aadTenantId
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
// source environment
, sourceEnvironmentName = customDimensions.sourceEnvironmentName
, sourceEnvironmentType = customDimensions.sourceEnvironmentType
, sourceEnvironmentVersion = customDimensions.sourceEnvironmentVersion
// destination environment
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
// what happened
, totalTime = customDimensions.totalTime
, failureReason = customDimensions.failureReason

Environment point-in-time restore operation started on source

Occurs when a point-in-time restore operation for the environment started on the environment.

General dimensions

DimensionDescription or value
messageEnvironment point-in-time restore operation started on source: {environmentName} to {destinationEnvironmentName}

{environmentName} indicates the name of the environment.

{destinationEnvironmentName} indicates the name of the destination environment for the operation.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
destinationEnvironmentNameSpecifies the name of the destination environment of the operation.
destinationEnvironmentTypeSpecifies the type of the destination environment of the operation.
destinationEnvironmentVersionSpecifies the version of the destination environment of the operation.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0125
pointInTimeUtcSpecifies the point in time (in UTC) to which the environment should be restored to.

Environment point-in-time restored successfully

Occurs when a point-in-time restore operation for the environment completed successfully.

General dimensions

DimensionDescription or value
messageEnvironment point-in-time restored successfully: {environmentName} to {destinationEnvironmentName}

{environmentName} indicates the name of the environment.

{destinationEnvironmentName} indicates the name of the destination environment for the operation.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
destinationEnvironmentNameSpecifies the name of the destination environment of the operation.
destinationEnvironmentTypeSpecifies the type of the destination environment of the operation.
destinationEnvironmentVersionSpecifies the version of the destination environment of the operation.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0126
pointInTimeUtcSpecifies the point in time (in UTC) to which the environment should be restored to.
totalTimeSpecifies the total time the operation ran for.

Environment point-in-time restore operation failed on source

Occurs when a point-in-time restore operation for the environment failed.

General dimensions

DimensionDescription or value
messageEnvironment point-in-time restore operation failed on source: {environmentName} to {destinationEnvironmentName}

{environmentName} indicates the name of the environment.

{destinationEnvironmentName} indicates the name of the destination environment for the operation.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
destinationEnvironmentNameSpecifies the name of the destination environment of the operation.
destinationEnvironmentTypeSpecifies the type of the destination environment of the operation.
destinationEnvironmentVersionSpecifies the version of the destination environment of the operation.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0127
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
pointInTimeUtcSpecifies the point in time (in UTC) to which the environment should be restored to.
totalTimeSpecifies the total time the operation ran for.

Sample KQL code (failed environment point-in-time operation on source)

This KQL code can help you get started analyzing point-in-time failures (that happened on the source):

traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0127'
| project timestamp
, message
// in which environment did it happen
, aadTenantId = customDimensions.aadTenantId
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
, destinationEnvironmentName = customDimensions.destinationEnvironmentName
, destinationEnvironmentType = customDimensions.destinationEnvironmentType
, destinationEnvironmentVersion = customDimensions.destinationEnvironmentVersion
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
// operation details
, pointInTimeUtc = customDimensions.pointInTimeUtc
// what happened
, failureReason = customDimensions.failureReason
, totalTime = customDimensions.totalTime

Environment point-in-time restore operation started on destination

Occurs when a point-in-time restore operation for the environment started on the destination environment.

General dimensions

DimensionDescription or value
messageEnvironment point-in-time restore operation started on destination: {environmentName} from {sourceEnvironmentName}

{environmentName} indicates the name of the environment.

{sourceEnvironmentName} indicates the name of the source environment for the operation.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
eventIdLC0128
pointInTimeUtcSpecifies the point in time (in UTC) to which the environment should be restored to.
sourceEnvironmentNameSpecifies the name of the source environment of the operation.
sourceEnvironmentTypeSpecifies the type of the source environment of the operation.
sourceEnvironmentVersionSpecifies the version of the source environment of the operation.

Environment point-in-time restored successfully to destination

Occurs when a point-in-time restore operation for the environment completed successfully on the destination environment.

General dimensions

DimensionDescription or value
messageEnvironment point-in-time restored successfully to destination: {environmentName} from {sourceEnvironmentName}

{environmentName} indicates the name of the environment.

{sourceEnvironmentName} indicates the name of the source environment for the operation.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0129
pointInTimeUtcSpecifies the point in time (in UTC) to which the environment should be restored to.
sourceEnvironmentNameSpecifies the name of the source environment of the operation.
sourceEnvironmentTypeSpecifies the type of the source environment of the operation.
sourceEnvironmentVersionSpecifies the version of the source environment of the operation.
totalTimeSpecifies the total time the operation ran for.

Environment point-in-time restore operation failed on destination

Occurs when a point-in-time restore operation for the environment failed in the destination environment.

General dimensions

DimensionDescription or value
messageEnvironment point-in-time restore operation failed on destination: {environmentName} to {sourceEnvironmentName}

{environmentName} indicates the name of the environment.

{sourceEnvironmentName} indicates the name of the source environment for the operation.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0130
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
pointInTimeUtcSpecifies the point in time (in UTC) to which the environment should be restored to.
sourceEnvironmentNameSpecifies the name of the source environment of the operation.
sourceEnvironmentTypeSpecifies the type of the source environment of the operation.
sourceEnvironmentVersionSpecifies the version of the source environment of the operation.
totalTimeSpecifies the total time the operation ran for.

Sample KQL code (failed environment point-in-time operation on destination)

This KQL code can help you get started analyzing point-in-time failures (that happened on the destination):

traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0130'
| project timestamp
, message
// in which environment did it happen
, aadTenantId = customDimensions.aadTenantId
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
, sourceEnvironmentName = customDimensions.sourceEnvironmentName
, sourceEnvironmentType = customDimensions.sourceEnvironmentType
, sourceEnvironmentVersion = customDimensions.sourceEnvironmentVersion
// operation details
, pointInTimeUtc = customDimensions.pointInTimeUtc
// what happened
, failureReason = customDimensions.failureReason
, totalTime = customDimensions.totalTime

Environment transfer to different Entra tenant operation scheduled

Occurs when the environment is scheduled to be transferred to a different Microsoft Entra tenant, after a transfer is accepted on the destination tenant.

General dimensions

DimensionDescription or value
messageEnvironment move to {destinationAadTenantId} AAD tenant operation scheduled to run at {registeredForMoveDateUtc}: {sourceEnvironmentName}

{sourceEnvironmentName} indicates the name of the environment to be moved.

{destinationAadTenantId} indicates the destination Entra tenant.

{registeredForMoveDateUtc} indicates the date and time that have been registered for the move.

Custom dimensions

DimensionDescription or value
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
destinationAadTenantIdSpecifies the destination Microsoft Entra tenant ID for the move.
destinationEnvironmentNameSpecifies the name of the destination environment of the operation.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0131
registeredForMoveDateUtcSpecifies the date and time (in UTC) registered by Microsoft Support on which the operation should happen.
sourceEnvironmentNameSpecifies the name of the source environment of the operation.
sourceAadTenantIdSpecifies the source Microsoft Entra tenant ID for the move.

Environment transfer to different Entra tenant operation scheduling failed

Occurs 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.

General dimensions

DimensionDescription or value
messageEnvironment move to {destinationAadTenantId} AAD tenant operation scheduling failed: {sourceEnvironmentName}

{sourceEnvironmentName} indicates the name of the environment to be moved.

{destinationAadTenantId} indicates the destination Entra tenant.

Custom dimensions

DimensionDescription or value
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
destinationAadTenantIdSpecifies the destination Microsoft Entra tenant ID for the move.
destinationEnvironmentNameSpecifies the name of the destination environment of the operation.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0132
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
registeredForMoveDateUtcSpecifies the date and time (in UTC) registered by Microsoft Support on which the operation should happen.
sourceEnvironmentNameSpecifies the name of the source environment of the operation.
sourceAadTenantIdSpecifies the source Microsoft Entra tenant ID for the move.
totalTimeSpecifies the total time the operation ran for.

Sample KQL code (failed move of environment to different Microsoft Entra tenant)

This KQL code can help you get started analyzing failures in moving an environment to a different Microsoft Entra tenant:

traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0132'
| project timestamp
, message
// in which tenants did it happen
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
, sourceAadTenantId = customDimensions.sourceAadTenantId
, destinationAadTenantId = customDimensions.destinationAadTenantId
, sourceEnvironmentName = customDimensions.sourceEnvironmentName
, destinationEnvironmentName = customDimensions.destinationEnvironmentName
, registeredForMoveDateUtc = customDimensions.registeredForMoveDateUtc
// what happened
, totalTime = customDimensions.totalTime
, failureReason = customDimensions.failureReason

Environment transfer to different Entra tenant operation started

Occurs when the operation to move the environment to a different Entra tenant started.

General dimensions

DimensionDescription or value
messageEnvironment move to {destinationAadTenantId} AAD tenant operation started: {sourceEnvironmentName}

{sourceEnvironmentName} indicates the name of the environment to be moved.

{destinationAadTenantId} indicates the destination Entra tenant.

Custom dimensions

DimensionDescription or value
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
destinationAadTenantIdSpecifies the destination Microsoft Entra tenant ID for the move.
destinationEnvironmentNameSpecifies the name of the destination environment of the operation.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0133
sourceEnvironmentNameSpecifies the name of the source environment of the operation.
sourceAadTenantIdSpecifies the source Microsoft Entra tenant ID for the move.

Environment transferred successfully to different Entra tenant

Occurs when the operation to transfer the environment to a different Entra tenant completed successfully.

General dimensions

DimensionDescription or value
messageEnvironment moved to {destinationAadTenantId} AAD tenant successfully: {sourceEnvironmentName}

{sourceEnvironmentName} indicates the name of the environment that was moved.

{destinationAadTenantId} indicates the Entra tenant that the environment was transferred to.

Custom dimensions

DimensionDescription or value
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
destinationAadTenantIdSpecifies the destination Microsoft Entra tenant ID for the move.
destinationEnvironmentNameSpecifies the name of the destination environment of the operation.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0134
sourceEnvironmentNameSpecifies the name of the source environment of the operation.
sourceAadTenantIdSpecifies the source Microsoft Entra tenant ID for the move.
totalTimeSpecifies the total time the operation ran for.

Environment transfer to different Entra tenant failed

Occurs when the operation to transfer the environment to a different Entra tenant failed.

General dimensions

DimensionDescription or value
messageEnvironment move to {destinationAadTenantId} AAD tenant operation failed: {sourceEnvironmentName}

{sourceEnvironmentName} indicates the name of the environment that was to be moved.

{destinationAadTenantId} indicates the destination Entra tenant.

Custom dimensions

DimensionDescription or value
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
destinationAadTenantIdSpecifies the destination Microsoft Entra tenant ID for the move.
destinationEnvironmentNameSpecifies the name of the destination environment of the operation.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0135
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
sourceEnvironmentNameSpecifies the name of the source environment of the operation.
sourceAadTenantIdSpecifies the source Microsoft Entra tenant ID for the move.
totalTimeSpecifies the total time the operation ran for.

Sample KQL code (failed move of environment to different Microsoft Entra tenant)

This KQL code can help you get started analyzing failures in moving an environment to a different Microsoft Entra tenant:

// Environment move to different AAD tenant failed
traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0135'
| project timestamp
, message
// in which tenants did it happen
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
, sourceAadTenantId = customDimensions.sourceAadTenantId
, destinationAadTenantId = customDimensions.destinationAadTenantId
, sourceEnvironmentName = customDimensions.sourceEnvironmentName
, destinationEnvironmentName = customDimensions.destinationEnvironmentName
// what happened
, totalTime = customDimensions.totalTime
, failureReason = customDimensions.failureReason

Environment session cancellation started

Occurs when a session is requested to be cancelled from the admin center.

General dimensions

DimensionDescription or value
messageEnvironment session {sessionId} cancellation started: {environmentName}

{environmentName} indicates the name of the environment.

{sessionId} indicates the id of the session that is being cancelled.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0136
sessionIdSpecifies the ID of the session being cancelled.

Environment session cancelled successfully

Occurs when a session was successfully cancelled from the admin center.

General dimensions

DimensionDescription or value
messageEnvironment session {sessionId} cancelled successfully: {environmentName}

{environmentName} indicates the name of the environment.

{sessionId} indicates the id of the session that is being cancelled.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0137
sessionIdSpecifies the ID of the session being cancelled.
totalTimeSpecifies the total time the operation ran for.

Environment session cancellation failed

Occurs when a session cancellation request from the admin center failed.

General dimensions

DimensionDescription or value
messageEnvironment session {sessionId} cancellation failed: {environmentName}

{environmentName} indicates the name of the environment.

{sessionId} indicates the id of the session that is being cancelled.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0138
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
sessionIdSpecifies the ID of the session being cancelled.
totalTimeSpecifies the total time the operation ran for.

Sample KQL code (failed cancellation of session)

This KQL code can help you get started analyzing failures in cancelling sessions:

traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0138'
| project timestamp
, message
// in which environment did it happen
, aadTenantId = customDimensions.aadTenantId
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
// what happened
, failureReason = customDimensions.failureReason
, sessionId = customDimensions.sessionId

Environment database export operation started

Occurs when a database export is requested from the admin center.

General dimensions

DimensionDescription or value
messageEnvironment database export operation started: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
blobUrlSpecifies the URL of the blob where the database export file will be saved.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0139

Environment database exported successfully

Occurs when the environment database was successfully exported from the admin center.

General dimensions

DimensionDescription or value
messageEnvironment database exported successfully: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
blobUrlSpecifies the URL of the blob where the database export file will be saved.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0140
totalTimeSpecifies the total time the operation ran for.

Environment database export operation failed

Occurs when a database export request from the admin center failed.

General dimensions

DimensionDescription or value
messageEnvironment database export operation failed: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
blobUrlSpecifies the URL of the blob where the database export file will be saved.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0141
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
totalTimeSpecifies the total time the operation ran for.

Sample KQL code (failed database export operation)

This KQL code can help you get started analyzing failures in export database operations:

traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0141'
| project timestamp
, message
// in which environment did it happen
, aadTenantId = customDimensions.aadTenantId
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
// what happened
, failureReason = customDimensions.failureReason
, blobUrl = customDimensions.blobUrl

Environment configuration key updated

Occurs when a configuration key for the environment was successfully updated.

General dimensions

DimensionDescription or value
messageEnvironment configuration key {environmentConfigurationKey} updated for environment {environmentName} to value: {newValue}

{environmentName} indicates the name of the environment.

{environmentConfigurationKey} indicates the name of the configuration key to be updated.

{newValue} indicates the new value of the key.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentConfigurationKeySpecifies an environment configuration key, such as ApplicationInsightsKey.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0142
newValueSpecifies the value of the key after the operation.
oldValueSpecifies the value of the key before the operation.

Environment configuration key failed to update

Occurs when a configuration key for the environment failed to be updated.

General dimensions

DimensionDescription or value
messageEnvironment configuration key {environmentConfigurationKey} failed to update for environment {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentConfigurationKeySpecifies an environment configuration key, such as ApplicationInsightsKey.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0143
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
newValueThe value that the operation was supposed to update to.
oldValueSpecifies the value of the key before the operation.
totalTimeSpecifies the total time the operation ran for.

Sample KQL code (environment configuration key failed to update)

This KQL code can help you get started analyzing failures when setting an environment configuration key:

traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0143'
| project timestamp
, message
// in which environment did it happen
, aadTenantId = customDimensions.aadTenantId
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
// what happened
, failureReason = customDimensions.failureReason
, oldValue = customDimensions.oldValue
, newValue = customDimensions.newValue

Environment configuration key deleted

Occurs when a configuration key for the environment was successfully deleted.

General dimensions

DimensionDescription or value
messageEnvironment configuration key {environmentConfigurationKey} deleted for environment {environmentName}

{environmentName} indicates the name of the environment.

{environmentConfigurationKey} indicates the name of the configuration key to be deleted.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentConfigurationKeySpecifies an environment configuration key, such as ApplicationInsightsKey.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0144
oldValueSpecifies the value of the key before the operation.

Environment configuration key failed to be deleted

Occurs when a configuration key for the environment failed to be deleted.

General dimensions

DimensionDescription or value
messageEnvironment configuration key {environmentConfigurationKey} failed to delete for environment {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentConfigurationKeySpecifies an environment configuration key, such as ApplicationInsightsKey.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0145
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
oldValueSpecifies the value of the key before the operation.
totalTimeSpecifies the total time the operation ran for.

Sample KQL code (environment configuration key failed to be deleted)

This KQL code can help you get started analyzing failures when deleting an environment configuration key:

traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0145'
| project timestamp
, message
// in which environment did it happen
, aadTenantId = customDimensions.aadTenantId
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
// what happened
, failureReason = customDimensions.failureReason
, oldValue = customDimensions.oldValue

Environment update window modified

Occurs when the update window for the environment was successfully updated.

General dimensions

DimensionDescription or value
messageEnvironment update window was modified for environment: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0146
newUpdateWindowStartTimeUtcThe start time (in UTC) for the new update window.
newUpdateWindowEndTimeUtcThe end time (in UTC) for the new update window.
oldUpdateWindowStartTimeUtcThe start time (in UTC) for the old update window.
oldUpdateWindowEndTimeUtcThe end time (in UTC) for the old update window.

Environment update window modification failed

Occurs when an update window failed to be updated.

General dimensions

DimensionDescription or value
messageEnvironment update window modification failed for environment: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0147
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
newUpdateWindowStartTimeUtcThe start time (in UTC) for the new update window.
newUpdateWindowEndTimeUtcThe end time (in UTC) for the new update window.
oldUpdateWindowStartTimeUtcThe start time (in UTC) for the old update window.
oldUpdateWindowEndTimeUtcThe end time (in UTC) for the old update window.
totalTimeSpecifies the total time the operation ran for.

Sample KQL code (environment update window modification failed)

This KQL code can help you get started analyzing failures for updating the environment window modification:

traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0147'
| project timestamp
, message
// in which environment did it happen
, aadTenantId = customDimensions.aadTenantId
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
// what happened
, failureReason = customDimensions.failureReason
, newUpdateWindowStartTimeUtc = customDimensions.newUpdateWindowStartTimeUtc
, newUpdateWindowEndTimeUtc = customDimensions.newUpdateWindowEndTimeUtc
, oldUpdateWindowStartTimeUtc = customDimensions.oldUpdateWindowStartTimeUtc
, oldUpdateWindowEndTimeUtc = customDimensions.oldUpdateWindowEndTimeUtc

Environment (soft) delete operation started

Occurs when a (soft) delete operation was started for the environment.

General dimensions

DimensionDescription or value
messageEnvironment soft delete operation started: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
deletionReasonSpecifies the reason for the delete operation
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0180

Environment (soft) deleted

Occurs when the environment was successfully (soft) deleted.

General dimensions

DimensionDescription or value
messageEnvironment soft deleted successfully: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
deletionReasonSpecifies the reason for the delete operation
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0181
totalTimeSpecifies the total time the operation ran for.

Environment (soft) delete operation failed

Occurs when a (soft) delete operation for the environment failed.

General dimensions

DimensionDescription or value
messageEnvironment soft delete operation failed: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
deletionReasonSpecifies the reason for the delete operation
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0182
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
totalTimeSpecifies the total time the operation ran for.

Sample KQL code (environment soft delete failed)

This KQL code can help you get started analyzing failures for (soft) deleting an environment:

traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0182'
| project timestamp
, message
// in which environment did it happen
, aadTenantId = customDimensions.aadTenantId
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
// what happened
, failureReason = customDimensions.failureReason
, deletionReason = customDimensions.deletionReason

Environment (hard) delete operation scheduled

Occurs when a (hard) delete operation was scheduled for the environment.

General dimensions

DimensionDescription or value
messageEnvironment delete operation scheduled: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
deletionReasonSpecifies the reason for the delete operation
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0148

Environment (hard) delete operation started

Occurs when a (hard) delete operation was started for the environment.

General dimensions

DimensionDescription or value
messageEnvironment delete operation started: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
deletionReasonSpecifies the reason for the delete operation
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0149

Environment (hard) deleted

Occurs when the environment was successfully (hard) deleted.

General dimensions

DimensionDescription or value
messageEnvironment deleted successfully: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
deletionReasonSpecifies the reason for the delete operation
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0150
totalTimeSpecifies the total time the operation ran for.

Environment (hard) delete operation failed

Occurs when a (hard) delete operation for the environment failed.

General dimensions

DimensionDescription or value
messageEnvironment delete operation failed: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
deletionReasonSpecifies the reason for the delete operation
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0151
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
totalTimeSpecifies the total time the operation ran for.

Sample KQL code (environment hard delete failed)

This KQL code can help you get started analyzing failures for (hard) deleting an environment:

traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0151'
| project timestamp
, message
// in which environment did it happen
, aadTenantId = customDimensions.aadTenantId
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
// what happened
, failureReason = customDimensions.failureReason
, deletionReason = customDimensions.deletionReason

Environment recovery (undelete) operation started

Occurs when a recovery (undelete) operation was started for the environment.

General dimensions

DimensionDescription or value
messageEnvironment recovery operation started: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
deletionReasonSpecifies the reason for the delete operation
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0183

Environment recovered

Occurs when the environment was successfully recovered (undeleted).

General dimensions

DimensionDescription or value
messageEnvironment recovered successfully: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
deletionReasonSpecifies the reason for the delete operation
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0184
totalTimeSpecifies the total time the operation ran for.

Environment recovery (undelete) operation failed

Occurs when a recovery (undelete) operation for the environment failed.

General dimensions

DimensionDescription or value
messageEnvironment recovery operation failed: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
deletionReasonSpecifies the reason for the delete operation
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0185
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
totalTimeSpecifies the total time the operation ran for.

Sample KQL code (environment undelete failed)

This KQL code can help you get started analyzing failures for undeleting an environment:

traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0185'
| project timestamp
, message
// in which environment did it happen
, aadTenantId = customDimensions.aadTenantId
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
// what happened
, failureReason = customDimensions.failureReason
, deletionReason = customDimensions.deletionReason

Environment rename operation started

Occurs when a rename operation was started for the environment.

General dimensions

DimensionDescription or value
messageEnvironment rename operation started: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0152
newEnvironmentNameSpecifies the new name of the environment.

Environment renamed

Occurs when the environment was successfully renamed.

General dimensions

DimensionDescription or value
messageEnvironment renamed successfully: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0153
newEnvironmentNameSpecifies the new name of the environment.
totalTimeSpecifies the total time the operation ran for.

Environment rename operation failed

Occurs when a rename operation for the environment failed.

General dimensions

DimensionDescription or value
messageEnvironment rename operation failed: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0154
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
newEnvironmentNameSpecifies the new name of the environment.
totalTimeSpecifies the total time the operation ran for.

Sample KQL code (environment rename operation failed)

This KQL code can help you get started analyzing failures for renaming an environment:

traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0154'
| project timestamp
, message
// in which environment did it happen
, aadTenantId = customDimensions.aadTenantId
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
, newEnvironmentName = customDimensions.newEnvironmentName
// what happened
, failureReason = customDimensions.failureReason

Environment app hotfix scheduled by App Management API

Occurs when an app hotfix for the environment has been scheduled by the App Management API service.

General dimensions

DimensionDescription or value
messageEnvironment app '{extensionName}' hotfix to version {extensionDestinationVersion} scheduled for environment: {environmentName}

{extensionName} indicates the name of the extension/app to be hotfixed.

{extensionDestinationVersion} indicates the new version for the app that is available.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0155
extensionIdSpecifies the ID of the extension/app.
extensionNameSpecifies the name of the extension/app.
extensionPublisherSpecifies the publisher of the extension/app.
extensionScopeSpecifies whether the extension/app was published to one of the following scopes:
Global - the extension can be installed on all tenants connected the service instance.
Tenant - the extension can only be installed on the tenant to which it was published.
extensionDestinationVersionSpecifies the version of the extension/app to be installed or updated to.S
extensionSourceVersionSpecifies the current version of the extension/app.
runAfterDateUtcSpecifies the date and time (in UTC) after which the hotfix can be applied.
useEnvironmentUpdateWindowA boolean value (true or false) that specifies whether to use the update window that's defined in the Business Central admin center.

Environment app hotfix scheduling by App Management API failed to be scheduled

Occurs when an app hotfix for the environment couldn't be scheduled by the App Management API service.

General dimensions

DimensionDescription or value
messageEnvironment app '{extensionName}' hotfix to version {extensionDestinationVersion} scheduling failed for environment: {environmentName}

{extensionName} indicates the name of the extension/app to be hotfixed.

{extensionDestinationVersion} indicates the version of the app that the hotfix should update it to.

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0156
extensionIdSpecifies the ID of the extension/app.
extensionNameSpecifies the name of the extension/app.
extensionPublisherSpecifies the publisher of the extension/app.
extensionScopeSpecifies whether the extension/app was published to one of the following scopes:
Global - the extension can be installed on all tenants connected the service instance.
Tenant - the extension can only be installed on the tenant to which it was published.
extensionDestinationVersionSpecifies the version of the extension/app to be installed or updated to.S
extensionSourceVersionSpecifies the current version of the extension/app.
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
runAfterDateUtcSpecifies the date and time (in UTC) after which the hotfix can be applied.
useEnvironmentUpdateWindowA boolean value (true or false) that specifies whether to use the update window that's defined in the Business Central admin center.
totalTimeSpecifies the total time the operation ran for.

Sample KQL code (environment app hotfix scheduling by App Management API failed to be scheduled)

This KQL code can help you get started analyzing failures for scheduling an app hotfix by using the App Management API:

traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0156'
| project timestamp
, message
// in which environment did it happen
, aadTenantId = customDimensions.aadTenantId
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
, environmentVersion = customDimensions.environmentVersion
// which extension/app
, extensionId = customDimensions.extensionId
, extensionName = customDimensions.extensionName
, extensionPublisher = customDimensions.extensionPublisher
, extensionScope = customDimensions.extensionScope
, extensionDestinationVersion = customDimensions.extensionDestinationVersion
, extensionSourceVersion = customDimensions.extensionSourceVersion
// when should the operation run
, runAfterDateUtc = customDimensions.runAfterDateUtc
, useEnvironmentUpdateWindow = customDimensions.useEnvironmentUpdateWindow
// what happened
, failureReason = customDimensions.failureReason

Environment app hotfix cancelled by App Management API

Occurs when an app hotfix for the environment was cancelled by the App Management API service.

General dimensions

DimensionDescription or value
messageEnvironment app '{extensionName}' hotfix to version {extensionDestinationVersion} was cancelled for environment: {environmentName}

{extensionName} indicates the name of the extension/app to be hotfixed.

{extensionDestinationVersion} indicates the new version for the app that is available.

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0157
extensionIdSpecifies the ID of the extension/app.
extensionNameSpecifies the name of the extension/app.
extensionPublisherSpecifies the publisher of the extension/app.
extensionScopeSpecifies whether the extension/app was published to one of the following scopes:
Global - the extension can be installed on all tenants connected the service instance.
Tenant - the extension can only be installed on the tenant to which it was published.
extensionDestinationVersionSpecifies the version of the extension/app to be installed or updated to.S
extensionSourceVersionSpecifies the current version of the extension/app.
runAfterDateUtcSpecifies the date and time (in UTC) after which the hotfix can be applied.
useEnvironmentUpdateWindowA boolean value (true or false) that specifies whether to use the update window that's defined in the Business Central admin center.

Environment app hotfix started by App Management API

Occurs when an app hotfix for the environment was started by the App Management API service.

General dimensions

DimensionDescription or value
messageEnvironment app '{extensionName}' hotfix to version {extensionDestinationVersion} started for environment: {environmentName}

{extensionName} indicates the name of the extension/app to be hotfixed.

{extensionDestinationVersion} indicates the new version for the app that is available.

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0158
extensionIdSpecifies the ID of the extension/app.
extensionNameSpecifies the name of the extension/app.
extensionPublisherSpecifies the publisher of the extension/app.
extensionScopeSpecifies whether the extension/app was published to one of the following scopes:
Global - the extension can be installed on all tenants connected the service instance.
Tenant - the extension can only be installed on the tenant to which it was published.
extensionDestinationVersionSpecifies the version of the extension/app to be installed or updated to.S
extensionSourceVersionSpecifies the current version of the extension/app.
runAfterDateUtcSpecifies the date and time (in UTC) after which the hotfix can be applied.
useEnvironmentUpdateWindowA boolean value (true or false) that specifies whether to use the update window that's defined in the Business Central admin center.

Environment app hotfix applied successfully by App Management API

Occurs when an app hotfix for the environment was applied successfully by the App Management API service.

General dimensions

DimensionDescription or value
messageEnvironment app '{extensionName}' hotfix to version {extensionDestinationVersion} applied successfully for environment: {environmentName}

{extensionName} indicates the name of the extension/app to be hotfixed.

{extensionDestinationVersion} indicates the new version for the app that is available.

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0159
extensionIdSpecifies the ID of the extension/app.
extensionNameSpecifies the name of the extension/app.
extensionPublisherSpecifies the publisher of the extension/app.
extensionScopeSpecifies whether the extension/app was published to one of the following scopes:
Global - the extension can be installed on all tenants connected the service instance.
Tenant - the extension can only be installed on the tenant to which it was published.
extensionDestinationVersionSpecifies the version of the extension/app to be installed or updated to.S
extensionSourceVersionSpecifies the current version of the extension/app.
runAfterDateUtcSpecifies the date and time (in UTC) after which the hotfix can be applied.
useEnvironmentUpdateWindowA boolean value (true or false) that specifies whether to use the update window that's defined in the Business Central admin center.
totalTimeSpecifies the total time the operation ran for.

Environment app hotfix operation by App Management API failed to be installed

Occurs when an app hotfix for the environment was applied by the App Management API service and failed to be installed.

General dimensions

DimensionDescription or value
messageEnvironment app '{extensionName}' hotfix to version {extensionDestinationVersion} failed for environment: {environmentName}

{extensionName} indicates the name of the extension/app to be hotfixed.

{extensionDestinationVersion} indicates the new version for the app that is available.

{environmentName} indicates the name of the environment.

Custom dimensions

DimensionDescription or value
aadTenantIdSpecifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamilySpecifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCodeSpecifies the localization for the environment, such as US or DK.
environmentNameSpecifies the name of the tenant environment. Learn more in Managing Environments.
environmentTypeSpecifies the environment type for the tenant, such as Production or Sandbox. Learn more in Environment Types.
environmentVersionSpecifies the version of the tenant environment.
eventIdLC0160
extensionIdSpecifies the ID of the extension/app.
extensionNameSpecifies the name of the extension/app.
extensionPublisherSpecifies the publisher of the extension/app.
extensionScopeSpecifies whether the extension/app was published to one of the following scopes:
Global - the extension can be installed on all tenants connected the service instance.
Tenant - the extension can only be installed on the tenant to which it was published.
extensionDestinationVersionSpecifies the version of the extension/app to be installed or updated to.S
extensionSourceVersionSpecifies the current version of the extension/app.
failureReasonSpecifies the reason for the failure. Use this for troubleshooting.
runAfterDateUtcSpecifies the date and time (in UTC) after which the hotfix can be applied.
totalTimeSpecifies the total time the operation ran for.
useEnvironmentUpdateWindowA boolean value (true or false) that specifies whether to use the update window that's defined in the Business Central admin center.

Sample KQL code (environment app hotfix scheduling by App Management API failed to be installed)

This KQL code can help you get started analyzing failures for installing an app hotfix by using the App Management API:

traces
| where timestamp > ago(30d) // adjust as needed
| where customDimensions.eventId == 'LC0160'
| project timestamp
, message
// in which environment did it happen
, aadTenantId = customDimensions.aadTenantId
, applicationFamily = customDimensions.applicationFamily
, countryCode = customDimensions.countryCode
, environmentName = customDimensions.environmentName
, environmentType = customDimensions.environmentType
, environmentVersion = customDimensions.environmentVersion
// which extension/app
, extensionId = customDimensions.extensionId
, extensionName = customDimensions.extensionName
, extensionPublisher = customDimensions.extensionPublisher
, extensionScope = customDimensions.extensionScope
, extensionDestinationVersion = customDimensions.extensionDestinationVersion
, extensionSourceVersion = customDimensions.extensionSourceVersion
// when should the operation run
, runAfterDateUtc = customDimensions.runAfterDateUtc
, useEnvironmentUpdateWindow = customDimensions.useEnvironmentUpdateWindow
// what happened
, failureReason = customDimensions.failureReason

Monitoring and Analyzing Telemetry
Enable Sending Telemetry to Application Insights