Supported editions for this feature: Frontline Standard and Frontline Plus; Enterprise Standard and Enterprise Plus; Education Standard and Education Plus; Enterprise Essentials Plus; Cloud Identity Premium. Compare your edition
As a super administrator or reseller, you can define the context within which other admins can access the Google Admin console by creating a Context-Aware Access policy for the Admin console.
Note: Context conditions were previously referred to as access levels in the Google Admin console.
Important: Do not create a policy for the Admin console unless you specifically need to limit access to the Admin console by other admins. For details on creating policies for apps, go to Create Context-Aware Access policies.
This article outlines how to:
- Create and update these policies.
- Avoid unintentionally locking yourself or other admins out of the Admin console.
- Respond if a lockout occurs.
Before you begin
Understand possible lockout scenarios:
- Admins can mistakenly configure a context condition for an IP subnet belonging to someone else and then add this context condition to a policy for the Admin console.
- Or, they might apply a policy with an outdated context condition to the Admin console. This situation can occur if the context condition requires a company-owned device and the admin switches from using one of these devices to a personal device.
Avoid a lockout
- Review policies and context conditions that you intend to apply to the Admin console. Make sure that at least one admin meets the criteria for access.
- Create a new context condition, if needed. You can ensure access conditions are met by curating a context condition that you know meets requirements.
- Notice the messages that you receive while you're adding or editing policies and context conditions in the Admin console. These messages help you determine your next step to avoid a lockout.
Apply policies to configuration groups, which can act as a container for policies and context conditions.
- You create a configuration group and create policies for apps.
Then, you add user groups as members of the configuration group that doesn't apply the policy causing the lockout.
For details, go to Use Context-Aware Access with configuration groups.
Ensure access to support in the event of a lockout
First, verify that you, the designated super admin, or whichever admin is the support contact can access the Google Cloud Support Portal.
For added security, use 2-Step Verification for admins who can access the Customer Care Portal. For details, go to Protect your business with 2-Step Verification.
Working with Admin console policies
The system works to prevent admin lockout when you perform or attempt these tasks:
Create a policy for the Admin console
-
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.
- In the Policies section, click View all policies.
- At the top, next to Create policy, click the Down arrow
and select Create Admin console policy. - Select one or more context conditions for the Admin console.
Access is granted to the Admin console if an admin meets the conditions specified in:- One of the context conditions you select—Uses a logical OR of the context conditions in the list.
- More than one context condition—Create a context condition that contains multiple attributes using a logical AND.
- Click Save.
The system displays a progress bar while it verifies that the context conditions do not lock any admins out.- If you meet the conditions in at least one of the selected context conditions—You created the policy. The page shows that the policy applies.
- If you do not meet the conditions of at least one of the selected context conditions—The policy does not apply. After you click Save and the system attempts verification, you get this message: You can't create this policy because you currently don't meet any of these conditions, and would lose access to the Admin console.
Edit a context condition used in an Admin console policy
There are restrictions on editing context conditions that are included in a policy for the Admin console.
-
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.
- In the Policies section, click View all policies.
- At the top, on the Context conditions tab, click a context condition.
When you try to edit a context condition that is included in a policy assigned to the Admin console, you can edit its name and description, but not its attributes. Attempting to do so prompts this error message: You can't edit the attributes of this context condition because it's currently used in a policy assigned to the Admin console and changes may impact another admin's ability to access it. To edit its attributes, first remove the context condition from the Admin console policy.
Delete a policy or context condition
You can only delete policies or context conditions if doing so does not block access.
-
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.
- In the Policies section, click View all policies.
- Click Policies or Context conditions.
- Next to an existing item, click Action.
- Click Delete policy or Delete context condition.
This message appears during validation: Delete item? If this context condition is used in a policy for the Admin console, deleting it might impact admin access.- If you can delete the item—Click Delete.
- If you can't delete the item—Deleting the item would cause loss of access to the Admin console. This message appears after validation: Can't delete policy or Can't delete context condition.
If you are an admin who isn't a super admin, your attempts to delete policies or context conditions result in the message: Only super admins can delete policies or context conditions that are assigned to the Admin console. In this case, talk to the super admin or reseller about deleting policies or context conditions.
Reorder group priority
The system helps prevent you from reordering group prioritization, affecting Admin console access in the process. Any attempts to reorder groups in such a way result in the message that You can't change the group order because doing so would result in your losing access to the Admin console.
If you are an admin who isn't a super administrator, trying to reorder groups results in this message: You need additional administrator privileges to change the group order. In this case, talk to the super admin or reseller about reordering groups.
Contact support if you're locked out
In the case of a total lockout, contact Google support through the Customer Care Portal.
To restore access, support removes Context-Aware Access policies in the Admin console. This action doesn't affect Context-Aware Access policies for other apps, such as Gmail or Google Calendar.
Important: Reapply the policies immediately after support removes them.