Supported add-ons for this feature: Chrome Enterprise Premium. Compare add-ons
This example shows you how to create a Context-Aware Access context condition for Chrome browser and then enforce it across your apps using a policy.
Note: Context conditions were previously referred to as access levels in the Google Admin console.
Before you begin
- For Workspace-only users—We recommend that you do not add or modify Context-Aware Access context conditions using the Google Cloud console. Doing so can cause this error: Unsupported attributes are being used on Google Workspace and block users.
- For users on Windows—To improve the security of Chrome data, ensure that the Google Chrome Elevation Service remains turned on for App-Bound Encryption.
Configure managed Chrome browser enforcement
-
In the Google Admin console, go to Menu
Security
Access and data control
Context-Aware Access.
Requires the Data security access level and rule management privileges and the Admin API groups and users read privileges.
- For Policies, click View all policies.
- At the top, next to Create policy, click the Down arrow
and select Create context condition. - For Details, enter a Context condition name, such as Managed Chrome browser, and an optional description.
- Click the Advanced tab. On this tab, you build your custom context condition in an editing window using Common Expression Language (CEL). For details, go to Create Context-Aware Access context conditions.
Add the code for the condition:
device.chrome.management_state == ChromeManagementState.CHROME_MANAGEMENT_STATE_BROWSER_MANAGED && device.chrome.versionAtLeast("94.0.4606.81")Click Create condition. You return to the Context conditions tab on the Policies page.
Click Create policy.
For Policy status, at the top of the page, choose an option:
- To assess a policy's impact on users before implementing the policy, select Monitor.
- To enforce the policy immediately, select Active and then for Action, select Block or Warn.
For User conditions, select the organizational unit or group you want to apply the policy to.
Click Save.
For Context conditions, click Edit and select the context condition you created earlier, such as Managed Chrome browser.
Click Save.
For Apps, click Edit and select the apps for users to access. Do not assign the policy to the Google Admin console.
Click Save.
For What will this policy do?, review the policy summary generated by your selections.
(Optional) To update components, next to a section, click Edit.
Click Create policy.
Verify policy assignment
To verify that your policy is properly configured:
-
In the Google Admin console, go to Menu
Security
Access and data control
Context-Aware Access.
Requires the Data security access level and rule management privileges and the Admin API groups and users read privileges.
- Click View all policies.
- Confirm that your policy has the following settings:
- The correct organizational unit or group for User conditions.
- The assigned Apps and Context conditions.
- A Status set to Active or Monitor.
Customize user remediation messages
To customize the messages users receive when app access is blocked:
-
In the Google Admin console, go to Menu
Security
Access and data control
Context-Aware Access.
Requires the Data security access level and rule management privileges and the Admin API groups and users read privileges.
- For General settings, click View settings.
- Configure your message preferences:
- Remediation messages—System-generated messages corresponding to the specific policy violation that blocked access. These offer self-serve options so users can unblock themselves.
- Custom messages—Specific guidance or help links provided by your organization.
- Default message—Displays if no remediation or custom message is configured.
For details, go to Allow users to unblock apps with remediation messages in Context-Aware Access.