Hi NunoMariano,
I based my reply from your update with the following errors.
Error 0x31 is and LDAP error for invalid credentials.
14:57:22.165] [104] [INFO ] SyncDataProvider: Calling refresh schema on connector domain.local
[14:57:23.124] [104] [ERROR] ConfigSyncDirectoriesPage: Caught exception while creating the connector for directory: domain.local.
Exception Data (Raw): System.Management.Automation.CmdletInvocationException: Failed to retrieve schema.<error><error><incident><connection-result>failed-authentication</connection-result><date>2023-10-09 13:57:22.337</date><server>domain.local:389</server><cd-error><error-code>0x31</error-code>
<error-literal>Invalid Credentials</error-literal>
490x31invalidCredentialsinvalidCredentialsLDAP_INVALID_CREDENTIALSERROR_LOGON_FAILUREWhat Active Directory membership does the credentials you are using have?
Please ensure you have the correct username and password and add the account to Enterprise Admin group for the root domain.