Google Workspace user provisioning
Google Workspace provisioning syncs learners from the Google Admin SDK Directory API. It is separate from Google SSO: SSO signs users in, while directory sync keeps learner records up to date.
Prerequisites
Section titled “Prerequisites”- You must be a Prventi organization owner or have permission to manage learners.
- You must be a Google Workspace administrator who can grant Admin SDK Directory API access.
- The Google Workspace account must allow third-party OAuth app consent for Prventi.
Prventi requests these read-only scopes:
https://www.googleapis.com/auth/admin.directory.user.readonlyhttps://www.googleapis.com/auth/admin.directory.orgunit.readonly
Connect Google Workspace
Section titled “Connect Google Workspace”- Open Settings > Team Provisioning in Prventi.
- In the Google Workspace panel, select Connect.
- Sign in with a Google Workspace administrator account.
- Review and approve the requested Admin SDK scopes.
- Prventi validates the connection by reading one directory user with admin view access.
After connection, the panel shows the connected admin email, Workspace domain, status, last sync time, and the last sync error if one occurs.
Sync behavior
Section titled “Sync behavior”Prventi imports Google Workspace users as learners. New learners are created as Pending and are not automatically invited.
Field mapping:
- Google
idbecomes the Prventi directory identity. - Google
primaryEmailbecomes the learner email. - Google
name.givenNameandname.familyNamebecome first and last name. - Google
organizations[].departmentbecomes department. - Google
organizations[].titlebecomes job title. - Google manager relation email becomes manager email and manager identifier.
Users missing a first name, last name, email, or Google id are skipped and recorded on the sync run.
Organizational unit filtering
Section titled “Organizational unit filtering”By default, Prventi syncs all users visible to the connected administrator. If organizational unit filtering is configured, Prventi syncs users in the selected OU paths and their child OUs.
Users removed from the selected OU scope are deactivated only when they are already linked to the Google Workspace directory identity. Manually managed learners are not deactivated by Google Workspace sync.
Deactivation rules
Section titled “Deactivation rules”Prventi deactivates linked learners when the Google user is suspended, archived, deleted, or no longer included in the configured OU scope. Prventi never destroys learners during directory sync.
If a learner was deactivated by Google Workspace sync and later appears as active again, Prventi reactivates the learner to Pending.
Manual sync
Section titled “Manual sync”Use Sync now from Settings > Team Provisioning to start a sync. The sync runs in the background and updates the Google Workspace panel when it completes or fails.
Disconnect
Section titled “Disconnect”Use Disconnect to disable future Google Workspace sync and remove stored OAuth tokens. Existing learners and directory identity links remain in Prventi for auditability.