Lintel Security

← All tools

Google Workspace

Google Workspace · step-by-step setup · about 15 minutes

Lintel checks your Google Workspace admins, people who have left, 2-Step Verification, people from outside your organisation in your groups, inactive accounts and the third-party apps people let into their Google data, through Google's Admin SDK. You create a service account in your own Google Cloud project and allow it, through domain-wide delegation, to read your directory and audit log, acting as one of your admins. It works on every Google Workspace edition.

  1. Sign in to console.cloud.google.com with a Google Workspace super admin account. Create a project called lintel-connector (top bar → project picker → New project).
  2. APIs & Services → Library: search for Admin SDK API and select Enable.
  3. IAM & Admin → Service accounts → Create service account. Name it lintel-reader. Don't give it any roles in the project: skip the optional steps and select Done. Open it and note its Unique ID (a long number; Google also calls it the client ID).
  4. On the service account, Keys → Add key → Create new key → JSON. A key file downloads; keep it safe until step 6, then delete your copy.
    If Google says Service account key creation is disabled: new Google Cloud organisations block service account keys by default (policy iam.managed.disableServiceAccountKeyCreation, or iam.disableServiceAccountKeyCreation on older ones). Lift it for this project only: (a) with the organisation selected in the project picker, IAM & Admin → IAM → Grant access: give yourself Organisation Policy Administrator (a super admin doesn't have it by default); (b) with lintel-connector selected, IAM & Admin → Organisation policies → the policy above → Manage policy → Override parent's policy → Add a rule → Enforcement: Off → Set policy, and wait a minute or two; (c) create the key; (d) set the policy back to Inherit parent's policy. The block only stops new keys being made, so Lintel's key keeps working.
  5. Sign in to admin.google.com as a super admin. Security → Access and data control → API controls → Manage domain-wide delegation → Add new. Enter the service account's Unique ID and these scopes, all read-only, separated by commas:
    https://www.googleapis.com/auth/admin.directory.user.readonly,https://www.googleapis.com/auth/admin.directory.group.readonly,https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly,https://www.googleapis.com/auth/admin.directory.domain.readonly,https://www.googleapis.com/auth/admin.reports.audit.readonly
    Select Authorise.
  6. In Lintel, an organisation admin opens Settings → Connections → Add a tool → Google Workspace (your primary domain), pastes the whole key file and the email address of an admin for Lintel to act as, and selects Test and save. A super admin works: Lintel only receives the read-only scopes above, whoever it acts as.
Read-only, enforced. Before every scan, Lintel asks Google for tokens with scopes that can change things (managing users, groups, roles and security settings, Drive, Gmail, licences, Google Cloud). Google only grants a scope that your domain-wide delegation includes, so if it grants any of them, Lintel refuses the credential and doesn't store it. Lintel only ever sends GET requests to the Admin SDK, and never reads mail, files, chats or calendars.
CheckEvery edition
Super Admins and other admin roles, admin roles held by groups, suspended or inactive adminsYes
Admins and everyone else without 2-Step Verification, and whether it's enforcedYes
People from outside your organisation in your groups; shared or generic accountsYes
Inactive accounts (no sign-in for 90 days, or never)Yes
Third-party apps people let into Gmail, Drive, calendars or contacts (last 180 days)Yes (audit log)
Suspended accounts still holding admin rolesYes
People suspended in Google whose account in another connected tool is still open (single sign-on stops them signing in; their API tokens, keys and local passwords there don't go through it)Yes (detail mode)
Whether people can let any app into their data without an adminYou confirm it in Lintel (Google's API doesn't share this setting)

Removing access: delete the domain-wide delegation entry in the Admin console and the service account (or its key) in Google Cloud, and select Remove in Lintel's Settings → Connections.

This page reflects Google Cloud and the Google Admin console on 23 November 2026. If something doesn't match, email info@lintelsec.com and we'll update it.

Other pages: Atlassian Cloud · Microsoft Entra ID · Claude · Jira tickets · Slack