Context Aware Access for Google Workspace Admin Console
Hey Google Admins, this is Goldy again. In this video let’s talk about Google’s newly launched functionality called Context aware Access for Google Admin Console.
Now as you know, Google Admin console is the place where you go to take care of your identities, create users, groups, members, etc. so regardless whether you are using Cloud Identity or Google Workspace or Google Cloud Platform, or in fact any other Google Enterprise application, you will be dealing with Google Admin Console because that’s where you manage all your identities.
With this new launch, you should be able to apply context aware or conditional access policies to admin console.
So for example, you can leverage user context like which IP address is this accessing request coming from, which geographic location is the user coming from, You can also leverage device context like what’s the device posture, Is this device encrypted, Is it running minimum operating version XYZ, Is it a company on device or a personal device, and based on that you can then say whether with this specific context an admin would be able to access Google Admin Console or not.
![2. you can Leverage user Context IP address](https://cdn.prod.website-files.com/652583d059964c2e9f5a207f/652ae1c23b0b2fc334da377d_2.-you-can-Leveragw-user-Context-IP-address-1030x579.png)
Now before I show you the step by step demonstration, let’s talk about the logistics that you should have in place to configure Context Aware Access (CAA) on Google Workspace Admin console.
1. You should be running Google Workspace Enterprise Standard or plus or you should have Google Workspace Education Standard or plus. If you have Cloud Identity (maybe if you’re just using Google Cloud Platform), then this is only available in Google Cloud Identity Premium.
2. You should be a super admin to set this up. If you have a Reseller in place who is taking care of your Google Workspace or GCP, then they can also help you do that.
3. Finally, you should be very cautious, very careful when applying the Conditional Access to Admin Console to avoid the lockout.
![3. Let's talk about the Logistics that you have 4 types](https://cdn.prod.website-files.com/652583d059964c2e9f5a207f/652ae1c23b0b2fc334da37b5_3.-Lets-talk-about-the-Logistics-that-you-have-4-types-1030x579.png)
So there are some best practices that I read in Google’s help article. The first one is that you must review the policy before applying it.
You should really pay attention to messages that Google will show when you’re applying the Conditional Access to Admin Console to make sure that you are minimizing the chances to lock out, you should prefer applying policies to groups than to individual users.
And last but not least, make sure you have access to Google’s support portal just in case If you miss anything and there is lock out, you should be able to reach Google support team so that they can help you with unlocking and letting you access Google Admin Console.
![4. There are some practices that read on google is rewiew,pay attention,Apply Polices,Ensure access](https://cdn.prod.website-files.com/652583d059964c2e9f5a207f/652ae1c23b0b2fc334da3790_4.-There-are-some-practices-that-read-on-google-is-rewiewpay-attentionApply-PolicesEnsure-access-1030x579.png)
So with that in place now let’s configure Conditional Access or context aware access for Google Admin console. So here is my Google Workspace or Cloud Identity Admin Console. I’ll go to Security here.
Under Security I will click on Access and Data Control and I will be clicking on context aware access.
![5.Here is google workspace go to Security Click on Context of your access](https://cdn.prod.website-files.com/652583d059964c2e9f5a207f/652ae1c23b0b2fc334da378a_5.Here-is-google-workspace-go-to-Security-Click-on-Context-of-your-access-1030x579.png)
Note : Please make sure that the context aware access is turned on.
Now, as a first step, let us create an access level.
![6. Make sure it turned on and create new access level](https://cdn.prod.website-files.com/652583d059964c2e9f5a207f/652ae1c23b0b2fc334da376f_6.-Make-sure-it-turned-on-and-create-new-access-level-1030x579.png)
So we will call it Allow access from US Only (considering adding some description to it so other admins can easily understand what this rule does).
![7. Lets call it Allow access U.S only](https://cdn.prod.website-files.com/652583d059964c2e9f5a207f/652ae1c23b0b2fc334da3775_7.-Lets-call-it-Allow-access-U.S-only-1030x579.png)
Now when you’re applying conditions, there are two ways, you can either apply the basic conditions which means you can do it via the user interface with simply adding the attributes, or you can also create an advanced condition by leveraging common expression language.
![8. So below this you can make aware of those](https://cdn.prod.website-files.com/652583d059964c2e9f5a207f/652ae1c23b0b2fc334da3778_8.-So-below-this-you-can-make-aware-of-those-1030x579.png)
For now, just to keep this short, I’ll go with basic condition and I will say the geographic location is let’s say United States.
let’s say if my company only operates in United States and all our admins are here and I want to make sure that nobody else should be able to access Admin Console other than the admins coming from the United States.
If there is a need, I can also add more conditions to it e.g device operating system, company or personally managed device, IP range etc. You can also combine other access levels that you have created in the past.
In my rule here, I’ll just say that users should be able to access Admin Console if they’re trying from United States, then let me click on Save button to save the access level.
![Create Context Aware Access Rule in Google Workspace](https://cdn.prod.website-files.com/652583d059964c2e9f5a207f/652b0512675e9e3c34e83934_Context-Aware-Access-for-Google-Workspace-Admin-Console-New-Feature-YouTube-%25F0%259F%2594%258A-2022-10-27-at-5.13.19-PM-1030x479.png)
Once you have it saved then you will go to the second level which is to assign this access level to required audience (e.g all users or a subset of users by selecting the orgUnit or group).
Now here, other than the applications which are workspace native apps like Gmail, Drive, you will also see third party SAML applications that you have configured like Asana and others (where Google is acting as Identity provider), if you apply, then this Conditional access would also be applicable to these SAML Apps.
As you see in the screenshot below, at the top here you will see this new bar coming up which says Admin Console. It says continuous evaluation point which essentially means that the context would be evaluated at every request (it is dynamic unlike the traditional session which is valid for x hours etc).
In case if there is a change in your context, for e.g in my policy which is to only allow access from United States, if I log in now, maybe I’m sitting at airport somewhere leaving United States, I should be able to access but when I land in some other country, my context would change and at the next attempt or next API call it will read the context and revoke my access.
![10. Now here other than the applications which are workspace applications such as Asana and others](https://cdn.prod.website-files.com/652583d059964c2e9f5a207f/652ae1c23b0b2fc334da37c3_10.-Now-here-other-than-the-applications-which-are-workspace-applications-such-as-Asana-and-others-1030x579.png)
So I’ll go ahead and click on Assign here, I will see all my conditional access policies that I created. I only have one which is shown here “Allow access from us only”. I’ll go ahead and apply this now.
Note : You can either apply the access levels on the root organizational unit which means it’ll be applied to all users, or you can go granular by applying it only on a subset of users by choosing the child orgUnit or a group.
It depends in case if the application is available in mobile or desktop apps too. For example in case if this is specific to Google Admin Console which also has iPhone application.
If I apply this checkbox that means this conditional access will also be applicable to those mobile apps and with that I will just make sure you’re reading these messages and be very careful toward lockout and then you will go ahead and click on save.
![11. I will go and Click on assign and herei will see all my Conditional access Policies](https://cdn.prod.website-files.com/652583d059964c2e9f5a207f/652ae1c23b0b2fc334da37cb_11.-I-will-go-and-Click-on-assign-and-herei-will-see-all-my-Conditional-access-Policies-1030x579.png)
Now, as I have applied the CAA policy to our google workspace admin console, let me show you the demo by trying to access from U.S and a non U.S location.
I am using a remote machine based in India, and ideally I should not have access via it my Google Workspace or Google Cloud Identity admin console based on the context access policy we just applied.
So let me enter my google admin credentials along with two step verification code.
![13. I dont think it's gonna bebe work in this VPN server so lets try second step Verification](https://cdn.prod.website-files.com/652583d059964c2e9f5a207f/652ae1c23b0b2fc334da37ba_13.-I-dont-think-its-gonna-bebe-work-in-this-VPN-server-so-lets-try-second-step-Verification-1030x579.png)
As you see, I got the error saying you don’t have access, and thats because we only allowed access to workspace admin console from U.S, however this access request came from India.
![14. It Says you Can,t Loggin](https://cdn.prod.website-files.com/652583d059964c2e9f5a207f/652ae1c23b0b2fc334da37bf_14.-It-Says-you-Cant-Loggin-1030x579.png)
However, I am still able to access other applications like Google Drive, because my context aware access policy was only applied to Admin Console. This is very useful when you need to provide access to less sensitive applications like Google Meet from any location / device but want to restrict applications that may have sensitive data like Gmail, Drive etc from specific locations, or IP ranges or company owned devices.
![15. As you see here i am able to access Google docs](https://cdn.prod.website-files.com/652583d059964c2e9f5a207f/652ae1c23b0b2fc334da37c7_15.-As-you-see-here-i-am-able-to-access-Google-docs-1030x579.png)
You can of course customize the conditions based on your needs.
I would recommend you to create multiple conditions, and then create access levels based on those conditions (e.g one condition says ‘company owned devices only’, other one says ‘company IP range only’, and then create access levels like Low Tier, Medium Tier, High Tier etc by adding multiple conditions you created.
Finally, leverage these security level tiers to grant access to your Google Workspace and/or SAML applications and other resources.
You may also compliment Google Workspace context aware access with BeyondCorp to go one step further and apply zero trust policies on resources in Google Cloud platform, other clouds, on-prem resources etc.
If you have any questions, comments or feedback, please do not hesitate to put that under this video and I’ll be happy to. Collaborate. Thank you so much.
Related Posts
....