Dynamics CRM upgrade: version paths, remediation and how to plan it

A Dynamics CRM upgrade is either an on-premises version hop (CRM 2011, 2013, 2015 or 2016 up to Dynamics 365 Customer Engagement on-premises 9.x) or a migration to Dynamics 365 online on Dataverse. Both are mostly remediation work: deprecated client APIs, old plugins, legacy processes and solution layering, not the database step itself. Decide the destination first, because it changes almost every task.

When this makes sense

  • You run CRM 2013, 2015 or 2016 on-premises and your Windows Server or SQL Server is past or near the end of its support life.
  • Your JavaScript still uses Xrm.Page and form scripts break when tested against the Unified Interface.
  • You want to move from on-premises CRM to Dynamics 365 online and need to know what will not survive the move.
  • A managed ISV or in-house solution blocks the upgrade and nobody knows which components are still used.
  • Users still rely on dialogs, the Email Router or Outlook client features that newer versions removed.

What the engagement covers

Path decision

On-premises upgrades go one major version at a time through Deployment Manager (Import Organization), so a CRM 2013 database passes through 2015 and 2016 (8.2) before 9.x. Compare that chain against a move to Dataverse online, and record the infrastructure each hop needs.

Client script remediation

Replace Xrm.Page with formContext passed through the execution context, retire unsupported DOM manipulation, and retest every form, ribbon command and web resource in the Unified Interface.

Plugin and workflow review

Inventory plugin assemblies and steps with the Plugin Registration Tool, rebuild them against a supported SDK and .NET Framework target, and decide which custom workflow activities become Power Automate flows or stay as classic workflows.

Deprecated feature replacement

Move dialogs to business process flows or canvas apps, the Email Router to server-side synchronization, and legacy Outlook client usage to the Dynamics 365 App for Outlook.

Solution layering clean-up

Map managed and unmanaged layers, remove dead components, and use Stage for Upgrade plus Apply Solution Upgrade so removed components are actually deleted instead of lingering in a holding solution.

Reports and integrations

Check SSRS reports for SQL-based queries that will not run online (only FetchXML reports run there), and retest integrations that call the old SOAP organization service or use direct SQL reads.

Test and cutover

Run trial upgrades on a database copy, time each step, and rehearse the production cutover with a rollback point.

How it runs

  1. 1

    Assessment (2-4 weeks)

    • Inventory solutions, plugins, scripts and reports
    • Run Solution Checker and code scans
    • Choose on-premises 9.x or online
    • Estimate remediation by component
  2. 2

    Trial upgrade (2-4 weeks)

    • Restore a production copy
    • Run each version hop or the online migration
    • Log every failure and its fix
    • Time the database steps
  3. 3

    Remediation (4-12 weeks)

    • Rewrite client scripts to formContext
    • Rebuild and re-register plugins
    • Replace dialogs and Email Router
    • Clean up solution layers
  4. 4

    Testing (2-6 weeks)

    • Regression test key processes
    • User acceptance in the Unified Interface
    • Integration and report testing
  5. 5

    Cutover and hypercare (1-3 weeks)

    • Final upgrade or migration run
    • Smoke tests and sign-off
    • Fix early defects
    • Retire the old servers

What you get

  • Upgrade path decision record with infrastructure needs per hop
  • Component inventory: solutions, plugin steps, web resources, reports, integrations
  • Remediation backlog with effort per item
  • Trial upgrade log with timings and fixes
  • Regression and UAT test scripts for the Unified Interface
  • Cutover runbook with rollback point

What drives cost and effort

Starting versionEach extra on-premises hop adds a trial run, a test cycle and often new server builds; CRM 2011 and 2013 cost noticeably more than 2016.
JavaScript volumeHundreds of form scripts with Xrm.Page and DOM tricks can be the largest single work item.
Plugins and custom workflow activitiesAssemblies without source code, or built for old SDK versions, need rewriting rather than recompiling.
Managed ISV solutionsIf the vendor has no supported version for the target, you replace or rebuild that functionality.
DestinationOnline removes server work but forces SQL reports, direct database integrations and unsupported customizations to be redone.
Database size and attachmentsLarge AsyncOperation, audit and attachment tables lengthen trial runs and the cutover window.

Fixed-scope assessment, then fixed-price upgrade

Teams that need a firm budget and can accept a short paid assessment before the price is set.

Time and materials with a cap

Old or heavily customized systems where trial upgrades will reveal unknowns.

Blended team with your developers

Organizations with in-house CRM developers who want an outside lead for the path, tooling and cutover.

Questions to ask any Dynamics 365 CRM consultant

Will you run a trial upgrade on a copy of our production database before quoting the remediation?

Effort estimates without a trial run usually miss plugin and script failures that only appear during the version hop.

How do you decide between staying on-premises at 9.x and moving online?

A partner who only offers one destination may not weigh your infrastructure, compliance and integration constraints fairly.

How will you find unused customizations before remediating them?

Removing dead fields, forms and scripts first can cut remediation sharply.

What is your approach to managed solutions from ISVs we cannot modify?

ISV components are a common blocker and need an early vendor conversation.

Which tests will be automated and handed over?

After the upgrade, release waves keep coming on online, and reusable tests save money on every one of them.

Score candidate partners side by side with the free Implementation Partner Scorecard

Where these projects go wrong

Scripts pass in the classic UI but fail in the Unified Interface.

Test only in the Unified Interface and use Solution Checker to flag deprecated calls before testing starts.

A holding solution is left in place and removed components reappear.

Use Stage for Upgrade and complete Apply Solution Upgrade in every environment, then verify the component list.

Integrations break silently after the move online.

Inventory every inbound and outbound connection and replace direct SQL access with the Web API or Synapse Link.

The cutover window overruns because the database is bloated.

Clean system jobs, audit history and old attachments before the final run and time the trial upgrade.

If you are already on Dynamics 365 online, there is no upgrade project: Microsoft applies release waves for you, and an internal admin plus a release-wave test checklist is usually enough. A small, lightly customized on-premises system can often be rebuilt online with a data migration faster than it can be upgraded hop by hop.

Frequently asked questions

Can I upgrade CRM 2013 straight to Dynamics 365 on-premises?

No. On-premises upgrades go one major version at a time, so a 2013 database is upgraded to 2015, then 2016, and then to 9.x. Many teams use the version chain only for the database and remediate code once, against the final target.

Is moving CRM on-premises to Dynamics 365 online an upgrade?

It is a migration. The database ends up in Dataverse, and anything that relied on server access, such as SQL-based reports, direct database integrations or file system code, must be rebuilt.

What does Apply Solution Upgrade do?

When you import a newer managed solution with Stage for Upgrade, Dataverse creates a holding solution. Apply Solution Upgrade merges it and deletes components that are no longer in the new version.

How long does a Dynamics CRM upgrade take?

A lightly customized 2016 system can move in roughly two to three months. Older versions with many scripts, plugins and ISV solutions commonly take four to eight months including testing.

Do we have to rewrite all our JavaScript?

Not all of it, but any script using Xrm.Page, unsupported DOM access or removed APIs must change. Most fixes are mechanical, which is where automated scanning and AI-assisted refactoring save the most time.

Talk to a Dynamics 365 CRM consultant

Tell us where you are and what you need. You get a straight answer on scope, approach and whether you need outside help at all.

Get ERP alerts and new tools

Support deadlines, release changes and new free tools for the ERP you run. A couple of emails a month at most.

Free. Unsubscribe with one click from any email.