Microsoft Solutions Partner · Business Applications · Data & AI · Digital & App Innovation

Customer Engagement

Upgrade CRM 2016 to Dynamics 365 On-Premise: Step-by-Step

In short: To upgrade CRM 2016 to Dynamics 365 on-premises, you must complete a staged database migration through Dynamics 365 version 9.0 On-Premises. This process involves upgrading underlying Windows and SQL Server infrastructure, refactoring legacy SOAP integrations and JavaScript code to modern Web APIs, and validating customizations in a sandbox environment before final cutover.

If your organization still runs Microsoft Dynamics CRM 2016, mainstream support has ended, leaving your system without routine security patches or technical enhancements. Deciding to upgrade CRM 2016 to Dynamics 365 on-premises allows leadership teams to retain complete control over internal infrastructure while giving sales and customer service teams access to modern platform features. At Expert Dynamics Group, we help mid-market organizations modernize their core business platforms, aligning customer management tools with wider enterprise systems described on our Dynamics CRM technologies page.

Why should you upgrade CRM 2016 to Dynamics 365 on-premises today?

Upgrading CRM 2016 to Dynamics 365 on-premises resolves platform security vulnerabilities, ensures compatibility with modern web browsers, and restores vendor support for core sales processes. Remaining on legacy CRM 2016 creates operational risks, especially as desktop operating systems, Microsoft Office suites, and server environments evolve beyond legacy software standards.

Staying on CRM 2016 limits your organization in three major ways:

  • Security and Compliance: Legacy versions lack modern authentication standards and receive no regular security updates.
  • Integration Bottlenecks: Older SOAP endpoints disrupt integration flows between sales teams and enterprise resource planning software like Dynamics 365 Finance & Operations.
  • User Experience: Legacy form rendering runs slowly on modern browsers and lacks responsive mobile interface components.

What is the direct path to upgrade CRM 2016 to Dynamics 365 on-premises?

The direct path to upgrade CRM 2016 to Dynamics 365 on-premises requires an incremental database migration using a dedicated staging environment rather than an immediate in-place operating system overwrite. Microsoft requires specific database schema updates before importing organization databases into higher versions.

To complete the database upgrade sequence, your technical team must follow these core steps:

  1. Backup CRM 2016 Database: Perform a full SQL Server database backup of your existing organization database (ORG_MSCRM).
  2. Stage Intermediate Server: Restore the database onto a SQL Server instance compatible with Dynamics 365 Server v9.0 On-Premises.
  3. Import and Update Database: Use Deployment Manager on the new server to import the organization database, which triggers automated schema upgrades.
  4. Apply Latest Update Packages: Install the latest cumulative updates for Dynamics 365 On-Premises v9.1 to apply modern bug fixes and stability enhancements.

We strongly advise a side-by-side migration approach. Setting up clean target servers running supported versions of Windows Server and SQL Server prevents leftover configuration clutter from breaking production environments.

How do you handle custom JavaScript and plugins during the upgrade?

Custom code built for CRM 2016 must be audited and refactored because legacy 2011 SOAP endpoints and client-side SDK methods are deprecated in Dynamics 365. Refactoring custom JavaScript to use the modern ExecutionContext.getFormContext() object model ensures forms load reliably across all modern web browsers.

When reviewing custom code during an upgrade project:

  • Replace SOAP with Web API: Legacy REST and SOAP endpoints used for database queries must be rewritten to use the Dynamics 365 Web API.
  • Update C# Plugin Assemblies: Recompile custom plugin assemblies against current SDK assemblies, targeting .NET Framework 4.6.2 or higher.
  • Review Ribbon Customizations: Validate XML ribbon rules to confirm custom buttons call modern JavaScript functions accurately.

Upgrading on-premises vs. migrating to Dynamics 365 Cloud

While maintaining on-premises servers preserves local data governance, many mid-size businesses evaluate moving to Dynamics 365 Customer Engagement cloud services during their upgrade lifecycle. Understanding the differences helps executive leadership select the right deployment architecture.

Architectural FactorDynamics 365 On-PremisesDynamics 365 Cloud (SaaS)
Infrastructure ControlInternal IT manages servers, backups, and SQL tuningMicrosoft manages cloud infrastructure and availability
Update CadenceManual installation of service packs and updatesAutomated continuous feature releases
Data AccessDirect T-SQL database access allowedDataverse APIs and Azure Synapse Link
Customization ExtensionsFull C# plugins and custom SQL SSRS reportsWeb API, Power Apps, and Power BI reporting

For companies with strict regulatory data requirements or heavy reliance on custom SQL reporting tools, remaining on-premises provides immediate operational continuity. If you want to learn more about cloud functionality, review our overview on what Dynamics 365 CE offers.

Step-by-step checklist for your upgrade project

Executing a smooth upgrade requires systematic testing before moving production user traffic. Use this checklist during your implementation planning:

  • Inventory all third-party solution packages and verify vendor compatibility with Dynamics 365 On-Premises.
  • Audit existing server hardware to confirm compliance with Windows Server and SQL Server requirements.
  • Set up a full sandbox environment to execute a dry-run database migration.
  • Run Microsoft’s solution checker or custom code validation scripts to identify deprecated API calls.
  • Execute complete end-to-end user acceptance testing across core sales and service processes.
  • Rehearse cutover timing to establish an accurate maintenance window for production go-live.

Frequently asked questions

Can a CRM 2016 database be directly imported into Dynamics 365 v9.1 on-premise?

No, direct database imports from CRM 2016 straight into Dynamics 365 v9.1 on-premise are not supported. You must first import the database into a Dynamics 365 v9.0 environment to execute required schema transformations. Once the v9.0 migration completes successfully, you can apply updates or migrate to v9.1.

What SQL Server versions are required for Dynamics 365 v9 on-premise?

Dynamics 365 Server v9 on-premises supports Microsoft SQL Server 2016 or SQL Server 2017 (Standard or Enterprise Edition) with current service packs, with SQL Server 2019 supported on version 9.1. SQL Server support varies based on the specific cumulative update level applied to the Dynamics 365 server installation.

Will legacy CRM 2016 plugins work without modification?

While basic C# plugins compiled on legacy SDKs may execute, plugins that rely on deprecated 2011 endpoint calls will fail. You should recompile plugin assemblies against current SDK assemblies and test all event handlers thoroughly in a staging environment.

How do client licenses work when upgrading to Dynamics 365 on-premise?

Organizations upgrading on-premises environments must ensure their Software Assurance or subscription licenses cover dual-use rights or active server licenses for Dynamics 365 On-Premises. Reviewing client access licenses with your licensing partner avoids compliance gaps during the upgrade.

Planning your CRM modernization

Upgrading legacy customer systems requires balancing hardware infrastructure requirements, database transformations, and code refactoring. A structured staging approach minimizes downtime and prevents unexpected data issues during go-live.

Ready to evaluate your path forward? Request a free Dynamics 365 analysis to review your current setup, code readiness, and upgrade options with our enterprise platform specialists.

Talk to a Dynamics 365 consultant

Book a free 30-minute consultation. We'll review your goals and outline a practical plan, with no obligation.

Start the conversation