Client programme / Solution architect
Upgrading a regulator's heavily customised CRM to Dynamics 365 Online
A UK public sector regulator ran its core work on an on-premises Dynamics CRM 2013 system, customised over several earlier projects. It needed to move to Dynamics 365 Online without losing any of what it did.

At a glance
#- Client: a UK public sector regulator with about 480 active CRM users.
- When: 2018 to early 2019, while I was at a Microsoft partner.
- My role: solution architect, and author of the upgrade proposal, security audit and environment design.
- Scale of the system audited: 177 entities and 11,056 fields, 229 workflows, 55 plugins, 77 JavaScript files, 44 reports and about 65 GB of data across 118 million rows.
The starting point
#Years of projects had left a system that worked but that few people understood end to end. It connected to custom web portals through hosted web services, to exam, e-learning and statistics systems through an integration server, and to a SQL copy that fed reports and the data warehouse. Some of the solutions had no source code at all.
The audit
#Before planning anything, we audited everything: plugins, JavaScript, workflows, reports and security, with high-level process flows and user stories for eight business areas. The findings shaped the plan. All 55 plugins were compatible; of the 77 JavaScript files, 20 could be replaced with standard features and 57 needed changes; 14 of the 44 reports could move to the cloud reporting format. The security audit found 572 teams, 36 security roles and 62 users with full administrator rights, which went into the design for the new environment.

Before and after, and the three phases that connected them.
The plan
#- Three phases. First upgrade or rebuild to a minimum viable product, then simplify the integrations, then improve the processes. Separating them kept the first move focused on parity.
- A supported route. Managed solutions were rebuilt as unmanaged, upgraded on premises to the current version, then deployed online, with a data migration environment alongside development, test, UAT, pre-production and production.
- Rebuild where upgrading made no sense. Resource scheduling was rebuilt with appointments, checklists and mobile access, and a legacy solution without source code was taken apart and replaced.
- The new interface before go-live. A separate recommendation set out why to adopt the Unified Interface before go-live, with one app per business area, rather than retraining users twice.
- Two-stage data migration. An initial load, then a delta at go-live, leaving audit history and redundant data behind.
Working across three parties
#Delivery was split between the Microsoft partner, the client's incumbent integrator and its in-house developers, some of whom were new to Dynamics in the cloud. Our team upgraded the solutions to Dynamics 365 Online and ran the first round of regression testing; the integrator then took on the integrations and data migration, working from the plan and the handover.
The client is described rather than named. Figures come from the audit; costs and dates beyond the year are left out.