Table of Contents



Let's discuss another common error, one you will see during or after configuration of the Microsoft Identity Manager synchronization with User Profile service - “Get-WmiObject: Generic failure”.

Issue:

When you are trying to start the SharePoint Synchronization, either Full or Delta, we end up with the following error:

PS C:\SharePointSync> Start-SharePointSync -Delta
Get-WmiObject : Generic failure
At C:\SharePointSync\SharePointSync.psm1:446 char:9
+         Get-WmiObject -Class MIIS_ManagementAgent -Namespace root/MicrosoftIdent …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [Get-WmiObject], ManagementException
+ FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand

MA not found: ADMA
At C:\SharePointSync\SharePointSync.psm1:388 char:13
+             throw “MA not found: $Name”
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : OperationStopped: (MA not found: ADMA:String) [], RuntimeException
+ FullyQualifiedErrorId : MA not found: ADMA

PS C:\SharePointSync>
2016-04-07_23h44_51

Reason:

This error indicates that “Forefront Identity Manager Synchronization Service” is either not working properly, is hung, is stopped or disabled.

Resolution:

Please check if the “Forefront Identity Manager Synchronization Service” is stopped or disabled. Go to Start Window > Administrator Tools > Services and Start “Forefront Identity Manager Synchronization Service”.  Now run the commands again and it will work.