/opt/vmware/horizon/workspace/logs/connector.log shows the following errorERROR (Thread-#) com.vmware.horizon.connector.rest.SyncConfigurationRestController - Failed to complete dry run.com.vmware.horizon.connector.exception.HorizonException: Failed to load group DNs from directory at com.vmware.horizon.connector.admin.DirectorySyncConfigUpdateService.getUpdatedMappedGroupsFromAD(DirectorySyncConfigUpdateService.java:###) ~[classes/:3.3.7.0 Build 21173100] at com.vmware.horizon.connector.admin.DirectorySyncConfigUpdateService.updateDirectorySyncConfigFromService(DirectorySyncConfigUpdateService.java:86) ~[classes/:3.3.7.0 Build 21173100]Caused by: com.vmware.horizon.directory.DirectoryServiceException: Authentication failed for the given user name and password at com.vmware.horizon.connector.admin.LdapService.getGroups(LdapService.java:###) ~[classes/:3.3.7.0 Build 21173100]
/opt/vmware/horizon/workspace/logs/connector-dir-sync.log shows the following errorERROR (pool-####-thread-#) [;;;] com.vmware.horizon.directory.ldap.TrustedForestSearchService - Could not get value of RootDSE. Unable to get ObjectSid value for domain component of current directory settings.com.vmware.horizon.directory.DirectoryServiceException: Authentication failed for the given user name and password at com.vmware.horizon.directory.ldap.LdapConnector.createLdapContext(LdapConnector.java:####) ~[adapter-ldap-0.1.jar:3.3.7.0 Build 21173100] at com.vmware.horizon.directory.ldap.DirectoryHostResolutionService.setHostWhenUsingSrv(DirectoryHostResolutionService.java:##) ~[adapter-ldap-0.1.jar:3.3.7.0 Build 21173100]Caused by: com.vmware.horizon.directory.ldap.exceptions.KerberosAuthenticationException: Authentication failed for the given user name and password at com.vmware.horizon.directory.ldap.dc.service.KerberosConnectServiceWithOptimizedKDCLookup.getKerberosAuthenticatedSubject(KerberosConnectServiceWithOptimizedKDCLookup.java:###) ~[adapter-ldap-0.1.jar:3.3.7.0 Build 21173100] at com.vmware.horizon.directory.ldap.dc.service.DirectoryConnectService.getLdapContextForIwaDirectoryWithoutProvidedADHost(DirectoryConnectService.java:##) ~[adapter-ldap-0.1.jar:3.3.7.0 Build 21173100] ... 15 moreCaused by: javax.security.auth.login.LoginException: Pre-authentication information was invalid (24) at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:###)
INFO (Thread-12) com.vmware.horizon.client.rest.Utils - END sendRequestBase (https://localhost/SAAS/t/VIDMHOST/API/1.0/REST/admin/sync/groups/AD-Group-ID/memberswithdirectness?size=10000&start=0, ..., application/json, GET, null, ...)
ERROR (Thread-12) com.vmware.horizon.connector.mvc.UIAlerts - Failed to complete sync due to a problem with the service. Exception Info: The service reported that group: AD-GROUP-ID (ActiveDirectoryGroup@Domain) contains an unreported user: <AD-USER-ID>
ERROR (Thread-12) com.vmware.horizon.connector.rest.SyncConfigurationRestController - Failed to complete dry run.com.vmware.horizon.client.rest.Exception.ApiException: The service reported that group: AD-GROUP-ID (ActiveDirectoryGroup@Domain) contains an unreported user: <AD-USER-ID>
This may be caused by:
/usr/local/horizon/conf/krb5.conf/opt/vmware/horizon/workspace/logs/connector.log on vIDM node:Scenario 1 : Incorrect credentials in the Base DN / Bind DN section of the sync settings for this domain in vIDM
Update the directory configuration in VMware Identity Manager with the correct bind user password.
Save the changes and re-trigger the directory synchronization.
Verify that the sync completes successfully without errors. For additional guidance, refer to the following documentation: Sync Directory to Correct Domain Information
Scenario 2 : Invalid permissions on 'krb5.conf' file- /usr/local/horizon/conf/krb5.conf
Scenario 3 : Unreported user within the Active Directory group synchronized with vIDM
Review the Active Directory group synchronized with vIDM and remove the unreported user ID.