Microsoft does not support a direct single-step upgrade from Dynamics NAV 2009 R2 to Dynamics 365 Business Central Cloud (SaaS). A full data and customization upgrade requires stepping sequentially through intermediate on-premises versions — NAV 2009 R2 → NAV 2013 or NAV 2015 → NAV 2018 → Business Central 14 → Business Central 25 or later → Business Central Online — refactoring all C/AL modifications into AL Extensions, migrating custom C/AL field values into AL companion tables, and replicating supported data to the cloud through Microsoft's Cloud Migration Tool and Self-Hosted Integration Runtime (SHIR).
1. Understanding the Architectural Shift: C/SIDE to AL
When upgrading a legacy Dynamics NAV 2009 R2 environment to Business Central SaaS, you are bridging over 15 years of ERP evolution. In NAV 2009 R2, developers modified base Microsoft tables, forms, reports, and codeunits directly inside the C/SIDE Object Designer. In Business Central Cloud, the base application is locked, and every customization must live inside decoupled, event-driven AL Extensions.
Key architectural changes across the upgrade path:
- Elimination of Classic Objects (NAV 2009 R2 → NAV 2013): Classic Forms, Dataports, and legacy MenuSuites are discontinued after NAV 2009 R2. Forms must be transformed into Pages, Dataports rebuilt as XMLports, and Classic report layouts converted to RDLC.
- Event-Driven Architecture (NAV 2018): Direct edits inside standard Microsoft base codeunits are replaced with
[IntegrationEvent]and[BusinessEvent]subscribers. - Business Central v14 Hybrid Bridge: Business Central Spring 2019 (v14) is the final release that supports both C/SIDE (C/AL) and Visual Studio Code (AL) simultaneously, making it the mandatory staging ground to transfer C/AL table data into AL extension tables before cloud replication.
2. The 31-Step Upgrade Checklist
The full migration is organized across seven technical phases:
| Phase | Focus |
|---|---|
| Phase 1 | Pre-upgrade preparation and customization audit |
| Phase 2 | Form/Dataport transformation and upgrade to NAV 2013 |
| Phase 3 | Intermediate upgrade to NAV 2018 |
| Phase 4 | BC14 bridge upgrade |
| Phase 5 | C/AL to AL extension conversion and field data transfer |
| Phase 6 | Upgrade BC14 to Business Central 25 or later |
| Phase 7 | Cloud migration, verification, and UAT handover |
3. Phase 1: Pre-Upgrade Preparation
Before any database conversion begins, you need a complete inventory and clean environment:
- Audit Customizations: Export all NAV 2009 R2 object lists and document every modified standard object, custom object, 3rd-party add-on, and integration endpoint.
- Backup Everything: Take a full SQL Server backup of the production NAV 2009 R2 database and store it in an immutable location before any changes.
- Verify SQL Server Compatibility: NAV 2009 R2 may run on SQL Server 2008 or 2008 R2. Upgrade SQL Server to 2016 or later (required by NAV 2013+) before database conversion.
- Identify C/AL Custom Fields: Document every custom field added to standard Microsoft tables. These fields carry data that must be explicitly transferred into AL Extension companion tables later.
- Provision Target Tenant: Set up your Microsoft 365 / Entra ID tenant, assign Business Central Essentials or Premium licenses, and create a dedicated Sandbox environment for dry-run testing.
4. Phase 2: Transforming Classic Objects & Upgrading to NAV 2013
NAV 2013 is the most demanding technical hop because Microsoft completely removed the Classic Client runtime. Every legacy UI and import object must be transformed before database conversion:
- Form & Dataport Transformation: Convert Classic Forms to Pages using Microsoft's Form Transformation Tool, rewrite Dataports as XMLports, and upgrade Classic report sections into RDLC layouts.
- Three-Way PowerShell Code Merge: Export base NAV 2009 R2, customized NAV 2009 R2, and base NAV 2013 objects as
.txtfiles, then merge them automatically:
Import-Module "C:\Program Files (x86)\Microsoft Dynamics NAV\70\RoleTailored Client\Microsoft.Dynamics.Nav.Model.Tools.psd1"
Merge-NAVApplicationObject `
-OriginalPath "C:\Upgrade\Base2009R2\*.txt" `
-ModifiedPath "C:\Upgrade\Custom2009R2\*.txt" `
-TargetPath "C:\Upgrade\Base2013\*.txt" `
-ResultPath "C:\Upgrade\Merged2013\" `
-ForceOnce merged, open the database in the NAV 2013 Development Environment to convert the database metadata, import your merged objects, resolve compilation errors, and run the NAV 2013 Upgrade Toolkit data-upgrade routines.
5. Phase 3: Intermediate Upgrade to Dynamics NAV 2018
Set up your Dynamics NAV 2018 SQL Server instance and NAV Server Tier (NST), upload your NAV 2018 developer license, convert the database, and execute the schema sync and data upgrade via PowerShell:
Sync-NAVTenant -ServerInstance DynamicsNAV90 -Mode Sync
Start-NAVDataUpgrade -ServerInstance DynamicsNAV90 -FunctionExecutionMode Parallel
Get-NAVDataUpgrade -ServerInstance DynamicsNAV90 -ProgressAfter resolving any compilation errors (such as deprecated COM Automation variables), run a formal Mid-Point Data Reconciliation verifying Chart of Accounts net change, Customer/Vendor open balances, and Item Ledger quantities against your original NAV 2009 R2 reports.
6. Phase 4: Stepping Into the Business Central v14 Bridge
Install Dynamics 365 Business Central Spring 2019 (v14) application and database components. Convert your NAV 2018 database to BC14, import your merged BC14 C/AL objects, synchronize the tenant schema, and execute the BC14 data upgrade codeunits. Validate that all custom pages, reports, and posting routines function properly in the BC14 Web Client before starting AL conversion.
7. Phase 5: Converting C/AL to AL Extensions & Transferring Field Data
Business Central Cloud rejects any database that still contains modified standard C/AL objects or custom C/AL tables. Follow this exact sequence so zero custom data is lost:
- Export & Convert via
Txt2Al: Export modified C/AL objects in the new syntax and runTxt2Al.exeto generate baseline.alsource files. - Refactor for Cloud SaaS Compliance: Convert custom fields into
tableextensionobjects, UI edits intopageextensionobjects, Option fields into extensibleenumobjects, and base code edits (including legacyCodeunit 1triggers) into[EventSubscriber]procedures. Set"target": "Cloud"inapp.json. - Transfer Data from C/AL Columns to AL Extension Tables: Because AL extension fields reside in separate companion SQL tables (
$ext), write an AL Upgrade Codeunit using version-compatible upgrade code, temporary tables, or supported data-migration routines to copy values from the legacy C/AL fields into your new AL extension fields:
codeunit 50100 "CSD C/AL to AL Data Upgrade"
{
Subtype = Upgrade;
trigger OnUpgradePerCompany()
var
CustomerTransfer: DataTransfer;
begin
// Copy legacy C/AL custom field (50000) into AL Extension field (50100)
CustomerTransfer.SetTables(Database::Customer, Database::Customer);
CustomerTransfer.AddFieldValue(50000, 50100);
CustomerTransfer.UpdateAuditFields := false;
CustomerTransfer.CopyFields();
end;
}- Clean C/AL & Deploy Matching
.appFiles to Both Environments: Replace modified C/AL objects with clean standard BC14 base objects (runningSync-NAVTenant -Mode ForceSyncafter data transfer is verified), then publish and install the exact same compiled.apppackages (identical App ID, Publisher, Name, and Object/Field IDs) in both on-premises BC14 and Business Central Cloud.
8. Phase 6: Upgrade BC14 to Business Central 25 or Later
- Upgrade sequencing: Treat BC14 as the C/AL-to-AL transition bridge, then follow Microsoft's supported technical upgrade path to Business Central 25 or later on-premises.
- Extension modernization: Recompile and refactor AL extensions against the target application symbols. Resolve obsolete APIs, changed event publishers, dependency versions, permissions, and schema changes.
- Data upgrade and validation: Run schema synchronization and data upgrade processes in a test environment. Reconcile G/L, receivables, payables, inventory valuation, tax, fixed assets, jobs, and every custom table before cloud migration.
- Cloud migration readiness: Use the supported modern on-premises environment as the cloud-migration source. Confirm SQL Server, database compatibility, change tracking, extension identity, and company selection against the current Microsoft prerequisites.
9. Phase 7: Cloud Migration, Verification & UAT Handover
- Sandbox rehearsal: Configure the Business Central Online sandbox, self-hosted integration runtime, and cloud-migration connection. Complete at least one full rehearsal and record duration, errors, reconciliation results, and extension issues.
- Production cutover: Freeze transactions at the agreed checkpoint, complete the final replication or migration cycle, run the required data upgrade, and obtain technical and business go/no-go approval.
- Financial sign-off: Reconcile Trial Balance, aged receivables, aged payables, bank balances, inventory valuation, tax, fixed assets, and company-specific control totals between the source and Business Central Online.
- Users, integrations and UAT: Map Microsoft Entra ID users, assign permission sets and security groups, reconnect supported OAuth 2.0 APIs, validate job queues, and complete formal user acceptance testing.
- Recovery plan: Define the authoritative transaction system, rollback decision authority, maximum recovery window, and treatment of transactions entered after cutover.
Frequently Asked Questions
Can you upgrade directly from Dynamics NAV 2009 R2 to Dynamics 365 Business Central Cloud?
No. Microsoft does not support a direct single-step upgrade from NAV 2009 R2 to Business Central Cloud. You must upgrade sequentially through intermediate on-premises versions — typically NAV 2009 R2 to NAV 2013 or NAV 2015, then NAV 2018, Business Central 14, and Business Central 25 or later on-premises before migrating the validated solution and data to Business Central Online.
Why is Business Central Version 14 (BC14) required for NAV upgrades?
Business Central 14 is the transition release used to move legacy C/AL customizations and data into the AL extension model. For a current full migration, continue from BC14 to Business Central 25 or later on-premises before starting the standard cloud migration to Business Central Online.
What happens if AL extensions are not installed in Business Central Cloud before running Cloud Migration?
If an AL extension containing your custom tables or table extensions is missing from either the on-premises BC14 environment or the Business Central Cloud tenant, the Cloud Migration tool skips those tables and fields — resulting in lost custom data during replication.
For the broader migration project framework, read NAV to Business Central Cloud Migration: A Practical Runbook. For CI/CD pipeline setup after go-live, see AL-Go for Azure DevOps: A CI/CD Pipeline for Business Central.
Primary sources
Official references for this topic
Documentation and reference material from the vendor or standards body, kept alongside this article.
- Business Central documentationMicrosoft Learn
- Business Central release plansMicrosoft Learn
- Business Central update rolloutMicrosoft Learn
- Environment lifecycleMicrosoft Learn
