Extension lifecycle
Extension lifecycle in Business Central covers the phases of an extension from development to deprovisioning, extension types and scopes (global, per-tenant, DEV), and moving apps between scopes. It answers questions about testing, translation, deployment, updates, hotfixes, migration and deprecating code.
- 35Learn pages
- 7subtopics
- 5videos
Path: Development > Extension lifecycle · tier official · system development · narrative unreviewed (model text not yet checked)
Overview
The extension lifecycle section describes the full path of a Business Central extension: planning, development, testing, deployment, operations and monitoring, through to deprovisioning. The overview page gives the big picture. Start there, then read the pages on extension types and scope.
Extension types define where an app can run. Global apps are installed from Marketplace, per-tenant extensions (PTE) go to specific environments, and DEV extensions are for sandbox development only. A further page explains how to move an app between PTE, DEV and Marketplace scopes, including identity, naming and ID range requirements.
The subtopics cover each stage in more detail: testing, translation with XLIFF, deploying and installing, updating and hotfixing, and deprecating code. Two more cover migration: generating .delta files for conversion to extensions, and moving tables and fields between extensions on-premises.
Key points
- Extension types: global apps from Marketplace, per-tenant extensions for specific environments, and DEV extensions for sandbox development only.
- Moving between scopes (PTE, DEV, Marketplace) has identity, naming and ID range requirements for each transition. The page lists 2023 release wave 2.
- Testing uses AL test codeunits, test methods, test pages, handler methods and test runners. It also covers the Performance Toolkit and Marketplace testing expectations.
- Deploying and installing covers publish, sync, install, upgrade, unpublish and uninstall, install code, and submitting offers in Partner Center.
- Updating and hotfixing covers versioning, validation, breaking changes, upgrade code, data migration during upgrades, and Marketplace update submission.
- Deprecating code uses preprocessor directives and Obsolete properties. It covers CLEAN symbols, warnings AL0604 and AL0606, the removal timeline, and deprecation of ‘with’ statements.
- Translation uses XLIFF files. Layered sources override each other by language priority and app dependencies.
- On-premises migration covers Compare-NAVApplicationObject for .delta files, and moving tables and fields with MovedTo and MovedFrom (move-down, move-up and lateral moves).
Subtopics
- Moving tables and fields between extensions (on-premises) (2 pages)
- Migration (5 pages)
- Translation (2 pages)
- Testing (8 pages)
- Deploying and installing (6 pages)
- Updating and hotfixing (6 pages)
- Deprecating code (3 pages)
More Learn pages
- Extension Development Lifecycle Overview: Explains the phases involved in the lifecycle of developing an extension.
- Extension types and scope: Extension types for Business Central explained: global apps, per-tenant extensions, and DEV extensions. Learn how scope and environment affect each type.
- Moving between extension scopes: Describes how an extension in one scope can be moved into another scope in Business Central.
Videos, posts and code changes
Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.
- #2441 Skip test projects when determining release artifacts (code change): “Skip test projects when determining release artifacts. The DetermineArtifactsForRelease action”
- #12671 Fix extension settings actions and repeated marketplace installation (code change): “extension lifecycle actions like Uninstall, and prevents repeated marketplace installation prompts”
- #13720 Split the MS-STD configuration package into functional-area packages (code change): “MS-STD configuration package is split into nine functional-area packages”
- #13739 [Master]-Sales/Purchase Price List activation allows Duplicate Lines when the Price List is Inactive. (code change): “Price list activation no longer allows duplicate lines when the list was inactive”
- #9601 Reset workflow templates no longer removes steps from active workflows (code change): “Reset workflow templates no longer removes steps from active workflows”
- #177 Add retention policy knowledge to the privacy domain (code change): “Added guidance to the privacy domain in BCQuality about registering extension-owned tables”
- #93 Fix lifecycle compatibility guidance (code change): “Knowledge articles and samples on error handling, events, interfaces, upgrade, testing, web services”
- Dynamics 365 Business Central: automatic PTE unpublishing after update. (community post): “automatically unpublishes PTE versions that are no longer installed”
- Dynamics 365 Business Central on-prem: be careful when referencing .NET assemblies across versions. (community post): “extensions must be compiled with .NET Standard assemblies when published to service tiers”
- Dynamics 365 Business Central on-premises: accessing embedded in-app resources from runtime packages. (community post): “Extensions can declare resource folders using the resourceFolders property”
- AL Go for GitHub February Office Hour (video): “Private repository support in AL-Go”
- What’s New: AL-Go for GitHub on Build and Performance (2025 release wave 1) (video): “What’s New: AL-Go for GitHub on Build and Performance”
- AL-Go for Github May Office Hour (video): “AL-Go for Github May Office Hour”
- What’s New in AL: Go for GitHub (2024 release wave 2) (video): “What’s New in AL: Go for GitHub (2024 release wave 2)”
- What’s New: AL Go for GitHub (2023 release wave 2) (video): “Update AL Go system files workflow”
Business Central pages and reports
The pages, reports and queries this hub’s Learn pages name (ms.search.form, API reference), joined to the code by exact object id (data/index/docs-objects.json); a page shows the table it runs on.
Learn also names 9 objects with no object page: page/149000, page/149001, page/149003, page/149004, page/149005, page/149006, page/149007, page/149008, page/149009.
Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.
What Learn documents here 8 of 35 Learn pages
- learnApplication Testing Example to Test Purchase Invoice Discounts2026-08-24
- learnBest Practices for Deprecation of AL Code2024-04-30
- learnBusiness Central App Testing FAQ2026-11-27
- learnCreate Handler Methods for Automated Tests2026-08-24
- learnCreate Test Runner Codeunits in AL2026-08-24
- learnDeprecating explicit and implicit with statements2025-05-21
- learnDevelopment process for moving tables and fields between extensions2026-12-01
- learnExtension Development Lifecycle Overview2025-05-21
Show 27 more
- learnExtension types and scope2026-08-10
- learnFAQ About Updating Your Business Central App2026-12-01
- learnGenerating Delta files2021-04-01
- learnHotfix a Marketplace App in Business Central2026-12-01
- learnHow to Unpublish and Uninstall an Extension2022-05-23
- learnLifecycle of Apps and Extensions2026-10-08
- learnLifecycle of Apps and Extensions FAQ2026-12-01
- learnMaintain Marketplace apps and per-tenant extensions2026-10-23
- learnManage and Submit Business Central Offers FAQ2026-11-27
- learnMicrosoft Timeline for Deprecating Code in Business Central2025-05-19
- learnMigrating Tables and Fields Between Extensions2021-04-01
- learnMigration JSON file2025-05-02
- learnMoving between extension scopes2025-05-02
- learnMoving tables and fields between extensions2025-03-31
- learnMoving Tables and Fields to Extensions Down the Dependency Graph2021-04-01
- learnMoving Tables and Fields to Extensions Up the Dependency Graph2021-04-01
- learnPerformance Toolkit extension2024-02-21
- learnPublishing and Installing an Extension2025-02-05
- learnTest Codeunits and Test Methods in AL2026-08-24
- learnTest Pages for Automated Business Central Tests2026-11-30
- learnTesting the application overview2025-09-30
- learnTranslations Overview2021-06-15
- learnUpdate Lifecycle for Tenant Customizations2026-11-05
- learnUpgrading Extensions in Business Central2026-11-30
- learnUpgrading Marketplace Apps in Production2026-11-30
- learnWork with XLIFF Translation Files2026-08-25
- learnWriting Extension Installation Code2026-11-30