Azure Connect AD failed

Yohanes Wifgas 1 Reputation point
2021-04-06T06:01:25.937+00:00

Recently i try to run Azure AD Connect but it failed as info below:

[11:41:08.059] [ 24] [INFO ] Determining installation action for Microsoft Azure AD Connect Authentication Agent (0c06f9df-c56b-42c4-a41b-f5f64d01a35c)
[11:41:08.059] [ 24] [INFO ] Product Microsoft Azure AD Connect Authentication Agent is not installed.
[11:41:08.063] [ 24] [INFO ] InstallAADConnectAgent: Detected cloud version Worldwide
[11:41:08.063] [ 24] [INFO ] InstallAADConnectAgent: Passing in parameter AzureCloud to agent installation
[11:41:10.846] [ 24] [ERROR] Error installing the connector : System.Runtime.InteropServices.COMException (0x80070643): Fatal error during installation. (Exception from HRESULT: 0x80070643)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.Online.Deployment.Framework.Providers.ProcessProvider.Execute(String domain, String username, SecureString password, String filename, String arguments, TimeSpan timeout, Boolean waitForAllInstance, Int32[] allowedExitCodes)
at Microsoft.Online.Deployment.Framework.Providers.ProcessProvider.Execute(String filename, String arguments, TimeSpan timeout, Int32[] allowedExitCodes)
at Microsoft.Online.Deployment.PSModule.Tasks.PassthroughAuth.InstallAADConnectAgent1.Execute() [11:41:10.847] [ 24] [INFO ] Task 'Install Azure AD Passthrough authentication Connector' has finished execution [11:41:10.847] [ 26] [ERROR] Microsoft.Online.Deployment.PSModule.Utility.PassthroughAuthConfigurationException: Fatal error during installation. (Exception from HRESULT: 0x80070643) at Microsoft.Online.Deployment.PSModule.Tasks.PassthroughAuth.InstallAADConnectAgent1.Execute()
at Microsoft.Online.Deployment.Framework.Workflow.WorkflowTask.ExecuteWrapper()
Exception Data (Raw): Microsoft.Online.Deployment.Framework.Workflow.WorkflowTaskException: The task 'Install Azure AD Passthrough authentication Connector' has failed. ---> Microsoft.Online.Deployment.PSModule.Utility.PassthroughAuthConfigurationException: Fatal error during installation. (Exception from HRESULT: 0x80070643)
at Microsoft.Online.Deployment.PSModule.Tasks.PassthroughAuth.InstallAADConnectAgent1.Execute() at Microsoft.Online.Deployment.Framework.Workflow.WorkflowTask.ExecuteWrapper() --- End of inner exception stack trace --- at Microsoft.Online.Deployment.Framework.Workflow.WorkflowTaskGroup.CheckTaskCompletion(Int32 currentTaskIndex) [11:41:10.847] [ 26] [VERB ] Cleanup: Starting cleanup for task 'Install Azure AD Passthrough authentication Connector' [11:41:10.848] [ 26] [VERB ] Task 'Install Azure AD Passthrough authentication Connector': No cleanup defined [11:41:10.848] [ 26] [VERB ] Marking task 'Configure Azure AD Passthrough Authentication Connector' as Skipped [11:41:10.848] [ 26] [INFO ] Task 'Deploy Microsoft Azure AD Connect Authentication Agent' has finished execution [11:41:10.848] [ 5] [ERROR] Task failed without an exception [11:41:10.848] [ 5] [VERB ] Cleanup: Starting cleanup for task 'Deploy Microsoft Azure AD Connect Authentication Agent' [11:41:10.848] [ 5] [VERB ] Task 'Deploy Microsoft Azure AD Connect Authentication Agent': No cleanup defined [11:41:10.848] [ 5] [VERB ] Marking task 'Configure Passthrough Authentication' as Skipped [11:41:10.848] [ 5] [VERB ] Marking task 'Check Installed Components' as Skipped [11:41:10.848] [ 5] [VERB ] Marking task 'Deploy AAD Sync' as Skipped [11:41:10.848] [ 5] [VERB ] Marking task 'Deploy AAD Health Agent' as Skipped [11:41:10.848] [ 5] [VERB ] Rolling back task Setting DesktopSso enablement [11:41:10.849] [ 5] [VERB ] Task 'Setting DesktopSso enablement': No rollback defined [11:41:10.849] [ 5] [INFO ] Task 'Pass through authentication Root Task' has finished execution [11:41:10.866] [ 22] [ERROR] Fatal error during installation. (Exception from HRESULT: 0x80070643) Exception Data (Raw): Microsoft.Online.Deployment.PSModule.Utility.PassthroughAuthConfigurationException: Fatal error during installation. (Exception from HRESULT: 0x80070643) at Microsoft.Online.Deployment.PSModule.Tasks.PassthroughAuth.InstallAADConnectAgent1.Execute()
at Microsoft.Online.Deployment.Framework.Workflow.WorkflowTask.ExecuteWrapper()
[11:41:10.869] [ 22] [INFO ] MicrosoftOnlinePersistedStateProvider.Save: saving the persisted state file
[11:41:10.869] [ 22] [INFO ] MicrosoftOnlinePersistedStateProvider.UpdateFileProtection: updating file protection from the persisted state file: C:\ProgramData\AADConnect\PersistedState.xml, isAddProtection: False
[11:41:10.870] [ 22] [INFO ] MicrosoftOnlinePersistedStateProvider.UpdateFileProtection: updating file protection from the persisted state file: C:\ProgramData\AADConnect\PersistedState.xml, isAddProtection: True
[11:41:10.874] [ 22] [INFO ] PerformConfigurationPageViewModel.PerformWorkflowInstallationAndUpdateState: result of installation operations - Failed
[11:41:10.874] [ 22] [ERROR] ExecuteADSyncConfiguration: configuration failed. Skipping export of synchronization policy. resultStatus=Failed
[11:41:10.898] [ 22] [ERROR] PerformConfigurationPageViewModel: We encountered a problem and couldn’t complete the integration.
[11:41:10.898] [ 22] [ERROR] PerformConfigurationPageViewModel: Installation of the Microsoft Azure AD Connect Authentication Agent failed due to an unexpected error. Please consult the installation logs for additional information. Learn more
[11:41:27.712] [ 1] [INFO ] Opened log file at path C:\ProgramData\AADConnect\trace-20210406-113327.log

Please help me.
Thank you.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,093 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Marilee Turscak-MSFT 33,056 Reputation points Microsoft Employee
    2021-04-06T21:49:50.157+00:00

    Please make sure that you are using the correct permissions to install the agent and that you are using the domain\user format (rather than domain.com\user).

    Please also share the logs from C:\ProgramData\AADConnect\trace-20210406-113327.log

    You may also find logs in %localappdata%\AADConnect > Synchronization Service_install.txt file

    The log files should show the actual error, and you can reference the troubleshooting guide as well.

    0 comments No comments

  2. Yohanes Wifgas 1 Reputation point
    2021-04-07T06:25:03.36+00:00

    85163-image.png

    now i'm facing a new problem... pls help.

    Regards,
    Yohanes