Sharepoint 2016 With MIM 2016 - Get-WmiObject - Generic Failure

Today, I will discuss another common error; i.e., one we will see during or after configuration of Microsoft Identity Manager synchronization with User profile Service. “Get-WmiObject : Generic failure”


When you are trying to start the SharePoint Synchronization, either full or Delta, we will end up getting the error, as shown below.

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>


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


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.