Home

Azure AD Connect - Synchronization Service Installation fails

%3CLINGO-SUB%20id%3D%22lingo-sub-833346%22%20slang%3D%22en-US%22%3EAzure%20AD%20Connect%20-%20Synchronization%20Service%20Installation%20fails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-833346%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%3EHello%20everyone%2C%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3Ewe%20have%20a%20problem%20installing%20azure%20ad%20connect%20on%20a%20windows%20server%202019.%20when%20installing%20the%20syncronization%20service%20an%20error%20occurs.%3C%2FSPAN%3E%20%3CSPAN%3Ethis%20is%20a%20first%20time%20installation%20on%20a%20brand%20new%20server%20(only%20AD%20DS%3CSPAN%20class%3D%22%22%3E%2C%20DNS%20and%20DHCP%20has%20been%20installed%3C%2FSPAN%3E).%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%3CSPAN%20class%3D%22%22%3EIn%20Azure%20AD%20Connect%20installation%20wizard%2C%20we%20use%20the%20express%20settings%3C%2FSPAN%3E.%3C%2FSPAN%3E%20%3CSPAN%3EAD%20DS%20Enterprise%20Admin%20credentials%20and%20Azure%20AD%20Global%20Admin%20credentials%20are%20correct.%3C%2FSPAN%3E%20A%3CSPAN%3Eservice%20user%20account%20is%20%3CSPAN%20class%3D%22%22%3Esuccessfully%3C%2FSPAN%3Eauto-generated%20during%20the%20installation.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22%22%3EWe%20do%20not%20know%20and%20understand%20why%20the%20synchronization%20service%20installation%20fails.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22%22%3EParts%20of%20the%20logs%20(in%20German)%20attached...%3C%2FSPAN%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FP%3E%3CDIV%20class%3D%22lia-spoiler-container%22%3E%3CA%20class%3D%22lia-spoiler-link%22%20href%3D%22%23%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ESpoiler%3C%2FA%3E%3CNOSCRIPT%3E(Highlight%20to%20read)%3C%2FNOSCRIPT%3E%3CDIV%20class%3D%22lia-spoiler-border%22%3E%3CDIV%20class%3D%22lia-spoiler-content%22%3EAzureActiveDirectorySyncEngine%20Error%3A%20906%20%3A%20SynchronizationServiceSetupTask%3AInstallCore%20-%20Caught%20unexpected%20exception.%20Details%20System.DirectoryServices.AccountManagement.PrincipalServerDownException%3A%20Mit%20dem%20Server%20konnte%20keine%20Verbindung%20hergestellt%20werden.%20---%26gt%3B%20System.DirectoryServices.Protocols.LdapException%3A%20Der%20LDAP-Server%20ist%20nicht%20verf%C3%BCgbar.%3CBR%20%2F%3Ebei%20System.DirectoryServices.Protocols.LdapConnection.Connect()%3CBR%20%2F%3Ebei%20System.DirectoryServices.Protocols.LdapConnection.SendRequestHelper(DirectoryRequest%20request%2C%20Int32%26amp%3B%20messageID)%3CBR%20%2F%3Ebei%20System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest%20request%2C%20TimeSpan%20requestTimeout)%3CBR%20%2F%3Ebei%20System.DirectoryServices.AccountManagement.PrincipalContext.ReadServerConfig(String%20serverName%2C%20ServerProperties%26amp%3B%20properties)%3CBR%20%2F%3E---%20Ende%20der%20internen%20Ausnahmestapel%C3%BCberwachung%20---%3CBR%20%2F%3Ebei%20System.DirectoryServices.AccountManagement.PrincipalContext.ReadServerConfig(String%20serverName%2C%20ServerProperties%26amp%3B%20properties)%3CBR%20%2F%3Ebei%20System.DirectoryServices.AccountManagement.PrincipalContext.DoServerVerifyAndPropRetrieval()%3CBR%20%2F%3Ebei%20System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType%20contextType%2C%20String%20name%2C%20String%20container%2C%20ContextOptions%20options%2C%20String%20userName%2C%20String%20password)%3CBR%20%2F%3Ebei%20System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType%20contextType%2C%20String%20name)%3CBR%20%2F%3Ebei%20Microsoft.Azure.ActiveDirectory.Synchronization.Framework.SyncServiceAccount.GetPrincipal(Boolean%20isDomainController%2C%20AccountManagementAdapter%20localAccountManagementAdapter%2C%20AccountManagementAdapter%26amp%3B%20domainAccountManagementAdapter)%3CBR%20%2F%3Ebei%20Microsoft.Azure.ActiveDirectory.Synchronization.Framework.SyncServiceAccount.ResolveSid(Boolean%20isDomainController)%3CBR%20%2F%3Ebei%20Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SynchronizationServiceSetupTask.InstallCore(String%20logFilePath%2C%20String%20logFileSuffix)%3CBR%20%2F%3EAzureActiveDirectorySyncEngine%20Error%3A%20906%20%3A%20SyncServiceAccount%3ARemoveAccountRights%20-%20no%20SidString%20available%3CBR%20%2F%3EAzureActiveDirectorySyncEngine%20Information%3A%20904%20%3A%20SyncServiceAccount%3ARemoveFromLocalAdministratorsGroup%3A%3CBR%20%2F%3EAzureActiveDirectorySyncEngine%20Information%3A%20904%20%3A%20Starting%3A%20Removing%20the%20Sync%20Service%20account%20from%20the%20local%20Administrators%20group...%3CBR%20%2F%3EAzureActiveDirectorySyncEngine%20Error%3A%20906%20%3A%20Der%20Objektverweis%20wurde%20nicht%20auf%20eine%20Objektinstanz%20festgelegt.%3C%2FDIV%3E%3CNOSCRIPT%3E%3CDIV%20class%3D%22lia-spoiler-noscript-container%22%3E%3CDIV%20class%3D%22lia-spoiler-noscript-content%22%3EAzureActiveDirectorySyncEngine%20Error%3A%20906%20%3A%20SynchronizationServiceSetupTask%3AInstallCore%20-%20Caught%20unexpected%20exception.%20Details%20System.DirectoryServices.AccountManagement.PrincipalServerDownException%3A%20Mit%20dem%20Server%20konnte%20keine%20Verbindung%20hergestellt%20werden.%20---%26gt%3B%20System.DirectoryServices.Protocols.LdapException%3A%20Der%20LDAP-Server%20ist%20nicht%20verf%C3%BCgbar.bei%20System.DirectoryServices.Protocols.LdapConnection.Connect()bei%20System.DirectoryServices.Protocols.LdapConnection.SendRequestHelper(DirectoryRequest%20request%2C%20Int32%26amp%3B%20messageID)bei%20System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest%20request%2C%20TimeSpan%20requestTimeout)bei%20System.DirectoryServices.AccountManagement.PrincipalContext.ReadServerConfig(String%20serverName%2C%20ServerProperties%26amp%3B%20properties)---%20Ende%20der%20internen%20Ausnahmestapel%C3%BCberwachung%20---bei%20System.DirectoryServices.AccountManagement.PrincipalContext.ReadServerConfig(String%20serverName%2C%20ServerProperties%26amp%3B%20properties)bei%20System.DirectoryServices.AccountManagement.PrincipalContext.DoServerVerifyAndPropRetrieval()bei%20System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType%20contextType%2C%20String%20name%2C%20String%20container%2C%20ContextOptions%20options%2C%20String%20userName%2C%20String%20password)bei%20System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType%20contextType%2C%20String%20name)bei%20Microsoft.Azure.ActiveDirectory.Synchronization.Framework.SyncServiceAccount.GetPrincipal(Boolean%20isDomainController%2C%20AccountManagementAdapter%20localAccountManagementAdapter%2C%20AccountManagementAdapter%26amp%3B%20domainAccountManagementAdapter)bei%20Microsoft.Azure.ActiveDirectory.Synchronization.Framework.SyncServiceAccount.ResolveSid(Boolean%20isDomainController)bei%20Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SynchronizationServiceSetupTask.InstallCore(String%20logFilePath%2C%20String%20logFileSuffix)AzureActiveDirectorySyncEngine%20Error%3A%20906%20%3A%20SyncServiceAccount%3ARemoveAccountRights%20-%20no%20SidString%20availableAzureActiveDirectorySyncEngine%20Information%3A%20904%20%3A%20SyncServiceAccount%3ARemoveFromLocalAdministratorsGroup%3AAzureActiveDirectorySyncEngine%20Information%3A%20904%20%3A%20Starting%3A%20Removing%20the%20Sync%20Service%20account%20from%20the%20local%20Administrators%20group...AzureActiveDirectorySyncEngine%20Error%3A%20906%20%3A%20Der%20Objektverweis%20wurde%20nicht%20auf%20eine%20Objektinstanz%20festgelegt.%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FNOSCRIPT%3E%3C%2FDIV%3E%3C%2FDIV%3E%20%3CDIV%20class%3D%22lia-spoiler-container%22%3E%3CA%20class%3D%22lia-spoiler-link%22%20href%3D%22%23%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ESpoiler%3C%2FA%3E%3CNOSCRIPT%3E(Highlight%20to%20read)%3C%2FNOSCRIPT%3E%3CDIV%20class%3D%22lia-spoiler-border%22%3E%3CDIV%20class%3D%22lia-spoiler-content%22%3E%5B14%3A06%3A53.576%5D%20%5B%2021%5D%20%5BINFO%20%5D%20Starting%20Sync%20Engine%20installation%3CBR%20%2F%3E%5B14%3A06%3A57.425%5D%20%5B%2021%5D%20%5BERROR%5D%20PerformConfigurationPageViewModel%3A%20Caught%20exception%20while%20installing%20synchronization%20service.%3CBR%20%2F%3EException%20Data%20(Raw)%3A%20System.Exception%3A%20Unable%20to%20install%20the%20Synchronization%20Service.%20Der%20Objektverweis%20wurde%20nicht%20auf%20eine%20Objektinstanz%20festgelegt.%20Please%20see%20the%20event%20log%20for%20additional%20details.%20---%26gt%3B%20System.NullReferenceException%3A%20Der%20Objektverweis%20wurde%20nicht%20auf%20eine%20Objektinstanz%20festgelegt.%3CBR%20%2F%3Ebei%20Microsoft.Azure.ActiveDirectory.Synchronization.Framework.AccountManagementAdapter.RemoveMembersFromLocalGroup(SecurityIdentifier%20groupSid%2C%20DirectoryEntry%5B%5D%20members)%3CBR%20%2F%3Ebei%20Microsoft.Azure.ActiveDirectory.Synchronization.Framework.SyncServiceAccount.%26lt%3B%26gt%3Bc__DisplayClass54_0.%3CREMOVEFROMLOCALADMINISTRATORSGROUP%3Eb__0()%3CBR%20%2F%3Ebei%20Microsoft.Azure.ActiveDirectory.Synchronization.Framework.ActionExecutor.Execute(Action%20action%2C%20String%20description)%3CBR%20%2F%3Ebei%20Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SynchronizationServiceSetupTask.InstallCore(String%20logFilePath%2C%20String%20logFileSuffix)%3CBR%20%2F%3Ebei%20Microsoft.Azure.ActiveDirectory.Synchronization.Framework.ActionExecutor.ExecuteWithSetupResultsStatus(SetupAction%20action%2C%20String%20description%2C%20String%20logFileName%2C%20String%20logFileSuffix)%3CBR%20%2F%3Ebei%20Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SetupBase.Install()%3CBR%20%2F%3E---%20Ende%20der%20internen%20Ausnahmestapel%C3%BCberwachung%20---%3CBR%20%2F%3Ebei%20Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SetupBase.ThrowSetupTaskFailureException(String%20exceptionFormatString%2C%20String%20taskName%2C%20Exception%20innerException)%3CBR%20%2F%3Ebei%20Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SetupBase.Install()%3CBR%20%2F%3Ebei%20Microsoft.Online.Deployment.OneADWizard.Runtime.Stages.InstallSyncEngineStage.ExecuteInstallCore(ISyncEngineInstallContext%20syncEngineInstallContext%2C%20ProgressChangedEventHandler%20progressChangesEventHandler)%3CBR%20%2F%3Ebei%20Microsoft.Online.Deployment.OneADWizard.Runtime.Stages.InstallSyncEngineStage.ExecuteInstall(ISyncEngineInstallContext%20syncEngineInstallContext%2C%20ProgressChangedEventHandler%20progressChangesEventHandler)%3CBR%20%2F%3Ebei%20Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.PerformConfigurationPageViewModel.ExecuteSyncEngineInstallCore(AADConnectResult%26amp%3B%20result)%3C%2FREMOVEFROMLOCALADMINISTRATORSGROUP%3E%3C%2FDIV%3E%3CNOSCRIPT%3E%3CDIV%20class%3D%22lia-spoiler-noscript-container%22%3E%3CDIV%20class%3D%22lia-spoiler-noscript-content%22%3E%5B14%3A06%3A53.576%5D%20%5B%2021%5D%20%5BINFO%20%5D%20Starting%20Sync%20Engine%20installation%5B14%3A06%3A57.425%5D%20%5B%2021%5D%20%5BERROR%5D%20PerformConfigurationPageViewModel%3A%20Caught%20exception%20while%20installing%20synchronization%20service.Exception%20Data%20(Raw)%3A%20System.Exception%3A%20Unable%20to%20install%20the%20Synchronization%20Service.%20Der%20Objektverweis%20wurde%20nicht%20auf%20eine%20Objektinstanz%20festgelegt.%20Please%20see%20the%20event%20log%20for%20additional%20details.%20---%26gt%3B%20System.NullReferenceException%3A%20Der%20Objektverweis%20wurde%20nicht%20auf%20eine%20Objektinstanz%20festgelegt.bei%20Microsoft.Azure.ActiveDirectory.Synchronization.Framework.AccountManagementAdapter.RemoveMembersFromLocalGroup(SecurityIdentifier%20groupSid%2C%20DirectoryEntry%5B%5D%20members)bei%20Microsoft.Azure.ActiveDirectory.Synchronization.Framework.SyncServiceAccount.%26lt%3B%26gt%3Bc__DisplayClass54_0.%3CREMOVEFROMLOCALADMINISTRATORSGROUP%3Eb__0()bei%20Microsoft.Azure.ActiveDirectory.Synchronization.Framework.ActionExecutor.Execute(Action%20action%2C%20String%20description)bei%20Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SynchronizationServiceSetupTask.InstallCore(String%20logFilePath%2C%20String%20logFileSuffix)bei%20Microsoft.Azure.ActiveDirectory.Synchronization.Framework.ActionExecutor.ExecuteWithSetupResultsStatus(SetupAction%20action%2C%20String%20description%2C%20String%20logFileName%2C%20String%20logFileSuffix)bei%20Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SetupBase.Install()---%20Ende%20der%20internen%20Ausnahmestapel%C3%BCberwachung%20---bei%20Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SetupBase.ThrowSetupTaskFailureException(String%20exceptionFormatString%2C%20String%20taskName%2C%20Exception%20innerException)bei%20Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SetupBase.Install()bei%20Microsoft.Online.Deployment.OneADWizard.Runtime.Stages.InstallSyncEngineStage.ExecuteInstallCore(ISyncEngineInstallContext%20syncEngineInstallContext%2C%20ProgressChangedEventHandler%20progressChangesEventHandler)bei%20Microsoft.Online.Deployment.OneADWizard.Runtime.Stages.InstallSyncEngineStage.ExecuteInstall(ISyncEngineInstallContext%20syncEngineInstallContext%2C%20ProgressChangedEventHandler%20progressChangesEventHandler)bei%20Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.PerformConfigurationPageViewModel.ExecuteSyncEngineInstallCore(AADConnectResult%26amp%3B%20result)%3C%2FREMOVEFROMLOCALADMINISTRATORSGROUP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FNOSCRIPT%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3E...Please%20help%20%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Fhtml%2Fimages%2Femoticons%2Fsmile_40x40.gif%22%20alt%3D%22%3Asmile%3A%22%20title%3D%22%3Asmile%3A%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-833346%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-847704%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20AD%20Connect%20-%20Synchronization%20Service%20Installation%20fails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-847704%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F402072%22%20target%3D%22_blank%22%3E%40mmw_it%3C%2FA%3E%26nbsp%3BSounds%20like%20your%20issue%20might%20be%20due%20to%20connectivity%20to%20a%20DC%20in%20your%20network.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESystem.DirectoryServices.AccountManagement.PrincipalServerDownException%3A%20The%20server%20was%20unable%20to%20connect.%20---%26gt%3B%20System.DirectoryServices.Protocols.LdapException%3A%20The%20LDAP%20server%20is%20not%20available.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20ADDS%20installed%20on%20this%20server%3F%3C%2FP%3E%3CP%3EWas%20the%20server%20promoted%20to%20a%20DC%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EInstalling%20Azure%20AD%20Connect%20on%20a%20Domain%20Controller%20is%20not%20recommended%20due%20to%20security%20practices%20and%20more%20restrictive%20settings%20that%20can%20prevent%20Azure%20AD%20Connect%20from%20installing%20correctly.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20suggest%20going%20through%20these%20prerequisites.%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fhybrid%2Fhow-to-connect-install-prerequisites%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fhybrid%2Fhow-to-connect-install-prerequisites%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-850600%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20AD%20Connect%20-%20Synchronization%20Service%20Installation%20fails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-850600%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F274560%22%20target%3D%22_blank%22%3E%40rosaliod%3C%2FA%3EYes%2C%20ADDS%20is%20installed%20on%20this%20server%20and%20yes%2C%20the%20server%20was%20promoted%20to%20a%20DC.%20%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EThis%20may%20not%20be%20recommended%2C%20but%20it%20is%20the%20most%20standard%20case%20in%20small%20businesses%20(in%20our%20case%2050%20users)%3F!%20We%20have%20not%20found%20and%20heard%20anything%20that%20others%20have%20problems%20with.%20%3CSPAN%20class%3D%22gt-baf-term-text%22%3E%3CSPAN%20class%3D%22gt-baf-cell%20gt-baf-word-clickable%22%3EQuite%20the%20reverse!%3C%2FSPAN%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%20class%3D%22gt-baf-term-text%22%3E%3CSPAN%20class%3D%22gt-baf-cell%20gt-baf-word-clickable%22%3EThe%20LDAP%20server%20is%20online%20(checked%20via%20telnet%20localhost%20%2F%20server%20ip%20389%20or%20636).%20%3CSPAN%20class%3D%22x_x_tlid-translation%20x_x_translation%22%3ENaming%20context%20%3C%2FSPAN%3Eis%20like%20LDAP%3A%2F%2FCOMPUTERNAME.ad.contoso.com%2F....%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
mmw_it
New Contributor

Hello everyone,
we have a problem installing azure ad connect on a windows server 2019. when installing the syncronization service an error occurs. this is a first time installation on a brand new server (only AD DS, DNS and DHCP has been installed).
In Azure AD Connect installation wizard, we use the express settings. AD DS Enterprise Admin credentials and Azure AD Global Admin credentials are correct. A service user account is successfully auto-generated during the installation.
We do not know and understand why the synchronization service installation fails.
Parts of the logs (in German) attached...

Spoiler
AzureActiveDirectorySyncEngine Error: 906 : SynchronizationServiceSetupTask:InstallCore - Caught unexpected exception. Details System.DirectoryServices.AccountManagement.PrincipalServerDownException: Mit dem Server konnte keine Verbindung hergestellt werden. ---> System.DirectoryServices.Protocols.LdapException: Der LDAP-Server ist nicht verfügbar.
bei System.DirectoryServices.Protocols.LdapConnection.Connect()
bei System.DirectoryServices.Protocols.LdapConnection.SendRequestHelper(DirectoryRequest request, Int32& messageID)
bei System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest request, TimeSpan requestTimeout)
bei System.DirectoryServices.AccountManagement.PrincipalContext.ReadServerConfig(String serverName, ServerProperties& properties)
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.DirectoryServices.AccountManagement.PrincipalContext.ReadServerConfig(String serverName, ServerProperties& properties)
bei System.DirectoryServices.AccountManagement.PrincipalContext.DoServerVerifyAndPropRetrieval()
bei System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType contextType, String name, String container, ContextOptions options, String userName, String password)
bei System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType contextType, String name)
bei Microsoft.Azure.ActiveDirectory.Synchronization.Framework.SyncServiceAccount.GetPrincipal(Boolean isDomainController, AccountManagementAdapter localAccountManagementAdapter, AccountManagementAdapter& domainAccountManagementAdapter)
bei Microsoft.Azure.ActiveDirectory.Synchronization.Framework.SyncServiceAccount.ResolveSid(Boolean isDomainController)
bei Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SynchronizationServiceSetupTask.InstallCore(String logFilePath, String logFileSuffix)
AzureActiveDirectorySyncEngine Error: 906 : SyncServiceAccount:RemoveAccountRights - no SidString available
AzureActiveDirectorySyncEngine Information: 904 : SyncServiceAccount:RemoveFromLocalAdministratorsGroup:
AzureActiveDirectorySyncEngine Information: 904 : Starting: Removing the Sync Service account from the local Administrators group...
AzureActiveDirectorySyncEngine Error: 906 : Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
Spoiler
[14:06:53.576] [ 21] [INFO ] Starting Sync Engine installation
[14:06:57.425] [ 21] [ERROR] PerformConfigurationPageViewModel: Caught exception while installing synchronization service.
Exception Data (Raw): System.Exception: Unable to install the Synchronization Service. Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. Please see the event log for additional details. ---> System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei Microsoft.Azure.ActiveDirectory.Synchronization.Framework.AccountManagementAdapter.RemoveMembersFromLocalGroup(SecurityIdentifier groupSid, DirectoryEntry[] members)
bei Microsoft.Azure.ActiveDirectory.Synchronization.Framework.SyncServiceAccount.<>c__DisplayClass54_0.<RemoveFromLocalAdministratorsGroup>b__0()
bei Microsoft.Azure.ActiveDirectory.Synchronization.Framework.ActionExecutor.Execute(Action action, String description)
bei Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SynchronizationServiceSetupTask.InstallCore(String logFilePath, String logFileSuffix)
bei Microsoft.Azure.ActiveDirectory.Synchronization.Framework.ActionExecutor.ExecuteWithSetupResultsStatus(SetupAction action, String description, String logFileName, String logFileSuffix)
bei Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SetupBase.Install()
--- Ende der internen Ausnahmestapelüberwachung ---
bei Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SetupBase.ThrowSetupTaskFailureException(String exceptionFormatString, String taskName, Exception innerException)
bei Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SetupBase.Install()
bei Microsoft.Online.Deployment.OneADWizard.Runtime.Stages.InstallSyncEngineStage.ExecuteInstallCore(ISyncEngineInstallContext syncEngineInstallContext, ProgressChangedEventHandler progressChangesEventHandler)
bei Microsoft.Online.Deployment.OneADWizard.Runtime.Stages.InstallSyncEngineStage.ExecuteInstall(ISyncEngineInstallContext syncEngineInstallContext, ProgressChangedEventHandler progressChangesEventHandler)
bei Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.PerformConfigurationPageViewModel.ExecuteSyncEngineInstallCore(AADConnectResult& result)

...Please help :smile:

2 Replies

@mmw_it Sounds like your issue might be due to connectivity to a DC in your network. 

 

System.DirectoryServices.AccountManagement.PrincipalServerDownException: The server was unable to connect. ---> System.DirectoryServices.Protocols.LdapException: The LDAP server is not available.

 

Is ADDS installed on this server?

Was the server promoted to a DC?

 

Installing Azure AD Connect on a Domain Controller is not recommended due to security practices and more restrictive settings that can prevent Azure AD Connect from installing correctly.

 

I suggest going through these prerequisites. 

https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-install-prerequisites

@rosaliodYes, ADDS is installed on this server and yes, the server was promoted to a DC. This may not be recommended, but it is the most standard case in small businesses (in our case 50 users)?! We have not found and heard anything that others have problems with. Quite the reverse!

The LDAP server is online (checked via telnet localhost / server ip 389 or 636). Naming context is like LDAP://COMPUTERNAME.ad.contoso.com/....

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
9 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies