(Google) Configuring a Google Workspace
Configure a Google Workspace to connect Device Management to your Google Workspace tenant and begin syncing ChromeOS devices.
Before you begin
Before you configure a Google Workspace in Device Management, ensure you have the following:
-
Access to the Google Cloud Console with a project.
-
Permissions in Google Cloud to enable APIs, create service accounts, and create service account keys.
-
The Organization Policy Administrator and Editor roles in Google Cloud, if your organization blocks service account key creation by default.
-
Access to the Google Workspace Admin Console with the Super Admin or Device Admin role.
-
ChromeOS devices enrolled in your Google Workspace domain.
Set up a Google service account
Set up a service account in Google Cloud and authorize it in Google Workspace so that Device Management can sync devices and manage policies.
Step 1: Enable the required Google Cloud APIs
Enable the APIs that match the device types and features you want to manage:
-
Admin SDK API: Required to sync ChromeOS device inventory from Google Workspace.
-
Chrome Policy API: Required to manage Chrome policies on organizational units (OUs) and groups.
- Go to the Google Cloud Console and select your project.
- Go to .
- Search for each API by name, select it from the search results, and then click Enable.
Step 2: Create a service account
Create a dedicated service account that Device Management uses to access Google Workspace device data.
- In the Google Cloud Console, go to .
- Click Create Service Account.
- Enter a service account name (for example, google-device-sync) and a description that identifies the service account as the one that Device Management uses to sync Google devices.
- Click Create and Continue.
- Skip Grant this service account access to project and click Continue.
- Skip Grant users access to this service account and click Done.
Step 3: Create a JSON key for the service account
Generate a JSON key that Device Management uses to authenticate as the service account.
- In the service accounts list, click the service account you created.
- Click the Keys tab.
- Click .
- Select JSON and then click Create. The JSON key file downloads automatically.
Step 4: Enable domain-wide delegation in Google Cloud
Domain-wide delegation allows the service account to impersonate users in your Google Workspace domain.
- On the service account details page, expand Advanced settings.
- In the Domain-wide delegation section, select Enable Google Workspace Domain-wide Delegation.
- In Product name for consent screen, enter Tanium Device Management.
- Click Save. Google Cloud generates a Client ID for the service account.
- Copy the Client ID. You need it in the next step.
Step 5: Authorize the service account in Google Workspace
Authorize the service account to access Google device data in your Google Workspace domain.
Step 6: Prepare credentials for Device Management
You now have everything you need to create the Google Workspace in Device Management. When you create the workspace, you provide the following:
-
Service Account JSON: The entire contents of the JSON key file that you downloaded in Step 3.
-
Admin Email: A Google Workspace admin email address that the service account impersonates.
- Service Account JSON
-
When you open the downloaded JSON key file in a text editor, the contents look like the following example:
{
"type": "service_account",
"project_id": "your-project-id",
"private_key_id": "abc123...",
"private_key": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n",
"client_email": "google-device-sync@your-project.iam.gserviceaccount.com",
"client_id": "106584026335185594283",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/..."
}
- Admin Email
-
The admin email address must meet the following requirements:
-
Be a valid Google Workspace user in your domain.
-
Have the Super Admin or Device Admin role.
-
Have permission to view devices in the Google Workspace Admin Console for the device types that you want to manage.
-
For example: admin@yourdomain.com or device-admin@yourdomain.com.
Create a Google Workspace
After saving, Device Management begins an initial ChromeOS device sync. The sync interval adjusts automatically based on the number of devices in the workspace.
Edit a Google Workspace
- From the Main menu, go to .
- Click the name of the workspace you want to edit.
- Update the workspace name, service account JSON file, or administrator email address as needed.
- Click Save.
Perform a manual sync
Device data syncs automatically on a periodic schedule. To sync immediately, perform a manual sync.
- From the Main menu, go to .
- In the row for the workspace you want to sync, click Sync
.
Delete a Google Workspace
- From the Main menu, go to .
- In the row for the workspace you want to delete, click Delete
.
- Click Confirm.
iOS, iPad, iPadOS, iPhone, Mac, and macOS are trademarks of Apple Inc., and registered in the U.S. and other countries and regions.
Android, ChromeOS, and Google are trademarks of Google LLC.