The delegated scopes are read-only Admin SDK / Reports scopes. TigerGate can
never change Workspace settings, users, or sharing policies.
Before you start
In TigerGate, open Integrations → Cloud Providers → Google Workspace. You’ll fill in two values once the service account exists:| Value | What it is |
|---|---|
| Service Account JSON | The downloaded key file for the service account created below. |
| Admin Email | A Workspace admin account the service account impersonates via domain-wide delegation — Workspace’s Admin SDK only allows impersonating an existing super admin or delegated admin. |
1. Create the service account and delegate it
Create the service account in GCP
Authorize domain-wide delegation in the Admin Console
In the Google Admin Console → Security →
API Controls → Domain-wide Delegation → Add new, enter the service
account’s Client ID and these OAuth scopes:This step requires Workspace super admin access — it’s a domain setting,
not a GCP IAM setting.
2. Connect it in TigerGate
Paste the JSON key and admin email
In Integrations → Cloud Providers → Google Workspace, paste the full
contents of
tigergate-cspm-key.json into Service Account JSON, and
enter a Workspace admin’s email as Admin Email.Test
Click Test. This confirms that both Service Account JSON and
Admin Email are filled in — it does not yet run a live impersonation
round-trip against the Admin SDK. The service account, its domain-wide
delegation, and the authorized scopes are exercised for real when the
first scan runs, so make sure the delegation step above is complete
before scanning.
Troubleshooting
These surface when a scan runs — Test only checks that the fields are present, so credential problems appear on the first scan.| Scan error | Cause | Fix |
|---|---|---|
unauthorized_client / Client is unauthorized | Domain-wide delegation wasn’t authorized for this Client ID, or the scopes don’t match exactly | Re-check the Client ID and scope list in the Admin Console step |
Not Authorized to access this resource/api | The Admin Email isn’t a super admin or doesn’t have the delegated admin role covering these APIs | Use a super admin account, or grant a custom admin role with Reports + Directory read privileges |
| Service Account JSON is not valid JSON | Key file was truncated or edited when pasted | Re-download the key and paste the full file contents |
| Scan runs but few findings | Only some of the five scopes in step 2 were authorized | Re-add the full scope list in domain-wide delegation |