Analyzing Environment Lifecycle Trace Telemetry

APPLIES TO: Business Central online

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

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:

Dimension Description or value
component Dynamics 365 Business Central Control Plane
deprecatedKeys Specifies a comma-separated list of all the keys that have been deprecated. The keys in this list are still supported but will eventually be removed in the next major release. We recommend that update any queries that use these keys to use the new key name.
telemetrySchemaVersion Specifies the version of the Business Central telemetry schema.

Environment update available for scheduling

Occurs when a new update is available for the environment.

General dimensions

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
destinationVersion Specifies the version we are updating to.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0100
registeredForUpdateOnOrAfterDateUtc Specifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.
sourceVersion Specifies the version we are updating from.
updatePeriodEndDateUtc Specifies the end date and time of the update period (shown in UTC).
updatePeriodStartDateUtc Specifies 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

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
canPartnerReschedule A boolean value (true or false) that specifies whether a partner can reschedule the update in the Business Central admin center. Set to true if the partner can reschedule the update.
destinationVersion Specifies the version we are updating to.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0101
ignoreUpdateWindow A boolean value (true or false) that specifies whether to ignore the update window. Set to true if the update window was ignored by the Business Central update service.
registeredForUpdateOnOrAfterDateUtc Specifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.
sourceVersion Specifies the version we are updating from.
updateDateSelectedByPartner Boolean value (True or False). Set to True if the update date was chosen by the partner in the admin center.
updatePeriodEndDateUtc Specifies the end date and time of the update period (shown in UTC).
updatePeriodStartDateUtc Specifies the start date and time of the update period (shown in UTC).
updateWindowEndTimeUtc Specifies the end date and time of the update window (shown in UTC).
updateWindowStartTimeUtc Specifies 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

Dimension Description or value
message Environment update missed: {environmentName} to version {destinationVersion}

{environmentName} indicates the name of the environment.

{destinationVersion} indicates the new version that is available.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
destinationVersion Specifies the version we are updating to.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0102
ignoreUpdateWindow A boolean value (true or false) that specifies whether to ignore the update window. Set to true if the update window was ignored by the Business Central update service.
registeredForUpdateOnOrAfterDateUtc Specifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.
sourceVersion Specifies the version we are updating from.
updatePeriodEndDateUtc Specifies the end date and time of the update period (shown in UTC).
updatePeriodStartDateUtc Specifies the start date and time of the update period (shown in UTC).
updateWindowEndTimeUtc Specifies the end date and time of the update window (shown in UTC).
updateWindowStartTimeUtc Specifies the start date and time of the update window (shown in UTC).

Environment update postponed

Occurs when updates for version that the environment is on has been set on hold.

General dimensions

Dimension Description or value
message Environment update postponed: {environmentName} to version {destinationVersion}

{environmentName} indicates the name of the environment.

{destinationVersion} indicates the new version that is available.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
destinationVersion Specifies the version we are updating to.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0103
sourceVersion Specifies the version we are updating from.

Environment update resumed

Occurs when an update for a version that the environment is running on has been started again after being stopped.

General dimensions

Dimension Description or value
message Environment update resumed: {environmentName} to version {destinationVersion}

{environmentName} indicates the name of the environment.

{destinationVersion} indicates the new version that is available.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
destinationVersion Specifies the version we are updating to.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0104
ignoreUpdateWindow A boolean value (true or false) that specifies whether to ignore the update window. Set to true if the update window was ignored by the Business Central update service.
registeredForUpdateOnOrAfterDateUtc Specifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.
sourceVersion Specifies the version we are updating from.
updatePeriodEndDateUtc Specifies the end date and time of the update period (shown in UTC).
updatePeriodStartDateUtc Specifies the start date and time of the update period (shown in UTC).
updateWindowEndTimeUtc Specifies the end date and time of the update window (shown in UTC).
updateWindowStartTimeUtc Specifies 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

Dimension Description or value
message Environment update started: {environmentName} to version {destinationVersion}

{environmentName} indicates the name of the environment.

{destinationVersion} indicates the new version that is available.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
destinationVersion Specifies the version we are updating to.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0105
reason Specifies the reason for the environment upgrade: Environment Upgrade or Internal Maintenance.
ignoreUpdateWindow A boolean value (true or false) that specifies whether to ignore the update window. Set to true if the update window was ignored by the Business Central update service.
initiatedFrom Specifies where the operation was initiated from, such as TenantAdminCenter.
registeredForUpdateOnOrAfterDateUtc Specifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.
remainingTimeInUpdateWindow The time from the start of the operation until the end of the registered update window.
sourceVersion Specifies the version we are updating from.
updatePeriodEndDateUtc Specifies the end date and time of the update period (shown in UTC).
updatePeriodStartDateUtc Specifies the start date and time of the update period (shown in UTC).
updateWindowEndTimeUtc Specifies the end date and time of the update window (shown in UTC).
updateWindowStartTimeUtc Specifies the start date and time of the update window (shown in UTC).

Environment updated successfully

Occurs when the environment was successfully updated.

General dimensions

Dimension Description or value
message Environment updated successfully: {environmentName} to version {destinationVersion}

{environmentName} indicates the name of the environment.

{destinationVersion} indicates the new version that is available.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
destinationVersion Specifies the version we are updating to.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0106
ignoreUpdateWindow A boolean value (true or false) that specifies whether to ignore the update window. Set to true if the update window was ignored by the Business Central update service.
initiatedFrom Specifies where the operation was initiated from, such as TenantAdminCenter.
registeredForUpdateOnOrAfterDateUtc Specifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.
sourceVersion Specifies the version we are updating from.
totalTime Specifies the total time the operation ran for.
updatePeriodEndDateUtc Specifies the end date and time of the update period (shown in UTC).
updatePeriodStartDateUtc Specifies the start date and time of the update period (shown in UTC).
updateWindowEndTimeUtc Specifies the end date and time of the update window (shown in UTC).
updateWindowStartTimeUtc Specifies 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

Dimension Description or value
message Environment failed to update: {environmentName} to version {destinationVersion}

{environmentName} indicates the name of the environment.

{destinationVersion} indicates the new version that is available.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
destinationVersion Specifies the version we are updating to.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0107
failureCode Specifies code that describes the type of error that blocks the update, such as PteCompilation.
failureReason Specifies the reason for the failure. Use this for troubleshooting.
ignoreUpdateWindow A boolean value (true or false) that specifies whether to ignore the update window. Set to true if the update window was ignored by the Business Central update service.
initiatedFrom Specifies where the operation was initiated from, such as TenantAdminCenter.
registeredForUpdateOnOrAfterDateUtc Specifies the date and time (shown in UTC), registered in the Business Central admin center, from which an update can be scheduled.
recovered A boolean value (true or false) that specifies whether the environment was recovered to its state before the upgrade attempt. Set to true if the environment was recovered.
sourceVersion Specifies the version we are updating from.
totalTime Specifies the total time the operation ran for.
updatePeriodEndDateUtc Specifies the end date and time of the update period (shown in UTC).
updatePeriodStartDateUtc Specifies the start date and time of the update period (shown in UTC).
updateWindowEndTimeUtc Specifies the end date and time of the update window (shown in UTC).
updateWindowStartTimeUtc Specifies 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

Dimension Description or value
message Environment restart operation initiated: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0110

Environment restarted successfully

Occurs when a restart operation succeeded for the environment.

General dimensions

Dimension Description or value
message Environment restarted successfully: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0111
totalTime Specifies the total time the operation ran for.

Environment restart operation failed

Occurs when a restart operation failed for the environment.

General dimensions

Dimension Description or value
message Environment restart operation failed: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0112
failureReason Specifies the reason for the failure. Use this for troubleshooting.
totalTime Specifies 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

Dimension Description or value
message Environment start operation initiated: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0113

Environment started successfully

Occurs when a restart operation succeeded for the environment.

General dimensions

Dimension Description or value
message Environment started successfully: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0114
totalTime Specifies the total time the operation ran for.

Environment start operation failed

Occurs when a start operation failed for the environment.

General dimensions

Dimension Description or value
message Environment start operation failed: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0115
failureReason Specifies the reason for the failure. Use this for troubleshooting.
totalTime Specifies 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

Dimension Description or value
message Environment stop operation initiated: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0116

Environment stopped successfully

Occurs when a stop operation succeeded for the environment.

General dimensions

Dimension Description or value
message Environment stopped successfully: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0117
totalTime Specifies the total time the operation ran for.

Environment stop operation failed

Occurs when a stop operation failed for the environment.

General dimensions

Dimension Description or value
message Environment stop operation failed: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0118
failureReason Specifies the reason for the failure. Use this for troubleshooting.
totalTime Specifies 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

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
destinationEnvironmentName Specifies the name of the destination environment of the operation.
destinationEnvironmentType Specifies the type of the destination environment of the operation.
destinationEnvironmentVersion Specifies the version of the destination environment of the operation.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0119

Environment copied successfully

Occurs when a copy operation for the environment succeeded.

General dimensions

Dimension Description or value
message Environment copied successfully: {environmentName} to {destinationEnvironmentName}

{environmentName} indicates the name of the environment.

{destinationEnvironmentName} indicates the name of the destination environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
destinationEnvironmentName Specifies the name of the destination environment of the operation.
destinationEnvironmentType Specifies the type of the destination environment of the operation.
destinationEnvironmentVersion Specifies the version of the destination environment of the operation.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0120
totalTime Specifies 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

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
destinationEnvironmentName Specifies the name of the destination environment of the operation.
destinationEnvironmentType Specifies the type of the destination environment of the operation.
destinationEnvironmentVersion Specifies the version of the destination environment of the operation.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0121
failureReason Specifies the reason for the failure. Use this for troubleshooting.
totalTime Specifies 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

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0122
sourceEnvironmentName Specifies the name of the source environment of the operation.
sourceEnvironmentType Specifies the type of the source environment of the operation.
sourceEnvironmentVersion Specifies 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

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0123
sourceEnvironmentName Specifies the name of the source environment of the operation.
sourceEnvironmentType Specifies the type of the source environment of the operation.
sourceEnvironmentVersion Specifies the version of the source environment of the operation.
totalTime Specifies 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

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0124
failureReason Specifies the reason for the failure. Use this for troubleshooting.
sourceEnvironmentName Specifies the name of the source environment of the operation.
sourceEnvironmentType Specifies the type of the source environment of the operation.
sourceEnvironmentVersion Specifies the version of the source environment of the operation.
totalTime Specifies 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

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
destinationEnvironmentName Specifies the name of the destination environment of the operation.
destinationEnvironmentType Specifies the type of the destination environment of the operation.
destinationEnvironmentVersion Specifies the version of the destination environment of the operation.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0125
pointInTimeUtc Specifies 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

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
destinationEnvironmentName Specifies the name of the destination environment of the operation.
destinationEnvironmentType Specifies the type of the destination environment of the operation.
destinationEnvironmentVersion Specifies the version of the destination environment of the operation.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0126
pointInTimeUtc Specifies the point in time (in UTC) to which the environment should be restored to.
totalTime Specifies 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

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
destinationEnvironmentName Specifies the name of the destination environment of the operation.
destinationEnvironmentType Specifies the type of the destination environment of the operation.
destinationEnvironmentVersion Specifies the version of the destination environment of the operation.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0127
failureReason Specifies the reason for the failure. Use this for troubleshooting.
pointInTimeUtc Specifies the point in time (in UTC) to which the environment should be restored to.
totalTime Specifies 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

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
eventId LC0128
pointInTimeUtc Specifies the point in time (in UTC) to which the environment should be restored to.
sourceEnvironmentName Specifies the name of the source environment of the operation.
sourceEnvironmentType Specifies the type of the source environment of the operation.
sourceEnvironmentVersion Specifies 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

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0129
pointInTimeUtc Specifies the point in time (in UTC) to which the environment should be restored to.
sourceEnvironmentName Specifies the name of the source environment of the operation.
sourceEnvironmentType Specifies the type of the source environment of the operation.
sourceEnvironmentVersion Specifies the version of the source environment of the operation.
totalTime Specifies 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

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0130
failureReason Specifies the reason for the failure. Use this for troubleshooting.
pointInTimeUtc Specifies the point in time (in UTC) to which the environment should be restored to.
sourceEnvironmentName Specifies the name of the source environment of the operation.
sourceEnvironmentType Specifies the type of the source environment of the operation.
sourceEnvironmentVersion Specifies the version of the source environment of the operation.
totalTime Specifies 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

Dimension Description or value
message Environment 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

Dimension Description or value
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
destinationAadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the destination Microsoft Entra tenant ID for the move.
destinationEnvironmentName Specifies the name of the destination environment of the operation.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0131
registeredForMoveDateUtc Specifies the date and time (in UTC) registered by Microsoft Support on which the operation should happen.
sourceEnvironmentName Specifies the name of the source environment of the operation.
sourceAadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies 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

Dimension Description or value
message Environment 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

Dimension Description or value
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
destinationAadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the destination Microsoft Entra tenant ID for the move.
destinationEnvironmentName Specifies the name of the destination environment of the operation.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0132
failureReason Specifies the reason for the failure. Use this for troubleshooting.
registeredForMoveDateUtc Specifies the date and time (in UTC) registered by Microsoft Support on which the operation should happen.
sourceEnvironmentName Specifies the name of the source environment of the operation.
sourceAadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the source Microsoft Entra tenant ID for the move.
totalTime Specifies the total time the operation ran for.

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

This KQL code can help you get started analyzing failures in moving an environment to a different AAD 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

Dimension Description or value
message Environment move to {destinationAadTenantId} AAD tenant operation operation started: {sourceEnvironmentName}

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

{destinationAadTenantId} indicates the destination Entra tenant.

Custom dimensions

Dimension Description or value
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
destinationAadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the destination Microsoft Entra tenant ID for the move.
destinationEnvironmentName Specifies the name of the destination environment of the operation.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0133
sourceEnvironmentName Specifies the name of the source environment of the operation.
sourceAadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies 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

Dimension Description or value
message Environment 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

Dimension Description or value
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
destinationAadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the destination Microsoft Entra tenant ID for the move.
destinationEnvironmentName Specifies the name of the destination environment of the operation.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0134
sourceEnvironmentName Specifies the name of the source environment of the operation.
sourceAadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the source Microsoft Entra tenant ID for the move.
totalTime Specifies 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

Dimension Description or value
message Environment 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

Dimension Description or value
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
destinationAadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the destination Microsoft Entra tenant ID for the move.
destinationEnvironmentName Specifies the name of the destination environment of the operation.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0135
failureReason Specifies the reason for the failure. Use this for troubleshooting.
sourceEnvironmentName Specifies the name of the source environment of the operation.
sourceAadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the source Microsoft Entra tenant ID for the move.
totalTime Specifies the total time the operation ran for.

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

This KQL code can help you get started analyzing failures in moving an environment to a different AAD 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

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0136
sessionId Specifies the ID of the session being cancelled.

Environment session cancelled successfully

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

General dimensions

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0137
sessionId Specifies the ID of the session being cancelled.
totalTime Specifies the total time the operation ran for.

Environment session cancellation failed

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

General dimensions

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0138
failureReason Specifies the reason for the failure. Use this for troubleshooting.
sessionId Specifies the ID of the session being cancelled.
totalTime Specifies 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

Dimension Description or value
message Environment database export operation started: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
blobUrl Specifies the URL of the blob where the database export file will be saved.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0139

Environment database exported successfully

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

General dimensions

Dimension Description or value
message Environment database exported successfully: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
blobUrl Specifies the URL of the blob where the database export file will be saved.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0140
totalTime Specifies 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

Dimension Description or value
message Environment database export operation failed: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
blobUrl Specifies the URL of the blob where the database export file will be saved.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0141
failureReason Specifies the reason for the failure. Use this for troubleshooting.
totalTime Specifies 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

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentConfigurationKey Specifies an environment configuration key, such as ApplicationInsightsKey.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0142
newValue Specifies the value of the key after the operation.
oldValue Specifies 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

Dimension Description or value
message Environment configuration key {environmentConfigurationKey} failed to update for environment {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentConfigurationKey Specifies an environment configuration key, such as ApplicationInsightsKey.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0143
failureReason Specifies the reason for the failure. Use this for troubleshooting.
newValue [ The value that the operation was supposed to update to
oldValue Specifies the value of the key before the operation.
totalTime Specifies 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 a 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

Dimension Description or value
message Environment configuration key {environmentConfigurationKey} deleted for environment {environmentName}

{environmentName} indicates the name of the environment.

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

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentConfigurationKey Specifies an environment configuration key, such as ApplicationInsightsKey.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0144
oldValue Specifies 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

Dimension Description or value
message Environment configuration key {environmentConfigurationKey} failed to delete for environment {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentConfigurationKey Specifies an environment configuration key, such as ApplicationInsightsKey.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0145
failureReason Specifies the reason for the failure. Use this for troubleshooting.
oldValue Specifies the value of the key before the operation.
totalTime Specifies 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 deletin a 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

Dimension Description or value
message Environment update window was modified for environment: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0146
newUpdateWindowStartTimeUtc The start time (in UTC) for the new update window.
newUpdateWindowEndTimeUtc The end time (in UTC) for the new update window.
oldUpdateWindowStartTimeUtc The start time (in UTC) for the old update window.
oldUpdateWindowEndTimeUtc The end time (in UTC) for the old update window.

Environment update window modification failed

Occurs when a update window failed to be updated.

General dimensions

Dimension Description or value
message Environment update window modification failed for environment: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0147
failureReason Specifies the reason for the failure. Use this for troubleshooting.
newUpdateWindowStartTimeUtc The start time (in UTC) for the new update window.
newUpdateWindowEndTimeUtc The end time (in UTC) for the new update window.
oldUpdateWindowStartTimeUtc The start time (in UTC) for the old update window.
oldUpdateWindowEndTimeUtc The end time (in UTC) for the old update window.
totalTime Specifies 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 == '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
, newUpdateWindowStartTimeUtc = customDimension.newUpdateWindowStartTimeUtc
, newUpdateWindowEndTimeUtc = customDimension.newUpdateWindowEndTimeUtc
, oldUpdateWindowStartTimeUtc = customDimension.oldUpdateWindowStartTimeUtc
, oldUpdateWindowEndTimeUtc = customDimension.oldUpdateWindowEndTimeUtc

Environment (soft) delete operation started

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

General dimensions

Dimension Description or value
message Environment soft delete operation started: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
deletionReason Specifies the reason for the delete operation
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0180

Environment (soft) deleted

Occurs when the environment was successfully (soft) deleted.

General dimensions

Dimension Description or value
message Environment soft deleted successfully: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
deletionReason Specifies the reason for the delete operation
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0181
totalTime Specifies the total time the operation ran for.

Environment (soft) delete operation failed

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

General dimensions

Dimension Description or value
message Environment soft delete operation failed: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
deletionReason Specifies the reason for the delete operation
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0182
failureReason Specifies the reason for the failure. Use this for troubleshooting.
totalTime Specifies 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

Dimension Description or value
message Environment delete operation scheduled: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
deletionReason Specifies the reason for the delete operation
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0148

Environment (hard) delete operation started

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

General dimensions

Dimension Description or value
message Environment delete operation started: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
deletionReason Specifies the reason for the delete operation
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0149

Environment (hard) deleted

Occurs when the environment was successfully (hard) deleted.

General dimensions

Dimension Description or value
message Environment deleted successfully: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
deletionReason Specifies the reason for the delete operation
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0150
totalTime Specifies the total time the operation ran for.

Environment (hard) delete operation failed

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

General dimensions

Dimension Description or value
message Environment delete operation failed: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
deletionReason Specifies the reason for the delete operation
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0151
failureReason Specifies the reason for the failure. Use this for troubleshooting.
totalTime Specifies 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 (un-delete) operation started

Occurs when a recovery (un-delete) operation was started for the environment.

General dimensions

Dimension Description or value
message Environment recovery operation started: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
deletionReason Specifies the reason for the delete operation
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0183

Environment recovered

Occurs when the environment was successfully recovered (un-deleted).

General dimensions

Dimension Description or value
message Environment recovered successfully: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
deletionReason Specifies the reason for the delete operation
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0184
totalTime Specifies the total time the operation ran for.

Environment recovery (un-delete) operation failed

Occurs when a recovery (un-delete) operation for the environment failed.

General dimensions

Dimension Description or value
message Environment recovery operation failed: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
deletionReason Specifies the reason for the delete operation
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0185
failureReason Specifies the reason for the failure. Use this for troubleshooting.
totalTime Specifies the total time the operation ran for.

Sample KQL code (environment un-delete failed)

This KQL code can help you get started analyzing failures for un-deleting 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

Dimension Description or value
message Environment rename operation started: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0152
newEnvironmentName Specifies the new name of the environment.

Environment renamed

Occurs when the environment was successfully renamed.

General dimensions

Dimension Description or value
message Environment renamed successfully: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0153
newEnvironmentName Specifies the new name of the environment.
totalTime Specifies the total time the operation ran for.

Environment rename operation failed

Occurs when a rename operation for the environment failed.

General dimensions

Dimension Description or value
message Environment rename operation failed: {environmentName}

{environmentName} indicates the name of the environment.

Custom dimensions

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0154
failureReason Specifies the reason for the failure. Use this for troubleshooting.
newEnvironmentName Specifies the new name of the environment.
totalTime Specifies 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

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0155
extensionId Specifies the ID of the extension/app.
extensionName Specifies the name of the extension/app.
extensionPublisher Specifies the publisher of the extension/app.
extensionScope Specifies 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.
extensionDestinationVersion Specifies the version of the extension/app to be installed or updated to.S
extensionSourceVersion Specifies the current version of the extension/app.
runAfterDateUtc Specifies the date and time (in UTC) after which the hotfix can be applied.
useEnvironmentUpdateWindow A 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 could not be scheduled by the App Management API service.

General dimensions

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0156
extensionId Specifies the ID of the extension/app.
extensionName Specifies the name of the extension/app.
extensionPublisher Specifies the publisher of the extension/app.
extensionScope Specifies 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.
extensionDestinationVersion Specifies the version of the extension/app to be installed or updated to.S
extensionSourceVersion Specifies the current version of the extension/app.
failureReason Specifies the reason for the failure. Use this for troubleshooting.
runAfterDateUtc Specifies the date and time (in UTC) after which the hotfix can be applied.
useEnvironmentUpdateWindow A boolean value (true or false) that specifies whether to use the update window that's defined in the Business Central admin center.
totalTime Specifies 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

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0157
extensionId Specifies the ID of the extension/app.
extensionName Specifies the name of the extension/app.
extensionPublisher Specifies the publisher of the extension/app.
extensionScope Specifies 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.
extensionDestinationVersion Specifies the version of the extension/app to be installed or updated to.S
extensionSourceVersion Specifies the current version of the extension/app.
runAfterDateUtc Specifies the date and time (in UTC) after which the hotfix can be applied.
useEnvironmentUpdateWindow A 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

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0158
extensionId Specifies the ID of the extension/app.
extensionName Specifies the name of the extension/app.
extensionPublisher Specifies the publisher of the extension/app.
extensionScope Specifies 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.
extensionDestinationVersion Specifies the version of the extension/app to be installed or updated to.S
extensionSourceVersion Specifies the current version of the extension/app.
runAfterDateUtc Specifies the date and time (in UTC) after which the hotfix can be applied.
useEnvironmentUpdateWindow A 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 applied successfully by the App Management API service.

General dimensions

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0159
extensionId Specifies the ID of the extension/app.
extensionName Specifies the name of the extension/app.
extensionPublisher Specifies the publisher of the extension/app.
extensionScope Specifies 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.
extensionDestinationVersion Specifies the version of the extension/app to be installed or updated to.S
extensionSourceVersion Specifies the current version of the extension/app.
runAfterDateUtc Specifies the date and time (in UTC) after which the hotfix can be applied.
useEnvironmentUpdateWindow A boolean value (true or false) that specifies whether to use the update window that's defined in the Business Central admin center.
totalTime Specifies 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

Dimension Description or value
message Environment 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

Dimension Description or value
aadTenantId

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Specifies the Microsoft Entra tenant ID used for Microsoft Entra authentication. For on-premises, if you aren't using Microsoft Entra authentication, this value is common.
applicationFamily Specifies the application family for the environment, such as BusinessCentral. For environments in the ISV embed program, other values might show up here.
countryCode Specifies the localization for the environment, such as US or DK.
environmentName Specifies the name of the tenant environment. See Managing Environments.
environmentType Specifies the environment type for the tenant, such as Production or Sandbox. See Environment Types.
environmentVersion Specifies the version of the tenant environment.
eventId LC0160
extensionId Specifies the ID of the extension/app.
extensionName Specifies the name of the extension/app.
extensionPublisher Specifies the publisher of the extension/app.
extensionScope Specifies 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.
extensionDestinationVersion Specifies the version of the extension/app to be installed or updated to.S
extensionSourceVersion Specifies the current version of the extension/app.
failureReason Specifies the reason for the failure. Use this for troubleshooting.
runAfterDateUtc Specifies the date and time (in UTC) after which the hotfix can be applied.
totalTime Specifies the total time the operation ran for.
useEnvironmentUpdateWindow A 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

See also

Monitoring and Analyzing Telemetry
Enable Sending Telemetry to Application Insights