Google Doc sharing history

298 views
Skip to first unread message

Dale Courtney

unread,
Jan 18, 2021, 2:12:18 PM1/18/21
to GAM for Google Workspace
I have a manager who inherited a terminated employee's Google Drive. 

He found an unknown, outside individual who was given edit access to one of those files. He's asked me to track down the full history on that file (shared when, by whom, to whom, etc). 

Is that something GAM can pull for me? 

Thanks in advance.

Best,
Dale

Brian Kim

unread,
Jan 18, 2021, 2:32:36 PM1/18/21
to GAM for Google Workspace
gam config csv_output_row_filter "'doc_id:regex:<file id>'" report drive todrive (this will give full list of events that's visible from drive audit log - past 180 days)

If the share was made before 180 days, then it wouldn't show.

Dale Courtney

unread,
Jan 18, 2021, 3:47:55 PM1/18/21
to GAM for G Suite
Brian, 

Thanks for the tip. 

I ran this twice. Each time I got the same error but at a different point:

Got 1017931 Activities...

ERROR: 503: serviceNotAvailable - The service is currently unavailable.


and


Got 2094908 Activities...

ERROR: 503: serviceNotAvailable - The service is currently unavailable.


Thoughts? 

best,
Dale


--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/d8726cc0-91f3-42be-b675-7d6ba712eb7an%40googlegroups.com.

Ross Scroggs

unread,
Jan 18, 2021, 4:36:28 PM1/18/21
to google-ap...@googlegroups.com
Dale,

Let Google do the filtering for you:
gam report drive filter "doc_id==<DriveFileID>"

Ross



--

Dale Courtney

unread,
Jan 18, 2021, 5:03:39 PM1/18/21
to GAM for G Suite
Woof! That ran in seconds. 

Thanks so much! 

best,
Dale


Reply all
Reply to author
Forward
0 new messages