Granting Additional Permissions for Google Service Accounts
Grant the service account domain-wide delegation so it can read Google Workspace directory data. Complete this task before you create the discovery source in the Delinea Platform.
-
Go to the Google Workspace Admin Console: admin.google.com.
-
Navigate to Security > Access and Data Control > API Controls. Under Domain-wide Delegation, select Manage Domain-wide Delegation.
-
Select Add New.
-
Client ID: Enter the service account's Unique ID that you copied during setup.
-
OAuth scopes: Enter the following scopes, separated by commas, and then save.
If an entry for the service account already exists, select it, select Edit, and add the scopes.
-
https://www.googleapis.com/auth/cloudplatformorganizations.readonly,
https://www.googleapis.com/auth/admin.directory.customer.readonly,
https://www.googleapis.com/auth/admin.directory.domain.readonly,
https://www.googleapis.com/auth/admin.directory.group.member.readonly,
https://www.googleapis.com/auth/admin.directory.group.readonly,
https://www.googleapis.com/auth/admin.directory.notifications,
https://www.googleapis.com/auth/admin.directory.orgunit.readonly,
https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly,
https://www.googleapis.com/auth/admin.directory.user.readonly,
https://www.googleapis.com/auth/admin.directory.userschema.readonly,
https://www.googleapis.com/auth/admin.reports.audit.readonly,
https://www.googleapis.com/auth/cloud-platform.read-only
Troubleshooting
Domain-wide Delegation Is Not Visible in the Admin Console
Cause: Your Google Workspace admin role does not include access to security settings.
Solution: Ask a Google Workspace administrator with security settings access to complete this task. The path is Security > Access and Data Control > API Controls.