none
Erro ao Sincronizar Active Directory Azure Connect com Active Directory local RRS feed

  • Pergunta

  • Prezados,

    Alguém, consegue me ajudar com este erro abaixo, segue o log também?

    Exception Data (Raw): System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException: Unknown error (0x80005000) ---> System.Runtime.InteropServices.COMException: Unknown error (0x80005000)
       at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
       at System.DirectoryServices.DirectoryEntry.Bind()
       at System.DirectoryServices.DirectoryEntry.get_AdsObject()
       at System.DirectoryServices.PropertyValueCollection.PopulateList()
       at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
       at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
       at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)
       --- End of inner exception stack trace ---
       at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)
       at System.DirectoryServices.ActiveDirectory.DirectoryEntryManager.ExpandWellKnownDN(WellKnownDN dn)
       at System.DirectoryServices.ActiveDirectory.Domain.GetDirectoryEntry()
       at Microsoft.Online.DirSync.Common.DirectoryServicesAdapter.Domain.GetDirectoryEntry()
       at Microsoft.Online.DirSync.Common.DomainAccountUtility.UpdatePermissionsOnDomains(DomainCollection domains, SecurityIdentifier sid, AccessControlEntryUpdateAction actionType, ActiveDirectoryRights accessType, Guid accessRightsGuid, Boolean applyToAdminSDHolder, Guid inheritedObject, ActiveDirectorySecurityInheritance inheritanceType)
       at Microsoft.Online.Deployment.Types.ActiveDirectoryPermissionsHelper.UpdateAccessRightsOnAllDomainsInForest(NetworkCredential domainAdminCredential, String samAccountName, AccessControlEntryUpdateAction accessControlEntryUpdateAction, ActiveDirectoryRights accessType, Guid accessRightsGuid, Boolean applyToAdminSDHolder, Guid inheritedObject, ActiveDirectorySecurityInheritance inheritanceType)
       at Microsoft.Online.Deployment.Types.ActiveDirectoryPermissionsHelper.GrantReplicationGetChangesPermissionToAllDomainsInForest(NetworkCredential domainAdminCredential, String synchronizationAccountName)
       at Microsoft.Online.Deployment.Types.Providers.SyncDataProvider.GrantAllActiveDirectoryPermissions(NetworkCredential enterpriseAdminCredential, String syncAccountName)
       at Microsoft.Online.Deployment.Types.Providers.SyncDataProvider.CreateADConnectorAccount(NetworkCredential domainAdminCredential, String installationIdentifier, String tenantDisplayName)
       at Microsoft.Online.Deployment.OneADWizard.Runtime.Stages.ConfigureSyncEngineStage.StartADSyncConfigurationCore(IPersistedStateProvider persistedStateProvider, StatusChangedDelegate progressChanged)
    [14:51:46.653] [ 31] [INFO ] ConfigureSyncEngineStage.StartADSyncConfiguration: AADConnectResult.Status=Failed
    [14:51:46.655] [ 34] [INFO ] Starting Telemetry Send
    [14:51:47.210] [  1] [INFO ] Starting a background thread in Configuring. Background Task Id: 510138.
    [14:51:47.210] [ 22] [INFO ] PerformConfigurationPageViewModel.ExecuteADSyncConfiguration: Preparing to configure sync engine (WizardMode=ExpressInstall).
    [14:51:47.210] [ 22] [INFO ] PerformConfigurationPageViewModel.ExecuteSyncEngineInstallCore: Preparing to install sync engine (WizardMode=ExpressInstall).
    [14:51:47.212] [ 22] [INFO ] InstallSyncEngineStage.ExecuteInstall called when Sync Engine is already installed.
    [14:51:47.212] [ 22] [INFO ] PerformConfigurationPageViewModel.StartInstallation: Preparing to configure sync engine.
    [14:51:47.212] [ 22] [VERB ] GetAdminCredential called with account NOVAREDE.LOCAL\administrator
    [14:51:47.212] [ 22] [VERB ] AdministratorUsername is in NTAccount format.
    [14:51:47.212] [ 22] [VERB ] GetAdminCredential returning account NOVAREDE.LOCAL\administrator
    [14:51:47.212] [ 22] [INFO ] Creating AD Connector account for novarede.local.
    [14:51:47.350] [ 22] [VERB ] CreateADConnectorAccount(System.Net.NetworkCredential, 3cc5b609d7914217bd0cf70d5b18ac68, novasbazure.onmicrosoft.com)
    [14:51:47.354] [ 22] [INFO ] AD Connector account will have account name NOVAREDE.LOCAL\MSOL_3cc5b609d791
    [14:51:47.375] [ 22] [INFO ] AD Connector account already exists.
    [14:51:47.466] [ 22] [INFO ] GrantAllActiveDirectoryPermissions: Granting DsReplicationGetChanges permission on all domains for password hash synchronization.
    [14:51:47.516] [ 22] [ERROR] Caught exception while creating synchronization account.
    Exception Data (Raw): System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException: Unknown error (0x80005000) ---> System.Runtime.InteropServices.COMException: Unknown error (0x80005000)
       at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
       at System.DirectoryServices.DirectoryEntry.Bind()
       at System.DirectoryServices.DirectoryEntry.get_AdsObject()
       at System.DirectoryServices.PropertyValueCollection.PopulateList()
       at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
       at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
       at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)
       --- End of inner exception stack trace ---
       at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)
       at System.DirectoryServices.ActiveDirectory.DirectoryEntryManager.ExpandWellKnownDN(WellKnownDN dn)
       at System.DirectoryServices.ActiveDirectory.Domain.GetDirectoryEntry()
       at Microsoft.Online.DirSync.Common.DirectoryServicesAdapter.Domain.GetDirectoryEntry()
       at Microsoft.Online.DirSync.Common.DomainAccountUtility.UpdatePermissionsOnDomains(DomainCollection domains, SecurityIdentifier sid, AccessControlEntryUpdateAction actionType, ActiveDirectoryRights accessType, Guid accessRightsGuid, Boolean applyToAdminSDHolder, Guid inheritedObject, ActiveDirectorySecurityInheritance inheritanceType)
       at Microsoft.Online.Deployment.Types.ActiveDirectoryPermissionsHelper.UpdateAccessRightsOnAllDomainsInForest(NetworkCredential domainAdminCredential, String samAccountName, AccessControlEntryUpdateAction accessControlEntryUpdateAction, ActiveDirectoryRights accessType, Guid accessRightsGuid, Boolean applyToAdminSDHolder, Guid inheritedObject, ActiveDirectorySecurityInheritance inheritanceType)
       at Microsoft.Online.Deployment.Types.ActiveDirectoryPermissionsHelper.GrantReplicationGetChangesPermissionToAllDomainsInForest(NetworkCredential domainAdminCredential, String synchronizationAccountName)
       at Microsoft.Online.Deployment.Types.Providers.SyncDataProvider.GrantAllActiveDirectoryPermissions(NetworkCredential enterpriseAdminCredential, String syncAccountName)
       at Microsoft.Online.Deployment.Types.Providers.SyncDataProvider.CreateADConnectorAccount(NetworkCredential domainAdminCredential, String installationIdentifier, String tenantDisplayName)
       at Microsoft.Online.Deployment.OneADWizard.Runtime.Stages.ConfigureSyncEngineStage.StartADSyncConfigurationCore(IPersistedStateProvider persistedStateProvider, StatusChangedDelegate progressChanged)
    [14:51:47.517] [ 22] [INFO ] ConfigureSyncEngineStage.StartADSyncConfiguration: AADConnectResult.Status=Failed
    [14:51:47.519] [ 35] [INFO ] Starting Telemetry Send
    [14:56:15.541] [  1] [INFO ] Opened log file at path C:\ProgramData\AADConnect\trace-20170518-133532.log

    quinta-feira, 18 de maio de 2017 18:55

Respostas

  • Boa tarde Ricardo Franco Pereira,

    Isso é uma implementação nova ou tem DirSync no ambiente.

    Você selecionou as OU, pode explicar melhor o problema?


    Att., Roberto Alves

    Por favor, lembre-se de Marcar como Resposta as postagens que resolveram o seu problema. Essa é uma maneira comum de reconhecer aqueles que o ajudaram e fazer com que seja mais fácil para os outros visitantes encontrarem a resolução mais tarde.

    segunda-feira, 29 de maio de 2017 16:47

Todas as Respostas

  • Boa tarde Ricardo Franco Pereira,

    Isso é uma implementação nova ou tem DirSync no ambiente.

    Você selecionou as OU, pode explicar melhor o problema?


    Att., Roberto Alves

    Por favor, lembre-se de Marcar como Resposta as postagens que resolveram o seu problema. Essa é uma maneira comum de reconhecer aqueles que o ajudaram e fazer com que seja mais fácil para os outros visitantes encontrarem a resolução mais tarde.

    segunda-feira, 29 de maio de 2017 16:47
  • Bom dia,

    Por falta de retorno esta thread esta encerrada !

    Por gentileza, caso necessário abra uma nova thread.

    Atenciosamente,


    Guilherme Macedo S

    Esse conteúdo é fornecido sem garantias de qualquer tipo, seja expressa ou implícita

    TechNet Community Support

    Por favor, lembre-se de Marcar como Resposta as postagens que resolveram o seu problema. Essa é uma maneira comum de reconhecer aqueles que o ajudaram e fazer com que seja mais fácil para os outros visitantes encontrarem a resolução mais tarde.

    quarta-feira, 31 de maio de 2017 18:48