“Hey, Reddit. How do I solve the file-sharing issue in Google Drive?”
Jeremy had been using GAM to clean up orphan files and to work out what was externally shared, but it was becoming too labor-intensive to be a good long-term solution. At that point, he trialed GAT+, but he couldn’t choose specific features that he truly needed, which would end up being quite expensive. In April 2021, while looking for an alternative to GAT+ on the r/gsuite Reddit thread, Jeremy stumbled upon a comment where someone mentioned Tricent as a company that had been able to help them out with a problem similar to his.
Tricent is a web application that helps you unshare any Google Drive files shared with third parties. It involves the end-users in the unsharing process while allowing the admins to configure the cleanup (unsharing) settings. It sends out email reminders when it’s time to unshare files, lets you extend the sharing period according to your need, and automatically unshares files if you don’t take any action. What’s more, access to unshared files can easily be restored.
After checking out Tricent’s website, Jeremy requested a demo. The next day, he got contacted by a sales agent, got the demo, and signed the contract within 2 days. BrightLogic was onboarded the following week and, provided everything went well over the summer, MicroFirst would be onboarded, too. Read the full article here.
Before you start reading – there is something you need to know
Did you consider that the complexities of file-sharing pose significant challenges that require more than just basic management tools like Google Apps Manager (GAM)?
You can read more about this here: https://www.tricent.com/blog/why-gam-might-not-be-enough-the-intricacies-of-file-sharing-and-the-need-for-comprehensive-solutions/
What is GAM?

“With GAM you can change the password of 100+ users in a matter of seconds.”
— Tricent
Google Apps Manager (or simply GAM) is a command-line tool that helps with automation and bulk operations. It’s also able to give you valuable insights into your Google Workspace instance.
As a sysadmin, you may want to use GAM to:
- create, edit, or delete users, groups, organizational units (OUs)
- monitor Google Workspace activities
- move, modify, or delete files
- … and much more
You might already be using the Google Admin Console to carry out some of these tasks, but eventually, you’ll realize that some tasks are simply too time-consuming to manually carry out. That’s when GAM steps in.
For example, imagine how much time it’d take you to change the password of 100+ users in the Google Admin Console, or if you’d have to check how many Google Workspace licenses are currently being used/unused. With GAM you can do this in a matter of seconds.
Installation
GAM must be installed on a PC, Linux, or Mac. Please note that you must have admin access to the Google Admin Console, as you’re required to authorize and grant GAM with API permissions.
- Visit https://github.com/jay0lee/GAM/wiki#download-gam
- Select the version compatible with your operating system (OS)
- Follow the guided instructions (as shown in the video below)
Configuration
Once installed, open your command-line tool and execute these 3 commands in the following order:
- Gam create project
- (This creates a GCP project to enable the API access needed for later execution of the GAM commands)
- Gam oauth create
- (This checks and creates the right authentication needed for later execution of the GAM commands)
- Gam user a_user@example.com check serviceaccount
- (This checks and creates the API access needed in Google Workspace. Note: The a_user@example.com must be replaced with your Google Workspace email)
Scripts
Congratulations, you have successfully installed GAM. Here are some scripts you can try running in your command-line tool:
- Gam print users todrive
- (This script lists all Google Workspace users from your organization into a newly created Google Sheet, which can be accessed from your Google Drive)
- Gam print users allfields licenses todrive
- (Similar to the first script, you’ll get a Google Sheet of all Google Workspace users including information like first name, last name, last login time, and the types of licenses assigned to them)
- Gam print groups allfields members owners manager todrive
- (This script lists all groups including the settings, members, owners, and managers to a Google Sheet which can be accessed from your Google Drive)
Cheatsheet
Knowing all GAM commands can be difficult at first, so here’s a cheat sheet to help you get started: https://gamcheatsheet.com/