Slow performance and high CPU usage in Azure AD Connect Health for Sync monitoring agent on a system that has installed .NET Framework 4.7.2 or the July 2018 updates for .NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, or 4.7.2

Applies to: Azure Active Directory

Symptoms


Assume that you run the Microsoft Azure Active Directory (Azure AD) Connect Health for Sync monitoring agent on a system that has installed .NET Framework 4.7.2 or the July 2018 updates for .NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, or 4.7.2. In this scenario, the system may experience slow performance and high CPU usage.

To see the high CPU usage, start Task Manager, and view the CPU usage of the MIcrosoft.Online.Reporting.MonitoringAgent.Startup process on the Processes tab.

Cause


This issue occurs because the Azure AD Connect Health for Sync monitoring agent does not fully support .NET Framework 4.7.2 or the July 2018 updates for .NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, or 4.7.2.

The following updates may cause high CPU usage of the monitoring agent.

.NET Framework update

Server version

Type of update

KB 4340007

Windows Server 2008

Security

KB 4340556

Windows Server 2008 R2

Security

KB 4340004

Windows Server 2008 R2

Security

KB 4340557

Windows Server 2012

Security

KB 4340005

Windows Server 2012

Security

KB 4340558

Windows Server 2012 R2

Security

KB 4340006

Windows Server 2012 R2

Security

KB 4054542

Windows Server 2012

Nonsecurity

KB 4054566

Windows Server 2012 R2

Nonsecurity

KB 4054590

Windows Server 2016

Nonsecurity

KB 4338814

Windows Server 2016 (build 14393.2363)

Nonsecurity

KB 4345418

Windows Server 2016 (build 14393.2368)

Nonsecurity

Resolution


To resolve this issue, install the update that is appropriate for your environment.

  • For Connect Health for AD DS and AD FS

    Install the Azure AD Connect Health Agent, version 3.1.7.0 that was released in July 2018. This update is available for download here.
     
  • For Azure AD Connect

    Install the latest version of Azure AD Connect that contains the fix for this high CPU usage issue. This version is available for download here.

    Note If you have enabled the auto-upgrade feature on your AADConnect server, the latest version will be installed automatically.