AD group users are not synchronizing in VMware Cloud Foundation (VCF) Operations
search cancel

AD group users are not synchronizing in VMware Cloud Foundation (VCF) Operations

book

Article ID: 429586

calendar_today

Updated On:

Products

VCF Operations VMware vSphere ESXi

Issue/Introduction

  • When importing an AD group to VCF Operations "Administration > Control Panel > Access Control > User Groups > Import from Source"  AD Group Import is successful, but not all the users are listed under "User Accounts"

  • Manually synchronizing the user group from "Administration > Control Panel > Authentication Sources > AD_Group > Synchronize User Group" does not synchronize the users either.

  • /storage/log/vcops/log/analytics.audit-################.log, shows AD import is successful, but the user login is failing.

    YYYY-MM-DDTHH:MM:06,298+0000 - UserId : #########################, UserName : admin, AuthSource : LOCAL, Session : ####################, ClientIP : ########, Category : USER_GROUP_IMPORT - Importing user group(s) succeeded. ID(s): "###################", Name(s): "CN=AD_NAME,OU=Groups,OU=Security,DC=users" Source(s): "AD users".
    YYYY-MM-DDTHH:MM:45,881+0000 - UserId : n/a, UserName : xyz@dmain, AuthSource : AD users, Session : n/a, ClientIP : #######, Category : AUTHENTICATION_LOGIN - Log in failed. Origin: "UI". Due to the following error: "Invalid credentials".
    YYYY-MM-DDTHH:MM:48,647+0000 - UserId : n/a, UserName : xyz@dmain, AuthSource : AD users, Session : n/a, ClientIP : #######, Category : AUTHENTICATION_LOGIN - Log in failed. Origin: "UI". Due to the following error: "Invalid credentials".

Environment

VCF Operations 8.18.x 

Cause

The integration service account lacks sufficient permissions to query required LDAP attributes. Specifically, the account must have read access to the memberOf and commonName (CN) attributes to correctly associate users with their respective groups.

Resolution

Ensure the service account has the necessary attribute permissions:

  1. Navigate to Administration > Authentication Sources and identify the service account credentials used for the integration.
  2. Grant the service account Read permissions for the memberOf and commonName attributes within the Active Directory environment.
  3. Verify that the Base DN is set high enough in the directory hierarchy to include the OUs that contain both users and groups.
  4. Navigate to Administration > Access Control > User Groups and click Synchronize User Group for the affected source.
  5. Review the /storage/log/vcops/log/analytics.audit.log file for AUTHENTICATION_LOGIN failures to confirm the specific LDAP error codes if the issue persists.



Additional Information

Refer to the document below for more details on AD configuration in VCF Operations :
Authentication Sources: Add Authentication Source for User and Group Import