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??
Mitch PDirectorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jian An LimSolutions ArchitectCommented:
you can just remove and reinstall (not this one but AADconnect)
Mitch PDirectorAuthor Commented:
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 LimSolutions ArchitectCommented:
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/
Mitch PDirectorAuthor Commented:
Will try and let you know
Mitch PDirectorAuthor Commented:
I opened a case with MS and they looked and reported back the following

>>ran port query found 443 not listing on the sync tool server
>>ran netmon
>>but we were not able to trace anything related with inbound and outbound traffic for 443
>>we found that there was event id with error for DCOM permission:-
Event ID:      10016
>>Follow article:-
https://support.microsoft.com/en-us/kb/899965
>>ran full sync
>>now everything working fine  
 
Cause: Dcom permission issue
 
Resolution:gave sufficent permison to AAD Account
 
Here is some more info I thought you might be interested
 
 
http://azure.microsoft.com/en-us/documentation/articles/active-directory-aadconnect-learn-more/
http://azure.microsoft.com/en-us/documentation/videos/edge-show115-azure-ad-connect-preview-configuring-hybrid-identity-with-azure-ad-/
http://azure.microsoft.com/en-us/documentation/videos/10/
Microsoft Azure Active Directory Connect
http://www.microsoft.com/en-us/download/details.aspx?id=47594
 
Azure AD Connect: Version Release History
https://azure.microsoft.com/en-in/documentation/articles/active-directory-aadconnect-version-history/
http://blogs.msdn.com/b/vilath/archive/2015/06/17/azure-ad-sync-unable-to-install-the-synchronization-service.aspx

Great help and very concise Not sure why these DCOM errors were there of the user permissions were not as they should be..

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Azure

From novice to tech pro — start learning today.