A stolen Google Workspace password or session works from any browser on any network unless you tell Workspace which devices and locations are acceptable. Context-Aware Access is the Admin console feature that does this: it checks attributes such as IP address, country, device encryption, OS version and company ownership before letting a user into Gmail, Drive, the Admin console or a SAML app. This guide is the hands-on setup procedure: licensing checks, collecting device signals, building context conditions in Basic and Advanced mode, writing policies, running them in Monitor mode, reading the log events and switching to Active without locking people out. It is written for Workspace administrators and identity engineers who already know the tenant-wide baseline. For that baseline see the Google Workspace Security Guide.
Key takeaways
- Licensing decides coverage. Google states that users without a supported edition are not subject to Context-Aware Access policies, even when their organisational unit or group has one assigned.
- Device signals come first. Desktop device checks rely on Chrome with the Endpoint Verification extension, and mobile checks on Google endpoint management, so deploy those before writing any device-based condition.
- Monitor mode is the default for a reason. Google recommends leaving a new policy in Monitor mode for at least one week and reviewing "Access Denied (Monitor mode)" events before setting it to Active.
- Conditions combine in a specific way. Several conditions selected in one policy act as a logical OR; to require several attributes together, put them in one condition, where they are combined with AND.
- Service accounts are out of scope. Policies apply to end-user accounts, not Google API service accounts, so non-human access needs its own controls such as scoped delegation and key removal.
What Context-Aware Access checks and where it applies
Context-Aware Access has two building blocks. A context condition (called an "access level" in older Admin console screens and documentation) is a reusable set of attributes a user or device must meet. A policy applies one or more context conditions to selected apps for an organisational unit (OU) or configuration group, with an action of Block or Warn. Google evaluates core Workspace services continuously, so a user who moves to a network or country outside the condition is re-checked, while SAML apps are checked only at sign-in.
| Access path | What is covered | Practical note |
|---|---|---|
| Web on desktop and mobile | Calendar, Drive and Docs (Sheets, Slides, Forms), Gmail, Meet, Chat, Keep, Sites, Tasks, Vault, Groups for Business, Gemini, Cloud Search, the Admin console and others listed by Google | Continuous evaluation for core services |
| Built-in mobile apps | Most core services, except Vault, Groups for Business and Sites | Requires Google endpoint management (Basic or Advanced) for device attributes |
| Built-in desktop apps | Drive and Docs through Google Drive for desktop | Other desktop clients are reached through the API settings in the policy |
| SAML apps | Third-party SAML apps, including those federated through another IdP | Checked at sign-in only; device conditions are met only through Chrome with Endpoint Verification |
| Third-party native mobile apps | Not enforceable, according to Google | Use the SaaS provider's own controls or your IdP |
Supported editions, as listed by Google in November 2026, are Frontline Standard and Plus, Enterprise Standard and Plus, Education Standard and Plus, Enterprise Essentials Plus and Cloud Identity Premium. Confirm the list against Google's page when you plan, because editions change. A mixed-licence tenant leaves the users on other editions unprotected, which is a common audit finding.
Before you start: privileges, devices and inventory
An admin needs to be a super admin, or hold the privileges Data Security > Access level management, Data Security > Rule management, Admin API Privileges > Groups > Read and Admin API Privileges > Users > Read. Create a dedicated custom admin role with exactly these privileges for the people running the rollout rather than using super admin accounts day to day.
- Turn on device signals: in Devices > Mobile & endpoints > Settings > Universal > Data access > Device signals, check "Collect device signals using endpoint verification". Google notes it is usually on by default; confirm it for every OU.
- Force-install Endpoint Verification: in Devices > Chrome > Apps & extensions > Users & browsers, add the extension by ID, allow access to keys and enterprise challenge under Certificate management, and set the policy to Force install. Changes can take up to 24 hours. Supported desktop platforms include Windows 10 and 11, macOS 10.11 and later, ChromeOS 110 and later, and Debian and Ubuntu Linux on CPUs with AES instructions.
- Enrol mobile devices: put phones and tablets under Basic or Advanced management. Google warns that Basic management can take several days to sync OS and encryption status, so enrol well before a device condition goes Active.
- Load company-owned inventory: if a condition will require company-owned devices, upload serial numbers. Android 12 and later devices with a work profile are always reported as user-owned, so a company-owned condition will not match them.
- Approve or block devices: if you plan to require admin approval, decide who approves and how fast, because pending devices will be denied.
- Check the device view: in Devices > Overview > Endpoints, filter on Management Type = Endpoint Verification to see which users already report signals. Users who have not signed in to Endpoint Verification are denied by a device condition until they do.
On Windows, Google advises keeping the Google Chrome Elevation Service running so that App-Bound Encryption works. Install the Endpoint Verification helper app only where needed (for example certificate-based access or partner integrations), since Google notes it can stop Linux or Windows devices that already report from reporting.
Build context conditions
Create conditions under Security > Access and data control > Context-Aware Access, then View all policies and Create new conditions. Basic mode is a form builder; Advanced mode takes a Common Expression Language (CEL) expression, a small expression language, for attributes Basic mode does not offer such as certificate-based or partner signals.
| Basic mode attribute | What it checks | Watch out for |
|---|---|---|
| IP subnet (Public) | IPv4 or IPv6 CIDR ranges | Private ranges are not accepted; Safari with iCloud Private Relay hides the device IP, so IP conditions deny those users |
| IP subnet (Private) | Private subnets in Google Cloud VPC networks | Needs Compute Engine network viewer permissions; cannot be mixed with public IP attributes in one condition |
| Location | Country or region of origin | ISP address changes can briefly misplace users and block them |
| Device policy | Admin approval, company-owned, screen lock, encryption status | On Windows the screen lock check confirms the sign-in screen appears after inactivity, not that a password exists |
| Device OS | macOS, Windows, Linux, ChromeOS, iOS, Android, with optional minimum version (major.minor.patch) | Minimum versions need upkeep as vendors release updates |
| Context condition | Reuses an existing condition | Nesting is how you go past ten conditions in one policy |
Each condition is set to Meet attributes or Don't meet attributes; the inverse is mostly used to exclude IP ranges. A sample Advanced mode expression, adapted from Google's documentation, that requires an encrypted device in the United States:
1 Sample only, based on the public documentation cited. Assess it independently against the current official documentation, test outside production and back up first.
device.encryption_status == DeviceEncryptionStatus.ENCRYPTED && origin.region_code in ["US"]Three rules save most troubleshooting. First, editing a condition changes every active policy that uses it immediately, so version conditions by name (for example corp-device-v2) and swap them in policies rather than editing live ones. Second, if you only use Workspace, do not edit conditions in the Google Cloud console: Google warns this can raise the "Unsupported attributes are being used on Google Workspace" error and block users. Third, Google advises against blocking internal IP addresses.
Create the policy
- Go to Security > Access and data control > Context-Aware Access and, under Policies, choose Create new policy. Context-Aware Access must be turned on; until it is, assignments are not enforced, and turning it on enforces Active policies straight away.
- Leave Policy status on Monitor (the default).
- Under User conditions, pick the pilot OU or configuration group. Google notes that groups override OUs.
- Under Context conditions, select one or more conditions (OR between them).
- Under Apps, select the target apps. Google points out dependencies: Gmail relies on the Calendar, Drive and Meet APIs, so include them or Gmail features break.
- Under Action, choose Block, or Warn where you want users told rather than stopped during a transition.
- Under Policy settings, keep the recommended box that applies the policy to native desktop, Android, iOS and web apps. Consider the option that blocks other apps from reaching the selected apps through APIs, and exempt only apps already marked trusted in App Access Control. Google notes that applying a policy to an app does not on its own block its API.
- Read the "What will this policy do?" summary, then Create policy.
Google also offers recommended policies (View recommendations), which are created in Monitor mode, and emails super admins policy recommendations every 90 days. Treat them as a starting point, not a design.
Choosing Block, Warn or Monitor
| Setting | User experience | Use when |
|---|---|---|
| Monitor (status) | No change; denials logged as Monitor mode events | Every new or changed policy, for at least a week |
| Active with Warn | User is warned but continues; remediation steps shown | Device hygiene campaigns (OS updates, screen lock) before hard enforcement |
| Active with Block | Access denied until the condition is met | Admin console, sensitive data apps, unmanaged-device restrictions |
Policy patterns that work
- Managed device for sensitive apps: require encryption plus admin approval or company ownership for Drive, Vault and finance SAML apps; allow web Gmail from any device with Warn. Smaller organisations without device inventory can start with encryption and minimum OS version only.
- Country allow list: a Location condition for the countries staff work in, with an exception group for travellers. Expect false denials from ISP geolocation changes and plan a fast help desk path.
- Corporate egress for administrators: a public IP subnet condition for VPN or office egress, applied to the Admin console. Google advises creating an Admin console policy only when you need to limit admin access, checks at save time that you meet a condition, and recovery from a total lockout requires Google support to remove Admin console policies. Keep one super admin in a configuration group outside the policy and confirm that person can reach the support portal.
- SAML apps through Workspace: one policy for all SAML apps gives a sign-in time gate for apps that use Workspace as IdP. Session lifetime in the SaaS app then decides how long a user stays in after conditions change.
- Agent and automation access: Drive backup, migration and eDiscovery tools are blocked from IPs or devices outside policy unless their subnets are allowed or their service accounts exempted. Inventory those tools first. See the How to audit Google Workspace domain-wide delegation grants guide for the service accounts behind them.
Turn on Remediation messages under General settings > View settings, and add a custom message with your help desk link. Messages tell users which step to take (set a screen lock, update the OS), but they do not change access decisions and do not cover denials caused by device policies.
Where identity fits
Context-Aware Access hardens human sessions; it does not touch service account access through Google APIs. That gap matters because session theft (ATT&CK T1539 Steal Web Session Cookie, then T1550.004 Web Session Cookie) and valid cloud account abuse (T1078.004 Cloud Accounts) are exactly what device and network conditions limit, while an over-scoped service account with domain-wide delegation bypasses them. Pair this rollout with the Google Workspace Domain-Wide Delegation Security Guide and enforce strong sign-in with the Google Workspace 2-Step Verification and Passkey Enforcement Guide. If you federate sign-in to another IdP, device checks there and here should agree; see Google Workspace SSO With a Third-Party IdP.
Monitor, switch to Active and roll back
- Pilot: apply to an IT pilot group and lightly used apps first, as Google recommends, then widen to heavily used apps.
- Review Monitor results: in Reporting > Audit and investigation > Context Aware Access log events, filter Event = Access Denied (Monitor mode) and group by Actor, Application, Context condition unsatisfied and Device state. Entries usually appear within an hour; the default view is the last 7 days.
- Fix the causes: "No device signals" usually means Endpoint Verification is missing or the user is not signed in; "Out of sync" points to mobile management sync; unexpected IP denials point to VPN split tunnelling or Private Relay.
- Activate in rings: edit the policy, change status from Monitor to Active, and expand the target group in steps. Keep the help desk briefed.
- Roll back: setting a policy back to Monitor or deleting it stops enforcement; Google states deleted policies and conditions stop applying immediately, while turning the whole feature off can take up to 24 hours. Prefer reverting the single policy.
Detection and measurement
The log events carry Event, Policy applied, Context condition satisfied and unsatisfied, Application, Protected and Blocked API access, Device ID, Device state, IP address, IP ASN (added as a column), Actor and OU, plus agent fields when the actor is an agent. Build reporting rules for: Access Denied spikes for one user across many countries (possible stolen credentials), denials on the Admin console, "Access Denied Internal Error" events, and edits to policies and conditions in the Admin log. Google notes that denials can appear for users who never saw a block page, often because of secondary accounts or devices, so do not treat every entry as an incident. Send the logs to your SIEM; see the Google Workspace Audit Log Detection Guide.
- Coverage: percentage of licensed users in an OU or group with at least one Active policy.
- Signal health: percentage of desktop devices reporting through Endpoint Verification.
- Monitor-to-Active time: days each policy spent in Monitor before enforcement (target at least 7).
- False denial rate: help desk tickets per 1,000 users in the first two weeks after activation.
- Exception count: users and service accounts exempted, reviewed quarterly, trending down.
Framework mapping
| Framework | Reference | How this setup supports it |
|---|---|---|
| NIST CSF 2.0 | PR.AA-03, PR.AA-05, DE.CM-03 | Authenticated users and hardware, policy-enforced access, monitoring of denials |
| NIST SP 800-53 Rev 5 | AC-3, AC-17, AC-19, CM-8, AU-6 | Access enforcement, remote and mobile access conditions, device inventory, log review |
| CIS Controls v8.1 | Control 1 (Inventory of Enterprise Assets), Control 6 (Access Control Management) | Device inventory feeds company-owned conditions; conditions enforce access rules |
| ISO/IEC 27001:2022 Annex A | A.5.15 Access control, A.8.1 User endpoint devices, A.8.5 Secure authentication | Documented access rules tied to device state and authentication context |
| MITRE ATT&CK | T1078.004, T1539, T1550.004 | Limits use of stolen credentials and session cookies from unknown devices and locations |
Common failure patterns
- Device conditions before device signals: users without Endpoint Verification, or mobiles still syncing under Basic management, are denied on day one.
- Expecting AND across conditions: selecting "encrypted device" and "UK only" as two conditions in one policy lets in an encrypted device from anywhere. Combine attributes inside one condition.
- Editing a live condition: a change meant for one policy hits every policy using that condition at once.
- Locking out the Admin console: an IP condition built on an office range that changes leaves admins dependent on Google support. Keep a break-glass super admin outside the policy.
- Forgetting automation: backup and eDiscovery tools start failing because their egress IPs were not allowed, and the fix chosen in a hurry is a broad exemption.
- Partial licensing: policies assigned to an OU silently skip users on unsupported editions.
Practitioner checklist
- Confirm every target user holds a supported edition.
- Create a custom admin role with only the four Context-Aware Access privileges.
- Turn on device signals and force-install Endpoint Verification in all OUs.
- Enrol mobile devices and upload company-owned serial numbers where needed.
- Build versioned conditions, putting attributes that must all apply in one condition.
- Create policies in Monitor mode, including API dependencies such as Calendar, Drive and Meet for Gmail.
- Review Monitor mode log events for at least a week before switching to Active.
- Keep a break-glass super admin outside any Admin console policy.
- Turn on remediation messages and a custom help desk message.
- Alert on denial spikes and on changes to policies and conditions.
Standards and references
- Google: Protect your business with Context-Aware Access
- Google: Deploy Context-Aware Access
- Google: Create Context-Aware Access context conditions
- Google: Create Context-Aware Access policies
- Google: Context-Aware Access log events
- Google: Turn endpoint verification on or off
- Google: Create a Context-Aware Access policy for the Admin console
- Google: Allow users to unblock apps with remediation messages
Related NHI Mgmt Group resources: Google Workspace Security Guide · Google Endpoint Management Security · Device Trust and Posture Guide · Conditional Access Guide · Google Workspace Security Checklist