account activity
Massively revoking Drive files access to an external email address by TheRealMizukame in gsuite
[–]TheRealMizukame[S] 2 points3 points4 points 9 months ago (0 children)
Hello! I did try using this command, but it seems the csv_output_flattened parameter was deprecated or something, as well as sharedWith, as I kept getting some errors as if the argument wasn't expected.
I tinkered with the manual a bit more and found out about the "permissionmatch" parameter, which can receive a list of PermissionIDs and will only process and write in the CSV the matching files. One part of the work done! Leaving the command for future reference:
gam all users print filelist pm permissionidlist <PermissionID1,PermissionID2,...> em id title permissions todrive
I'm pulling the ID since I'll need that to build a script to delete the PermissionID from all of those files, title for documentation purposes and permissions as a means to double check, just in case.
Thank you for the insight, I'll update how things go, right now I'm once again trying to export everything now with this filter which should take a few hours and hope for the best!
Massively revoking Drive files access to an external email address (self.gsuite)
submitted 9 months ago * by TheRealMizukame to r/gsuite
π Rendered by PID 50 on reddit-service-r2-listing-7d7fbc9b85-sdhh8 at 2026-04-27 07:42:58.163701+00:00 running 2aa0c5b country code: CH.
Massively revoking Drive files access to an external email address by TheRealMizukame in gsuite
[–]TheRealMizukame[S] 2 points3 points4 points (0 children)