topic hubAL Developmentofficial - Microsoftreviewed - checked by Opus

Updating and hotfixing

Updating and hotfixing covers how Business Central apps and extensions are updated, upgraded and hotfixed over their lifecycle. It answers questions on submitting app updates, version numbering, upgrade code, hotfixing Marketplace apps, and how service updates and breaking changes affect extensions.

Path: Development > Extension lifecycle > Updating and hotfixing · tier official · system development · narrative reviewed (checked by Opus)

Overview

This section describes what happens to an app after its first release. It explains how apps interact with Business Central service updates, how new app versions are submitted and installed, and how bugs and breaking changes are handled, including Microsoft’s rollback procedures and data retention policies.

The pages fit together in layers. The lifecycle page and its FAQ give the big picture: five scenarios (service updates, app updates, bug fixes, critical bugs, breaking changes), force updates during major releases, and recommendations on update frequency and quality assurance. The FAQ about updating your app covers the practical submission questions: version numbering, keeping app identity, compatibility settings, and automatic updates. The upgrade page covers writing the upgrade code itself. The Marketplace hotfix page covers submissions for versions that are not the latest.

Start with “Lifecycle of apps and extensions” for the overall model. Then read “Upgrading Extensions” if you write upgrade code, or “Hotfix a Marketplace app” if you must patch an older published version.

Key points

  • Five lifecycle scenarios are described: service updates, app updates, bug fixes, critical bugs, and breaking changes.
  • Microsoft’s rollback procedures and data retention policies are covered in the lifecycle page.
  • Upgrade code uses the triggers OnCheckPreconditions, OnUpgrade and OnValidate, and data migration can be run as part of the upgrade.
  • Upgrade execution can be controlled with version data or upgrade tags (the upgrade page lists 2021 release wave 1).
  • The FAQ covers version numbering, preserving app identity, compatibility configuration, and automatic updates managed in the admin center.
  • Hotfixing a Marketplace app targets a non-latest version and triggers validation with breaking change detection using AppSourceCop.
  • Hotfix validation includes release ranges and restrictions such as obsolete pending and public API restrictions.
  • The lifecycle FAQ addresses force updates during major releases, Extension Management, code signing, and technical validation.

Learn pages

Videos, posts and code changes

Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.

Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.

What Learn documents here 6 Learn pages