No Activity in User Profile Synchronization During User Sync

I had one client where during User Profile Synchronization, profiles were not being pulled in. After they checked the miisclient (located in C:\Program Files\Microsoft Office Server\15.0\Synchronization Service\UIShell), they saw no activity on the Operations tab. It did not appear as if the Management Agent was executing. The client sent me a copy of the ULS log from the run, and I found this particular error:

Looking at the method  Microsoft.Office.Server.UserProfiles.Synchronization.MiisServer.GetInstances(String machineName), we can see that it is attempting to query a WMI namespace:

Based on this information, on the server running the User Profile Synchronization Service, I had the client go to Computer Management -> Services, left click on WMI Control, then right click on WMI Control and select Properties, then go to the Advanced tab. Under Root, unlike my example here, the client’s server was missing the MicrosoftIdentityIntegrationServer namespace:

MicrosoftIdentityIntegrationServerNamespace

Looking again at the code, this WMI namespace is provisioned during the User Profile Synchronization Service provisioning. After having the client reprovision the UPSS (by simply stopping it and then starting it again), the User Profile Synchronization ran successfully and the miisclient showed activity under the Operations tab.

 

2 Comments

  1. Trevor, did your fix stick? I had a very similar issue and realized that the WMI namespace was actually getting removed nightly… Turned out to be a known issue with the version/build of SCCM they were running, I believe.

    Brian

Leave a Reply