Find all shared links (internal)

338 views
Skip to first unread message

Mark Harripersad

unread,
Feb 27, 2023, 10:14:31 AM2/27/23
to GAM for Google Workspace
Hey Guys,

I was wondering if there was a way using GAM to find all files that are shared out from users one drives.

Backstory I recently noticed that many users are creating folders in their team drives and sharing with their team. the only time an admin finds out about this is when a user is deleted.

I am hoping to find a way to show 
all shared link across the org

i was trying this command gam user user@domain print filelist fullquery "sharedWithMe=True" id title owners permissions

but it does seem to be returning a result that makes any sense and that is only with the users one drive. i need to be able to search across one drives to see where a user is the owner of the file?

Mark Harripersad

unread,
Feb 27, 2023, 10:19:56 AM2/27/23
to GAM for Google Workspace
this is an example of the result i get from the above command: 

Owner,id,name,owners,owners.0.displayName,owners.0.emailAddress,owners.0.me,owners.0.permissionId,owners.0.photoLink,permissions,permissions.0.allowFileDiscovery,permissions.0.deleted,permissions.0.displayName,permissions.0.domain,permissions.0.emailAddress,permissions.0.expirationTime,permissions.0.id,permissions.0.pendingOwner,permissions.0.permissionDetails,permissions.0.photoLink,permissions.0.role,permissions.0.type,permissions.0.view

Reply all
Reply to author
Forward
0 new messages