InstalledADSyncPowerShellHelper error 906 exit code 98

Betty Stolwyk
Occasional 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=, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. ---> System.TypeLoadException: Could not load type 'Microsoft.Azure.ActiveDirectory.Synchronization.Framework.RegistryAdapter' from assembly 'Microsoft.Azure.ActiveDirectory.Synchronization.Framework, Version=, 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)



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



1 Reply

I found an answer through this post:


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





Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
ChirmyRam in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies