The bulk user sync tool is a configurable, serverless utility for automating and managing user lifecycle operations between your organization's central directory service and CCAI Platform. It's an open source project that you can find in the Google Cloud GitHub repository
You can use the bulk user sync tool to synchronize user accounts, team assignments, and roles based on group memberships sin your source directory. This helps ensure that user permissions in CCAI Platform are always aligned with your organization's primary identity provider. This can help reduce manual administration, eliminate errors, and enhance security.
The service is managed through a web interface and supports the following three directory services:
Google Workspace
Microsoft Active Directory (via LDAP)
Microsoft Entra ID
How synchronization works
The bulk user sync tool follows these steps every time it runs a synchronization:
Identify managed users: This gets all users from CCAI Platform who are assigned the
User Sync Custom Role. This is the current user list of all users managed by this tool.Build directory list: This connects to your configured directory (for example, Google Workspace) and gets all members from every directory group defined in the
Group Mappingssection. This creates a comprehensive directory user list of all active users in CCAI Platform.Process additions: The system compares the current user list with the directory user list. Any user in the directory user list who is not in the current user list (or is marked as
Inactivein CCAI Platform) is added to an "add" list.Process deactivations: Any user who is
Activein the current user list but is not in the directory user list is added to a "deactivate" list. Their status set toInactive.Process updates: For users who are
Activeand present in both lists, the system compares their current CCAI Platform teams and roles against the rules defined in theGroup Mappingssection. If there is a mismatch, the user is added to an "update" list with the correct assignments.Submit changes: The "add", "deactivate", and "update" lists are combined into a single payload and submitted to the Bulk user management API to apply all of the changes in a single operation.
Capabilities
The bulk user sync tool provides the following capabilities:
Automated synchronization: Set a schedule (hourly, daily, or custom cron) to automatically keep your users in sync.
Flexible mapping engine: Map directory groups to specific CCAI Platform teams and roles. A single directory group can grant multiple roles or a team assignment.
Simulation Mode: Run a "Simulate Only" sync to generate a report of all proposed changes (adds, updates, deactivations) without applying them. This capability allows the verification of rules before committing any live changes.