Fix issue with Azure AD/Office 365 sync hogging CPU resource on Server 2016 domain controller

I have a Server 2016 Active Directory domain controller installed within a Server 2016 Hyper-V virtual machine that runs the Azure AD/Office 365 sync utility.

There is a constant issue where this Azure AD/Office 365 sync utility "Microsoft Online Reporting MonitoringAgent.Startup" utility consumes all of the CPU resources on this virtual server (see the screenshot).

I understand that this might be related to a .NET bug that Microsoft hasn't fixed yet.

All updates are installed on this Server 2016 server, its base server, and all other Hyper-V virtual servers.

The Hyper-V base server and all virtual machines are running on Solid State drives. The base server and all of the other virtual servers are operating just fine and don't have this issue with CPU utilization.

Currently, there are 4 virtual CPUs assigned to this virtual server (out of a total of 32 physical CPUs). It doesn't matter how many virtual CPUs I assign to this virtual server, this issue continues to occur when I have assigned 8, 12, or 16 virtual CPUs.

What can be done to fix this issue?

MS-Online-Reporting CPU hog
IT GuyNetwork EngineerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vasil Michev (MVP)Commented:
There was a known issue with the previous version of AAD Connect and some windows updates. Update to the latest AAD Connect build:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Warwick ReimanSenior Systems EngineerCommented:
Above is correct, came across this issue also with a customer. Need to update to latest version either by the website or turning on automatic upgrade azure connect settings..
IT GuyNetwork EngineerAuthor Commented:
What are the steps to turn on "automatic upgrade azure connect settings"?

I would rather that this upgrade be done automatically and that all future upgrades be done automatically without me having to do them manually.

Please provide me with the exact steps on how to do this.
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

IT GuyNetwork EngineerAuthor Commented:
Alright, I have set it to Enabled.

Now how long will it take until it performs the first upgrade?

Is there any way I can make it perform the first upgrade right away instead of having to wait?

How can I determine what version I am running now?

What is the most recent version I can upgrade to?
Vasil Michev (MVP)Commented:
Simply use the download link in the article I provided above to get the latest version, you dont have to wait for auto-upgrade.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2016

From novice to tech pro — start learning today.