Microsoft Secure Tech Accelerator
Apr 03 2024, 07:00 AM - 11:00 AM (PDT)
Microsoft Tech Community
SOLVED

InstalledADSyncPowerShellHelper error 906 exit code 98

Brass Contributor

Event viewer displays an event id 906 error "InstalledADSyncPowerShellHelper exit code: 98."

 

It happens during the AADConnect Sync Engine Auto Upgrade process. The Sync Engine auto upgrade itself completes successfully and active directory syncs execute just fine.  But I would like to figure out why I am getting this error with the InstalledADSyncPowerShellHelper.

 

Has anyone else experienced this? Does anyone have any resolutions?

 

The above error message is always followed by this more detailed error in Event Viewer:

InstalledADSyncPowerShellHelper: Encountered unexpected exception. Details: System.Management.Automation.CmdletInvocationException: Could not load type 'Microsoft.Azure.ActiveDirectory.Synchronization.Framework.RegistryAdapter' from assembly 'Microsoft.Azure.ActiveDirectory.Synchronization.Framework, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. ---> System.TypeLoadException: Could not load type 'Microsoft.Azure.ActiveDirectory.Synchronization.Framework.RegistryAdapter' from assembly 'Microsoft.Azure.ActiveDirectory.Synchronization.Framework, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

   at Microsoft.Azure.ActiveDirectory.Synchronization.UpgraderCommon.UpgraderCommon.GetMonitoringConfigurationPath()   at Microsoft.Azure.ActiveDirectory.Synchronization.UpgraderCommon.UpgraderCommon.SetProductName(String productName)   at Microsoft.Azure.ActiveDirectory.Synchronization.UpgraderCommon.UpgraderCommon.DisableAutoUpgrade()   at Microsoft.IdentityManagement.PowerShell.Cmdlet.SetADSyncAutoUpgradeCmdlet.ProcessRecord()
    --- End of inner exception stack trace ---

 

Here is a link to the latest InstalledADSyncPowerShellHelper log (error)

"C:\ProgramData\AADConnect\InstalledADSyncPowerShellHelper-20180321-145014.log"

 

Here is a link to the latest SyncEngine-AutoUpgrader log (successful):

"C:\ProgramData\AADConnect\SyncEngine-AutoUpgrader-20180321-145014.log"

 

1 Reply
best response confirmed by Betty Stolwyk (Brass Contributor)
Solution

I found an answer through this post: https://social.msdn.microsoft.com/Forums/azure/en-US/821591a2-b586-428a-ba09-9e703a0c0110/azure-ad-...

 

The update error had to do with a customized sync rule. 

 

 

 

 

1 best response

Accepted Solutions
best response confirmed by Betty Stolwyk (Brass Contributor)
Solution

I found an answer through this post: https://social.msdn.microsoft.com/Forums/azure/en-US/821591a2-b586-428a-ba09-9e703a0c0110/azure-ad-...

 

The update error had to do with a customized sync rule. 

 

 

 

 

View solution in original post