Join our Newsletter — 33% off our NHI Course
Home› Guides› Google Workspace OAuth Scopes Risk Reference: Which Scopes…
Guide SaaS & OAuth Integrations

Google Workspace OAuth Scopes Risk Reference: Which Scopes Need Review

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 14 min read
On this page

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 descriptionGoogle classRiskNarrower option or control
https://mail.google.com/Read, compose, send and permanently delete all emailRestrictedCriticalgmail.readonly or gmail.metadata; see Gmail Full Access Scope (mail.google.com)
gmail.modify / gmail.readonlyRead, compose and send without permanent delete / View your email messages and settingsRestrictedHighgmail.metadata if bodies are not needed
gmail.settings.sharingManage your sensitive mail settings, including who can manage your mailRestrictedCriticalTrusted only; can add delegates and forwarding
gmail.sendSend email on your behalfSensitiveHighApprove only for named mail-merge or ticketing tools
driveSee, edit, create, and delete all of your Google Drive filesRestrictedCriticaldrive.file with the Google Picker; see Google Drive Full Scope
drive.readonlySee and download all your Google Drive filesRestrictedHighdrive.file
drive.metadata / drive.metadata.readonlyView and manage, or view, file metadataRestrictedMediumFile names and sharing data still reveal a lot; restrict with Drive
drive.scriptsModify the behaviour of Google Apps Script projectsRestrictedHighTreat as code execution
calendarSee, edit, share, and permanently delete all the calendars you can accessNot on the Gmail or Drive high-risk listsMediumcalendar.events.readonly where read is enough
chat.messagesSee, compose, send, update, and delete messages as well as their message contentNot on the high-risk listsHighSpecific Google data with read-only Chat scopes
admin.directory.userView and manage the provisioning of users on your domainAdmin SDKCriticaladmin.directory.user.readonly for reporting tools
admin.directory.user.securityManage data access permissions for users on your domainAdmin SDKCriticalCovers listing and deleting users' tokens; security tooling only
admin.directory.groupView and manage the provisioning of groups on your domainAdmin SDKHighGroup membership drives Drive and app access
admin.datatransferView and manage data transfers between users in your organizationAdmin SDKHighMoves Drive and other data ownership between users
ediscoveryManage your eDiscovery dataVault APICriticalVault exports reach held mail and files; legal tooling only
cloud-platformSee, edit, configure, and delete your Google Cloud dataCloud APIsCriticalProduct-specific Cloud scopes; IAM limits the effect
script.projectsCreate and update Google Apps Script projectsApps Script APIHighCode 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.

ClassExamples from GoogleWhat Google requires of the developerWhat it tells an admin
Non-sensitivedrive.file, drive.appdata, drive.install, Google sign-in scopesNo sensitive or restricted scope reviewPer-file or sign-in access; the preferred design
Sensitivegmail.send, drive.apps.readonly, reading Calendar events, storing a contactSensitive scope verification before public availability (Google says the review can take up to 10 days), unless an exception appliesReal user data, but narrower than restricted
Restrictedmail.google.com, gmail.readonly, gmail.modify, gmail.metadata, drive, drive.readonly, drive.metadataRestricted scope verification; apps that store or transmit restricted-scope data on servers must also pass a security assessmentBroad 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 settingEffect (Google's definition)Use it for
TrustedCan request all Google data, including restricted scopes, overriding service restrictionsReviewed apps with a named owner that genuinely need high-risk scopes
LimitedCan request only unrestricted Google servicesLow-risk apps once Gmail and Drive are restricted
Specific Google dataCan request only the OAuth scopes you specify; the Google sign-in scope must be includedApps that need one narrow scope, such as calendar read
BlockedCannot access any Google service, and users cannot sign in to it with their managed accountUnapproved 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

  1. 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.
  2. Decide the keepers: for each app holding a table scope, record a business owner and set Trusted, Specific Google data or Blocked.
  3. 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.
  4. 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.
  5. 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.

EventKey parametersWhat to look for
authorizeapp_name, client_id, client_type, scopeAny grant of a scope from the high-risk table, especially by an admin account
requestapp_name, requester_email, scopeDemand for blocked apps; spikes can indicate a consent phishing campaign
denyrejection_type (admin block, restricted scope block, Context-Aware Access block)Confirms restrictions work; repeated denies for one client ID merit a look
revokeclient_id, scopeRevocations you did not initiate, or a revoke followed by a fresh authorize
activityapi_name, method_name, num_response_bytes, product_bucketLarge 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

FrameworkReferenceHow this page applies it
NIST SP 800-53 Rev 5AC-6 Least Privilege; AC-3 Access EnforcementNarrow scopes, Specific Google data, restricted services
NIST SP 800-53 Rev 5CM-7 Least Functionality; SA-9 External System ServicesDefault-deny for unconfigured apps; vendor review before trust
NIST SP 800-53 Rev 5AU-6 Audit Record Review, Analysis, and ReportingOAuth log event review and alerting
NIST CSF 2.0PR.AA-05; GV.SC-07; DE.CM-09Scope recertification; third-party app risk; monitoring grants and API use
MITRE ATT&CK v20T1528; T1550.001; T1671; T1566.002Token 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

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

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.