code change · featureAdministration & Setupofficial - Microsoftreviewed - checked by Opus

#12152 [MCP] Clear environment description after environment copy

Environment descriptions are now cleared when an environment is copied, preventing the destination from retaining information about the source environment.

Pull request · merged into main (BC30) on 2026-10-05 by nikolakukrika · 4 files (+32 -2), 1 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • Subscribes to the database-level environment cleanup event triggered during environment copy
  • Clears the environment description BLOB for every environment-copy scenario
  • Adds a regression test to verify description is cleared after environment copy
  • Operates at database scope, consistent with the environment description’s DataPerCompany = false setting
  • Existing descriptions remain unchanged unless the platform triggers an environment-copy cleanup event
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#650130, AB#650134
  • Labels: AL: System Application, Team: Integrations
  • Systems: administration
  • From the description: “Clear the database-wide environment description when an environment is copied so the destination does not retain context describing the source environment.”

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).