Business Central upgrade: on-premises version jumps, extensions and the move online
A Business Central upgrade either moves an on-premises installation to a newer major version or takes an older version online to SaaS. The work is mostly in your AL extensions, which must compile against the new base app, and in upgrade codeunits that move custom data safely between schema versions. Online tenants are updated by Microsoft, so there the job is compatibility testing before each release wave.
When this makes sense
- You run Business Central 14 with C/AL code and need to reach a supported AL-only version.
- Your on-premises version is near the end of its support period and you are several majors behind.
- Per-tenant extensions fail to compile against the next release wave in a sandbox.
- You want to move from Business Central on premises to SaaS and keep history.
- An ISV app you rely on has stopped publishing builds for your version.
- A NAV system was technically upgraded but the customizations are still a C/AL base app modification.
What the engagement covers
Path selection
Pick between a direct upgrade to the target version, a hop through interim versions where required, or cloud migration to SaaS, based on your starting version and whether base application objects were modified.
C/AL to AL conversion
For Business Central 14 and NAV, export modified objects, convert with the Txt2AL tool, separate customizations from the base app, and rebuild them as extensions using events instead of code modifications.
Extension compatibility
Recompile per-tenant and custom extensions against new symbols, resolve obsolete objects and fields flagged by ObsoleteState, and replace removed events or APIs.
Upgrade codeunits
Write codeunits with Subtype = Upgrade using OnCheckPreconditions, OnUpgradePerCompany and OnValidateUpgradePerCompany triggers, guarded by upgrade tags so data moves run once and can be validated.
Data upgrade on premises
Run the technical upgrade of the database, synchronize and upgrade Microsoft system and base apps, then publish, sync and upgrade custom extensions in dependency order using the administration PowerShell cmdlets.
Cloud migration to SaaS
Set up cloud migration from the Business Central admin experience, replicate on-premises data to a SaaS tenant, check table mapping for extension tables, and plan the final sync and switch.
AppSource and ISV apps
Confirm each ISV has a build for the target version, and decide whether to move from on-prem ISV objects to AppSource apps for SaaS.
Testing and cutover
Run user acceptance testing on an upgraded copy, compare key balances and open entries before and after, and plan the outage window with timed rehearsals.
How it runs
- 1
Assessment (1-3 weeks)
- Inventory versions, extensions and ISV apps
- Identify base app modifications
- Choose upgrade path and target version
- 2
Code upgrade (2-10 weeks)
- Convert C/AL where needed
- Rebuild customizations as extensions
- Write upgrade codeunits for custom data
- Fix compile errors and obsolete references
- 3
Data upgrade rehearsal (1-3 weeks)
- Run the upgrade on a database copy
- Time each step
- Validate balances and open entries
- 4
User testing (2-4 weeks)
- Test key processes and reports
- Retest integrations and APIs
- Fix and re-run
- 5
Go-live (1 weekend plus 2 weeks support)
- Final upgrade or cloud migration sync
- Smoke test and release users
- Hypercare through first close
What you get
- Upgrade path decision with reasons
- Object and extension inventory with disposition for each
- Converted AL extensions in source control
- Upgrade codeunits with upgrade tags
- Timed upgrade runbook or cloud migration plan
- Before and after reconciliation report
- Test scripts and sign-off records
What drives cost and effort
| Base application modifications | Heavily modified C/AL base code must be rebuilt as extensions, which is the largest effort in most upgrades from version 14 or NAV. |
| Version gap | Several majors behind means more obsolete objects and removed events to handle; some starting points need interim hops. |
| Custom tables and data | Each custom table that changes shape needs upgrade code and validation. |
| ISV app readiness | Missing ISV builds can block the upgrade or force replacement. |
| On premises versus SaaS target | SaaS removes infrastructure work but requires AppSource or per-tenant extensions only, and cloud migration setup. |
| Integration style | Integrations using old web services, direct SQL or .NET interop need rework for supported APIs. |
Fixed-price upgrade
Systems already on AL extensions with a modest version gap.
Time and materials with a cap
Business Central 14 or NAV upgrades with unknown amounts of base code modification.
Update retainer
SaaS customers who want each release wave tested and extensions maintained.
Questions to ask any Dynamics 365 Business Central consultant
How will you separate our customizations from the base app?
Rebuilding with events instead of base modifications is what makes future upgrades cheap.
Will our extensions be in our source control with build pipelines?
Owning AL source and a build process stops you being tied to one partner for every update.
How do you write and test upgrade codeunits?
Upgrade tags and validation triggers prevent data loss and repeated data moves.
Would you recommend cloud migration or staying on premises for us, and why?
The answer should weigh ISVs, integrations and data residency, not just licensing.
What is your plan for ISV apps without a compatible build?
Some add-ons have equivalents on AppSource; some require redesign.
How many rehearsals will you run before go-live?
Timed rehearsals catch long-running steps and data errors before the real weekend.
Score candidate partners side by side with the free Implementation Partner Scorecard
Where these projects go wrong
Customizations are lifted as a modified base app instead of extensions.
Insist on event-based extensions; a modified base app repeats the same problem at the next upgrade.
Custom data is lost during schema changes.
Write upgrade codeunits with validation, and reconcile record counts and balances after each rehearsal.
Integrations break on new API versions.
Move to API v2.0 or custom API pages and test every integration in the rehearsal environment.
Cloud migration stalls on unsupported tables.
Review table mapping early and ensure extension tables exist in the SaaS tenant before replication.
Users meet a changed interface with no training.
Show users role center and page changes in the test environment and adjust personalization.
If you are already on a recent online version with a few small extensions, Microsoft's scheduled updates plus a sandbox test pass by your admin are usually enough. Large upgrades from version 14 or NAV are where experienced help pays off. Microsoft's documentation on upgrade paths and cloud migration is detailed and worth reading before you talk to anyone.
Frequently asked questions
What is the Business Central upgrade path from version 14?
Version 14 is the last release with C/AL. Moving forward means converting customizations to AL extensions and then upgrading to a current version, either on premises or via cloud migration to SaaS. Check Microsoft's upgrade documentation for the exact supported jumps for your start and target.
What is an upgrade codeunit in Business Central?
It is a codeunit with Subtype = Upgrade that runs when an extension is upgraded. It moves or transforms data between versions, and upgrade tags record that each step ran so it does not run twice.
How long does a Business Central upgrade take?
A modest version jump with clean extensions can take a few weeks. Upgrades from version 14 or NAV with heavy base code changes often take two to four months.
Do online Business Central tenants need upgrades?
Microsoft updates them on its release schedule, with a window you can choose. Your job is to make sure extensions compile and processes still work, ideally in a sandbox ahead of time.
Can we move history to Business Central online?
Cloud migration replicates data from supported on-premises versions to SaaS, including history in standard tables. Custom tables come across when the matching extension is installed in the tenant.
Can AI help with the code side?
AI agents can draft extension skeletons, flag obsolete references and generate test code. Netray uses this to speed up conversion work, with developers reviewing every change.