Every third-party app a Google Workspace user approves keeps an OAuth grant to the scopes it asked for, and a few of those scopes amount to standing access to a whole mailbox, a whole Drive or the directory itself. Admins reviewing app requests need to know which scope strings carry that weight, how Google classifies them, and which Admin console settings decide whether an untrusted app can obtain them at all. This reference lists the Workspace scopes that should always trigger review, maps them to Google's sensitive and restricted categories, explains the app access control settings under API controls, and shows how to use OAuth log events to catch risky grants. It is written for Workspace administrators and the identity and security teams who support them.
This is an independent guide from NHI Mgmt Group, based on Google's public Workspace admin documentation as of November 2026. It is not sponsored or reviewed by Google. Product features change, so confirm settings against Google's current documentation.
Key takeaways
- Gmail and Drive scopes carry the most weight. Google classes the broad Gmail scopes and the full Drive, Drive read-only and Drive metadata scopes as restricted, and the Admin console has a predefined high-risk list for exactly these two services.
- Admin SDK and cloud-platform scopes are administrator credentials. A grant of admin.directory.user, admin.directory.user.security or admin.datatransfer to an app run by an administrator lets that app change users, tokens or data ownership across the domain.
- Restricting a service is the strongest single control. Setting Gmail or Drive to Restricted under Manage Google Services blocks new high-risk grants to untrusted apps and revokes the tokens untrusted apps already hold.
- Default-deny for unconfigured apps turns consent into a request queue. Once unconfigured apps are blocked or limited to sign-in, user attempts land in Apps pending review, where you choose Trusted, Limited, Specific Google data or Block.
- OAuth log events are the record of every grant. Authorize, request, deny, revoke and activity events show who granted which scopes to which client ID, and Google keeps them for six months, so export them if you need a longer history.
How Workspace OAuth scopes work
A scope is a string, usually a URL such as https://www.googleapis.com/auth/drive.readonly, that names the data and operations an app may use on a Google API. When a user approves the consent screen, Google issues tokens limited to the approved scopes, and the app can keep calling the API with them until the grant is revoked. The grant is tied to the app's OAuth client ID, which is the identifier that access settings, per-user token lists and log events all share. In identity terms each grant is a non-human identity acting on a user's behalf; see the Non-Human Identity (NHI) Guide.
Three access routes exist in a Workspace tenant, and each needs its own review:
- User consent: a user approves an app for their own data. Reach is limited to that user, but a popular app can collect thousands of grants.
- Admin-granted access through API controls: marking an app Trusted lets it request all Workspace scopes, including restricted ones, for users in the chosen organisational units.
- Domain-wide delegation: a super administrator authorises a service account or OAuth client to reach every user's data without per-user consent. Google calls this a high-impact grant. It does not appear as per-user consent, so review it separately; see How to audit Google Workspace domain-wide delegation grants and the Google Workspace Domain-Wide Delegation Security Guide.
Admin SDK scopes deserve a specific note. They grant nothing to an ordinary user, because the API checks the caller's own admin privileges. When an administrator approves an app requesting them, the app inherits that administrator's reach. A super admin who clicks Allow on a reporting tool asking for admin.directory.user has handed that vendor the ability to create, suspend and modify accounts.
High-risk scopes at a glance
Scope descriptions below are Google's own wording from its scope reference and API documentation. The risk rating is NHI Mgmt Group's, based on breadth, write or delete rights and the ability to change security settings; Google's classification is given where Google publishes one.
| Scope (prefix https://www.googleapis.com/auth/ unless shown) | Google's description | Google class | Risk | Narrower option or control |
|---|---|---|---|---|
| https://mail.google.com/ | Read, compose, send and permanently delete all email | Restricted | Critical | gmail.readonly or gmail.metadata; see Gmail Full Access Scope (mail.google.com) |
| gmail.modify / gmail.readonly | Read, compose and send without permanent delete / View your email messages and settings | Restricted | High | gmail.metadata if bodies are not needed |
| gmail.settings.sharing | Manage your sensitive mail settings, including who can manage your mail | Restricted | Critical | Trusted only; can add delegates and forwarding |
| gmail.send | Send email on your behalf | Sensitive | High | Approve only for named mail-merge or ticketing tools |
| drive | See, edit, create, and delete all of your Google Drive files | Restricted | Critical | drive.file with the Google Picker; see Google Drive Full Scope |
| drive.readonly | See and download all your Google Drive files | Restricted | High | drive.file |
| drive.metadata / drive.metadata.readonly | View and manage, or view, file metadata | Restricted | Medium | File names and sharing data still reveal a lot; restrict with Drive |
| drive.scripts | Modify the behaviour of Google Apps Script projects | Restricted | High | Treat as code execution |
| calendar | See, edit, share, and permanently delete all the calendars you can access | Not on the Gmail or Drive high-risk lists | Medium | calendar.events.readonly where read is enough |
| chat.messages | See, compose, send, update, and delete messages as well as their message content | Not on the high-risk lists | High | Specific Google data with read-only Chat scopes |
| admin.directory.user | View and manage the provisioning of users on your domain | Admin SDK | Critical | admin.directory.user.readonly for reporting tools |
| admin.directory.user.security | Manage data access permissions for users on your domain | Admin SDK | Critical | Covers listing and deleting users' tokens; security tooling only |
| admin.directory.group | View and manage the provisioning of groups on your domain | Admin SDK | High | Group membership drives Drive and app access |
| admin.datatransfer | View and manage data transfers between users in your organization | Admin SDK | High | Moves Drive and other data ownership between users |
| ediscovery | Manage your eDiscovery data | Vault API | Critical | Vault exports reach held mail and files; legal tooling only |
| cloud-platform | See, edit, configure, and delete your Google Cloud data | Cloud APIs | Critical | Product-specific Cloud scopes; IAM limits the effect |
| script.projects | Create and update Google Apps Script projects | Apps Script API | High | Code that runs as the user |
Two rules help when a scope is not in the table. A scope that lets an app change who can access data (mail delegation, group membership, user tokens, Drive ownership) is an administrator credential whatever its label. A scope with write or delete rights on content is a ransom and evidence-destruction risk, not only a confidentiality risk. MITRE ATT&CK tracks token theft as T1528 Steal Application Access Token, use of stolen tokens as T1550.001 Application Access Token, and abuse of app integrations for persistence as T1671 Cloud Application Integration.
Restricted and sensitive scope categories
Google classifies every scope as non-sensitive, sensitive or restricted. The classification drives what the app's developer must do before the app can be used publicly. It is a developer-side control, separate from the admin settings in the next section.
| Class | Examples from Google | What Google requires of the developer | What it tells an admin |
|---|---|---|---|
| Non-sensitive | drive.file, drive.appdata, drive.install, Google sign-in scopes | No sensitive or restricted scope review | Per-file or sign-in access; the preferred design |
| Sensitive | gmail.send, drive.apps.readonly, reading Calendar events, storing a contact | Sensitive scope verification before public availability (Google says the review can take up to 10 days), unless an exception applies | Real user data, but narrower than restricted |
| Restricted | mail.google.com, gmail.readonly, gmail.modify, gmail.metadata, drive, drive.readonly, drive.metadata | Restricted scope verification; apps that store or transmit restricted-scope data on servers must also pass a security assessment | Broad mailbox or Drive reach; candidates for the admin high-risk restriction |
Verification does not mean an app is safe for your tenant. Google lists exceptions that skip verification, including apps in Testing status with listed test users, apps for personal use, service accounts that only reach their own data, and Internal apps used only inside your own Workspace or Cloud Identity organisation. Unverified apps show an unverified app screen and a user cap. An Internal app built by an employee can therefore hold restricted scopes with no external review at all, which is why the Trust internal apps setting deserves a deliberate decision.
Google's Drive documentation adds a useful test for reviewers: restricted Drive scopes are meant for backup and sync, productivity and education, and reporting and security apps. An app outside those uses that asks for full Drive deserves a question about why drive.file with the Google Picker will not do.
Governing third-party apps
All the settings below sit under Admin console > Security > Access and data control > API controls, and need the Service Settings administrator privilege. Google says changes can take up to 24 hours.
App access levels
| Access setting | Effect (Google's definition) | Use it for |
|---|---|---|
| Trusted | Can request all Google data, including restricted scopes, overriding service restrictions | Reviewed apps with a named owner that genuinely need high-risk scopes |
| Limited | Can request only unrestricted Google services | Low-risk apps once Gmail and Drive are restricted |
| Specific Google data | Can request only the OAuth scopes you specify; the Google sign-in scope must be included | Apps that need one narrow scope, such as calendar read |
| Blocked | Cannot access any Google service, and users cannot sign in to it with their managed account | Unapproved or retired apps, and apps under investigation |
Settings that set the default
- Manage Google Services: set each service to Unrestricted or Restricted. Restricting a service stops untrusted apps that were already installed and revokes their tokens, and blocks new installs requesting its restricted scopes. Restricting Drive also restricts the Google Forms API. An optional checkbox lets untrusted apps still receive scopes that are not classified as high-risk.
- High-risk scope lists: for Gmail, the restriction covers full mail access, compose, insert, metadata, modify, readonly, send and the basic and sharing settings scopes. For Drive it covers full Drive, apps read-only, metadata, readonly, scripts and documents.
- Unconfigured third-party apps: "Don't allow users to access any third-party apps" blocks every scope including sign-in for apps you have not configured; "Allow users to access third-party apps that only ask for Google sign-in info" permits sign-in only. Education editions use different labels and do not offer the sign-in-only option.
- Trust internal apps: trusts every app owned by your organisation for restricted APIs. Leave it off unless internal apps have their own review.
- Apps pending review: once unconfigured apps are blocked, users' attempts are queued, sorted by request count, with the requesting organisational units and the data the app asked for. Configure access for up to 10 organisational units at a time, or use CSV bulk update. Unconfigured requests drop off the list after six months. Google states the request queue is not available in Workspace for Education.
Rollout order
- Inventory first: export the accessed apps list and per-user tokens, then key every app by client ID. How to Inventory third party oauth apps in google workspace gives the method. Remember that the accessed apps list updates 48 hours after a grant or revocation.
- Decide the keepers: for each app holding a table scope, record a business owner and set Trusted, Specific Google data or Blocked.
- Pilot the restriction: restrict Gmail and Drive for an IT organisational unit first, watch deny events and the pending review queue for a week, then widen.
- Change the default: set unconfigured apps to sign-in only or block, and staff the review queue with a response time users can rely on.
- Roll back safely: if a business process breaks, mark that one app Trusted or Specific Google data rather than unrestricting the service; an app can be returned to unconfigured by CSV.
Small tenants can usually block unconfigured apps outright and trust a short list. Large tenants with many departments do better starting at sign-in only, with a published turnaround for requests, so that blocked users do not fall back to personal accounts. The wider programme of ownership and recertification is in the SaaS and OAuth App Governance Guide.
Detecting risky grants
OAuth log events are in Reporting > Audit and investigation > OAuth log events (Audit & Investigation privilege), and in the security investigation tool on supported editions. The same data is in the Reports API as applicationName=token.
| Event | Key parameters | What to look for |
|---|---|---|
| authorize | app_name, client_id, client_type, scope | Any grant of a scope from the high-risk table, especially by an admin account |
| request | app_name, requester_email, scope | Demand for blocked apps; spikes can indicate a consent phishing campaign |
| deny | rejection_type (admin block, restricted scope block, Context-Aware Access block) | Confirms restrictions work; repeated denies for one client ID merit a look |
| revoke | client_id, scope | Revocations you did not initiate, or a revoke followed by a fresh authorize |
| activity | api_name, method_name, num_response_bytes, product_bucket | Large response volumes, unfamiliar IP ASN, apps calling APIs long after their owner left |
Two limits shape the design. API call (activity) events are only available on Enterprise Plus, Education Plus, Enterprise Standard, Education Standard and Cloud Identity Premium; on other editions you see grants and revocations but not usage. Google keeps OAuth token log events for six months and they can take a few hours to appear, so forward them to Cloud Logging or your SIEM if you need longer retention or faster alerting. Reporting rules in the audit and investigation tool can alert on log events, but the Scope and Product attributes cannot be used in reporting rules, so scope-based alerts are better built in the SIEM. For rule ideas across all Workspace logs, see the Google Workspace Audit Log Detection Guide.
Metrics that show the controls work:
- Share of apps holding a high-risk scope that have a named owner and access setting (target 100 percent).
- Number of untrusted apps holding restricted Gmail or Drive scopes (target zero after restriction).
- Median time to decide a pending review request.
- Count of high-risk authorize events per month, and the share made by admin accounts.
- Domain-wide delegation clients reviewed in the last 90 days.
Framework mapping
| Framework | Reference | How this page applies it |
|---|---|---|
| NIST SP 800-53 Rev 5 | AC-6 Least Privilege; AC-3 Access Enforcement | Narrow scopes, Specific Google data, restricted services |
| NIST SP 800-53 Rev 5 | CM-7 Least Functionality; SA-9 External System Services | Default-deny for unconfigured apps; vendor review before trust |
| NIST SP 800-53 Rev 5 | AU-6 Audit Record Review, Analysis, and Reporting | OAuth log event review and alerting |
| NIST CSF 2.0 | PR.AA-05; GV.SC-07; DE.CM-09 | Scope recertification; third-party app risk; monitoring grants and API use |
| MITRE ATT&CK v20 | T1528; T1550.001; T1671; T1566.002 | Token theft, token use, integration persistence and consent phishing links |
Practitioner checklist
- Export the accessed apps list and per-user tokens, keyed by client ID, and repeat on a schedule.
- Flag every app holding a scope from the high-risk table and assign it a business owner.
- Set Gmail and Drive to Restricted, after an organisational unit pilot, and trust only reviewed apps.
- Use Specific Google data for apps that need one narrow scope instead of Trusted.
- Change unconfigured third-party apps to sign-in only or block, and staff Apps pending review.
- Decide Trust internal apps deliberately and review Internal apps holding restricted scopes.
- Review domain-wide delegation clients and Admin SDK grants at least quarterly; remove unused scopes and clients.
- Forward OAuth log events to the SIEM and alert on high-risk authorize events and admin-account grants.
- Revoke and block apps whose owner has left or whose vendor reports a token compromise; see How to revoke a malicious or risky OAuth app across Google Workspace and block it.
Standards and references
- Google Workspace Admin Help: Control which third-party and internal apps access Google Workspace data
- Google Workspace Admin Help: Review and manage third-party app access requests
- Google for Developers: OAuth 2.0 Scopes for Google APIs
- Google for Developers: Choose Google Drive API scopes
- Google for Developers: Sensitive scope verification
- Google Workspace Admin Help: OAuth log events
- Google for Developers: Reports API token activity events
- Google Workspace Admin Help: Control API access with domain-wide delegation
Related NHI Mgmt Group resources: Google Workspace Security Guide · How to Inventory third party oauth apps in google workspace · Google Workspace Domain-Wide Delegation Security Guide · SaaS and OAuth App Governance Guide