Share via

Error while setting up AAD Sync

Nick Povey 20 Reputation points
2024-10-11T21:57:30.6733333+00:00

While trying to install Microsoft Entra Connect I keep getting the following error "An error occurred executing Configure AAD Sync task: An error occurred while sending the request." during the final install stages. I have looked at the logs and have located this error.

"Exception Data (Raw): System.Management.Automation.CmdletInvocationException: An error occurred while sending the request. ---> Microsoft.IdentityManagement.PowerShell.ObjectModel.SynchronizationConfigurationValidationException: An error occurred while sending the request.

at Microsoft.DirectoryServices.MetadirectoryServices.UI.WebServices.MMSWebService.ValidateConfigurationParameters(Connector connector)

at Microsoft.DirectoryServices.MetadirectoryServices.UI.WebServices.MMSWebService.CreateConnector(Connector connector, Boolean validate)

at Microsoft.IdentityManagement.PowerShell.Cmdlet.AddADSyncConnectorCmdlet.ProcessRecord()"

Any ideas on a possible solution? I do have MFA disabled for the Sync account that is created in Entra during install.

Microsoft Security | Microsoft Entra | Other
0 comments No comments

Answer accepted by question author

Abiola Akinbade 30,490 Reputation points Volunteer Moderator
2024-10-13T04:25:10.7966667+00:00

Thanks for your question.

This is likely as a result of TLS 1.2 not being selected and used by Connect. Run the script below to enforce this:

https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/reference-connect-tls-enforcement#powershell-script-to-enable-tls-12

The above should fix the issue.

A lesser possibility is if you have a proxy. In that case see: https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/tshoot-connect-connectivity#connectivity-issues-in-the-installation-wizard

You can mark it 'Accept Answer' and 'Upvote' if this helped you

Regards,

Abiola

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.