Connect Google endpoint management (Workspace)
Read-only. MigAAP never changes anything in Google endpoint management (Workspace), and every API call it makes is recorded in your audit log.
Who needs to do this
A Google Workspace super administrator (to authorise domain-wide delegation).
Before you start
- Google Workspace or Cloud Identity with endpoint management.
- A Google Cloud project where you can create a service account.
Permissions MigAAP asks for — and why
admin.directory.device.mobile.readonly— List managed mobile devices (model, OS, serial, last sync).admin.directory.device.chromeos.readonly— List managed ChromeOS devices.
Steps
- Create a service account and a JSON key in your Google Cloud project; enable the Admin SDK API.
- Google Admin console > Security > API controls > Domain-wide delegation: add the service account's client ID with ONLY the two read-only scopes above.
- Create a read-only admin role for devices and choose an admin to act as.
- Paste the JSON key, admin email and (optional) customer ID here, then 'Save and test'.
Details you will enter
- Service account key (JSON)secret · encryptedWhy: Lets MigAAP sign short-lived read-only token requests on behalf of your Workspace. Only the two read-only device scopes are authorised for it. Stored encrypted.Where: Google Cloud console > IAM & Admin > Service accounts > your account > Keys > Add key > JSON.
- Admin to act asWhy: Google requires the service account to act as a Workspace admin. Use an admin whose role only allows reading devices.Where: Google Admin console > Account > Admin roles (create a 'Device read-only' role).
- Customer ID(optional)Why: Identifies your Workspace account. Leave empty to use 'my_customer' (the admin's own account).Where: Google Admin console > Account > Account settings > Customer ID.
What MigAAP reads
- Device model, OS, serial number, last sync, ownership
What MigAAP never reads or does
- Email, Drive or user content
- Device location
- Any wipe/approve action
Testing vs production
Test: a Workspace trial or an OU with test devices. Production: the same read-only scopes. You can delete the key after an evaluation.
How to revoke access
Remove the domain-wide delegation entry and delete the service account key.
Endpoints and scopes verified on developers.google.com (2026-10-23); device field names are assumptions until tested. Vendor documentation
Details you will enter
Service account key (JSON)secret — encrypted, never shown again
Why: Lets MigAAP sign short-lived read-only token requests on behalf of your Workspace. Only the two read-only device scopes are authorised for it. Stored encrypted.
Where to find it: Google Cloud console > IAM & Admin > Service accounts > your account > Keys > Add key > JSON.
Admin to act as
Why: Google requires the service account to act as a Workspace admin. Use an admin whose role only allows reading devices.
Where to find it: Google Admin console > Account > Admin roles (create a 'Device read-only' role).
Customer ID(optional)
Why: Identifies your Workspace account. Leave empty to use 'my_customer' (the admin's own account).
Where to find it: Google Admin console > Account > Account settings > Customer ID.
What MigAAP can read
| Item | Status |
|---|---|
| device.inventory.mobile | readable |
| device.inventory.chromeos | readable |
| device.inventory.windows_mac | unavailable — Cloud Identity device endpoints are planned. |
| policy.settings | unavailable — Workspace device policies are not exposed by these read APIs. |
Stuck? See support. Ready? Start a free audit.