Updating and hotfixing
Updating and hotfixing covers how Business Central apps and extensions are maintained after release: lifecycle behavior, upgrade code, Marketplace update submission, and hotfixes. It answers questions about versioning, validation, breaking changes, and data migration during upgrades.
Path: Development > Extension lifecycle > Updating and hotfixing · tier official · system development · narrative unreviewed (model text not yet checked)
Overview
This section explains what happens to apps and extensions over time and what partners must do to keep them working. It starts with the lifecycle of apps and extensions: how apps behave through service updates, app updates, bug fixes and breaking changes, which maintenance duties fall to partners, and how Microsoft tests compatibility.
For the technical side of moving to a new version, the upgrade page describes upgrade codeunits, their triggers, extension version data and upgrade tags that stop code from running twice. For Marketplace apps, two FAQ pages cover submitting updates, validation, previews, update cadence and customer availability. A separate page covers hotfixing a non-latest version and the breaking change rules that apply.
Start with the lifecycle page for the overall model. Then read the upgrade page if you write upgrade code, or the FAQs and the hotfix page if you publish and maintain Marketplace apps.
Key points
- The lifecycle page covers app behavior through service updates, app updates, bug fixes, critical bugs and breaking changes, plus extension data retention.
- Partners are responsible for maintaining their apps, and Microsoft runs compatibility testing.
- Upgrade code lives in upgrade codeunits with the triggers OnCheckPreconditionsPerCompany, OnUpgradePerCompany and OnValidateUpgradePerCompany.
- Upgrade tags are optional and prevent upgrade code from running more than once. ExecutionContext can be checked for sensitive code.
- Extension version data (AppVersion, DataVersion) and the Publish-NAVApp and Sync-NAVApp cmdlets are part of the upgrade process.
- A Marketplace hotfix is a submission of a non-latest version. The service validates it against existing versions and enforces breaking change restrictions, including public API constraints and obsolete marking.
- The FAQs cover automated technical validation, Marketplace app previews and preview installation URLs, the Apps Update Cadence, publisher signoff, Schema Sync Mode and AppSourceCop checks.
- The FAQs also cover app versioning, app identity management and how updates reach customers.
Learn pages
- FAQ About Updating Your Business Central App: Find answers about updating Business Central apps, including validation, version compatibility, environment updates, dependencies, and critical hotfixes.
- Hotfix a Marketplace App in Business Central: Understand hotfix submissions for Business Central Marketplace apps, including version selection, compatibility validation, and public API changes.
- Lifecycle of Apps and Extensions: Learn how Marketplace apps behave during service and app updates, how administrators install updates, and how extension data is retained.
- Lifecycle of Apps and Extensions FAQ: Learn how to submit Marketplace app updates for Business Central, manage compatible versions, test upgrades, and handle critical customer hotfixes.
- Update Lifecycle for Tenant Customizations: Learn how to keep per-tenant extensions compatible with Business Central online updates, receive validation notifications, and resolve update failures.
- Upgrading Extensions in Business Central: Write Business Central extension upgrade code, use version checks and upgrade tags, and run data upgrades for an on-premises deployment.
- In the observatory: Codeunit 9999 “Upgrade Tag”, Table 9999 “Upgrade Tags”
Videos, posts and code changes
Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.
- #13558 Add logging table management during installation and upgrade processes (code change): “The install and upgrade codeunits were changed to set this up”
- #210 knowledge(upgrade): upgrade code must not use ChangeCompany (code change): “upgrade code must not use ChangeCompany. New quality rule and knowledge article prevent upgrade code from using ChangeCompany”
- Business Central 2025 wave 2 (BC27): UpdateAuditFields Method on DataTransfer is now in Cloud scope (community post): “UpdateAuditFields method on DataTransfer was previously OnPrem-only, now available in Cloud scope”
- Dynamics 365 Business Central: Cancelling a scheduled PTE update install (Next Major/Next Minor) (community post): “Re-uploading the same app version overwrites the original schedule”
Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.
What Learn documents here 6 Learn pages
- learnFAQ About Updating Your Business Central App2026-12-01
- learnHotfix a Marketplace App in Business Central2026-12-01
- learnLifecycle of Apps and Extensions2026-10-08
- learnLifecycle of Apps and Extensions FAQ2026-12-01
- learnUpdate Lifecycle for Tenant Customizations2026-11-05
- learnUpgrading Extensions in Business Central2026-11-30