Microsoft Dynamics CRM health check for on-premises and older versions

A Dynamics CRM health check on an on-premises or older deployment looks below the forms: IIS and the CRM web tier, the Asynchronous Processing Service, SQL Server indexes and table growth, audit partitions, and the classic workflows and plug-ins that slow every save. The output is a ranked fix list plus a clear view of whether the server is worth tuning or should move to Dynamics 365 online.

When this makes sense

  • Forms take several seconds to open and users blame the network, but nobody has looked at SQL waits or plug-in timing.
  • System jobs pile up in Waiting or In Progress and the AsyncOperationBase table has grown into the tens of millions of rows.
  • Auditing was switched on for every entity years ago and the database keeps growing faster than the business.
  • You run CRM 2013, 2015, 2016 or Dynamics 365 9.x on-premises and need to know what support and upgrade options remain.
  • Classic background workflows and custom workflow activities written by a past developer fail silently or block each other.
  • You plan a move to Dataverse online and want to know which customizations and data will cause trouble.

What the engagement covers

Web tier and IIS

Application pool identity and recycling settings, HTTP compression, Kerberos or claims authentication overhead, load balancer affinity, and the gap between Front End and Back End server roles in the deployment.

Asynchronous service and system jobs

Backlog in the async queue, completed system jobs and workflow logs never cleaned up, bulk deletion jobs for succeeded async operations, and whether the Asynchronous Processing Service has enough threads and dedicated servers.

SQL Server health

Wait statistics, missing and fragmented indexes on the organization database, statistics updates, tempdb layout, MSCRM_CONFIG settings, and the largest tables such as AsyncOperationBase, PrincipalObjectAccess, AuditBase and ActivityPointerBase.

Auditing and logging

Which entities and fields are audited, audit log partition sizes, plug-in trace log settings left at All, and a retention policy that keeps compliance evidence without keeping everything forever.

Workflows and plug-ins

Synchronous plug-ins on Create and Update of busy entities, real-time workflows that should be background, custom workflow activities with unbounded queries, and recursion guarded only by depth checks.

Sharing and security

PrincipalObjectAccess growth from cascading shares, business unit and team design that forces record-level sharing, and roles granted far beyond need.

Version and upgrade readiness

Current version and update rollup, deprecated features in use, unsupported customizations such as direct SQL writes or DOM scripting, and a path to 9.x on-premises or Dataverse online.

How it runs

  1. 1

    Data collection (1 week)

    • Deployment Manager and server role review
    • SQL wait and index snapshots
    • Top table sizes and growth trend
    • Plug-in and workflow inventory export
  2. 2

    Analysis (1-2 weeks)

    • Trace slow forms and saves end to end
    • Async queue and failure analysis
    • Audit and sharing volume review
    • Customization supportability scan
  3. 3

    Quick wins (1-2 weeks)

    • Bulk deletion and cleanup jobs
    • Index and statistics maintenance plan
    • Plug-in trace and audit scope reduction
    • IIS and app pool settings
  4. 4

    Roadmap (3-5 days)

    • Ranked findings with effort
    • Tune versus migrate recommendation
    • Upgrade or Dataverse migration outline

What you get

  • Health check report scored by area: web tier, async, SQL, audit, customization, security
  • Table growth analysis with cleanup and retention recommendations
  • Inventory of plug-ins, classic workflows and custom workflow activities with risk ratings
  • SQL Server maintenance plan tuned for the CRM organization database
  • List of unsupported customizations that block an upgrade or online move
  • Tune versus migrate recommendation with effort ranges

What drives cost and effort

Number of organizations and serversSeveral orgs or a split Front End, Back End and Deployment role topology multiplies collection and testing.
Database sizeOrganization databases in the hundreds of gigabytes need careful, scheduled cleanup and longer analysis of growth.
Custom code volumeDozens of plug-in assemblies and custom workflow activities take longer to read and profile than a configuration-only system.
Access to productionIf SQL and server access must go through a change board, data collection stretches from days to weeks.
Remediation in scopeA report alone is short; implementing cleanup, index work and plug-in rewrites adds most of the effort.
Version ageCRM 2011 and 2013 systems carry more deprecated patterns and need more upgrade analysis.

Fixed-scope assessment

Teams that want an independent diagnosis and will fix issues with their own admin or current partner.

Assessment plus remediation sprint

Organizations with a clear performance problem that want the top fixes applied and measured before and after.

Quarterly health retainer

On-premises systems that will run for a few more years and need regular cleanup, patching and capacity checks.

Questions to ask any Dynamics 365 CRM consultant

Will you measure before and after, and with what?

Form load times, async backlog and SQL waits should be baselined so improvements are proven, not asserted.

How do you clean up AsyncOperationBase and audit data safely?

Deleting the wrong system jobs or audit partitions can break workflows or remove compliance evidence.

Will you review custom plug-in and workflow code, or only settings?

Most slow saves in older CRM come from synchronous code, not server configuration.

Do you flag unsupported customizations explicitly?

Direct database writes and DOM scripts will block an upgrade and should be known before any roadmap.

Can you give a tune versus migrate view with honest effort?

Spending heavily on an end-of-life server can be worse value than moving to Dataverse online.

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

Where these projects go wrong

Cleanup jobs run in business hours and lock busy tables.

Schedule bulk deletion in small batches out of hours and watch blocking while it runs.

Audit data deleted that compliance still needs.

Agree retention with compliance first and archive partitions before deleting them.

Index changes made directly in SQL are lost or unsupported.

Follow Microsoft guidance for the organization database and document every custom index for upgrades.

Fixes treat symptoms while one bad plug-in remains.

Profile the slowest operations end to end and fix the code path before tuning hardware.

The report sits on a shelf.

Rank findings by effort and impact, assign owners, and re-measure after the first sprint.

If your CRM is already on Dynamics 365 online, Microsoft runs the servers and SQL, so an on-premises style health check is the wrong product; look at the online optimization review instead. If the system is small and slow only in one form, an internal admin with the plug-in trace log and the browser's network tools may find the cause in a day.

Frequently asked questions

What is checked in a Dynamics CRM health check?

Server roles and IIS, the asynchronous service and system job backlog, SQL Server indexes and table growth, auditing, plug-ins and workflows, security and sharing, and upgrade readiness. Each area gets findings ranked by impact and effort.

Why is my AsyncOperationBase table so large?

Completed system jobs and workflow history are kept unless a cleanup or bulk deletion job removes them. Years of succeeded workflows can leave tens of millions of rows that slow the async service and backups.

Does auditing slow Dynamics CRM?

Auditing adds writes on every audited change and grows the audit tables, which affects backups and some queries. Auditing only the entities and fields you need and managing partitions keeps the overhead small.

Should we tune our on-premises CRM or move online?

Tune if the system runs well enough after cleanup and you have reasons to stay on-premises, such as data residency or heavy custom code. Move if you are on an old version, face expensive hardware renewals, or spend more time maintaining servers than improving the CRM.

How long does a CRM health check take?

Data collection and analysis commonly take two to three weeks for one organization. Remediation is extra and depends on how much custom code needs rework.

Can AI help review old CRM customizations?

Yes. Netray uses AI agents to read plug-in assemblies, workflow definitions and JavaScript libraries and flag unsupported patterns and risky queries, with an engineer confirming each finding.

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.