Avatar of Mitch P
Mitch P
Flag for United Kingdom of Great Britain and Northern Ireland asked on

Office 365 AAD Sync

We have migrated a SBS 2008 Exchange to Office 365 and have installed AAD Sync on a member server 2008 R2. The initial sync worked Ok but since then we have not been able to complete any change syncs. We found out there was an issue with the sync account passwords created by the install and reset one but the other (Sync_) account generated the following error when we try to change it...

"unexpected exception thrown.; Action:PingProvisioningServiceEndPoint, Exception:"

We have also been getting "stopped-extension-dll-exception" in the status in SSM, as well as the following in the EL

ProvisioningServiceAdapter::ExecuteWithRetry: Action PingProvisioningServiceEndPoint, Unexpected Exception: System.Runtime.InteropServices.COMException (0x80010107)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.Management.ManagementObject.Initialize(Boolean getObject)
   at System.Management.ManagementBaseObject.get_Properties()
   at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
   at Microsoft.Online.DirSync.Common.PrerequisiteChecks.TryMachineIsDomainControllerCore()
   at Microsoft.Online.Coexistence.ProvisionHelper.IsMachineDomainController()
   at Microsoft.Online.Coexistence.ProvisionHelper.GenerateSyncToken()
   at Microsoft.Online.Coexistence.ProvisionHelper.OpenProxyConnection()
   at Microsoft.Online.Coexistence.ProvisionHelper.InvokeAwsAPI[T](Func`1 awsOperation, String opsLabel)
   at Microsoft.Azure.ActiveDirectory.Connector.ProvisioningServiceAdapter.ExecuteWithRetry(String actionName, Action action).

Any ideas, or can we try to remove and reinstall??
AzureMicrosoft 365

Avatar of undefined
Last Comment
Mitch P

8/22/2022 - Mon
Jian An Lim

you can just remove and reinstall (not this one but AADconnect)
Mitch P

ASKER
Totally Removed and reinstalled... I am getting a "stopped-server-down" error now... I have checked and double checked the settings. The initial sync works ok but subsequent syncs fail

Any ideas?
Jian An Lim

yup.

I have seen that before, it is because the new configuration seems have deleted a large number of object.
better you check out before you do anything.
ONce you confirm, then
Disable the threshold via

Import-Module ADSync
# Disable ADSync export deletion threshold
Disable-ADSyncExportDeletionThreshold

then sync again.



http://blog.kloud.com.au/2015/08/05/azure-active-directory-connect-export-profile-error-stopped-server-down/
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Mitch P

ASKER
Will try and let you know
ASKER CERTIFIED SOLUTION
Mitch P

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.