Typos in a GAMADV-XTD python script + 1 Question re Team Drive files shared with domain

68 views
Skip to first unread message

Constantly Learning

unread,
May 19, 2018, 1:32:46 PM5/19/18
to GAM for G Suite

#1 Type in Python code

Regarding this script,


there are a couple places that use

permissionsN

and it should be 

permissions_N

with an underscore. Thought you might want to know. 

#2 Any script to help with Team Drive URLs showing up via Source:Domain searches?

I was hoping that the script above would do the equivalent of GetSharedWithDomainDriveACLs.py (which was very helpful to me in getting rid of a lot of files showing up via source:domain searches) but for Team Drive files. It seems using GetSharedWithDomainDriveACLs.py helped me to get rid of Google docs outside of Team Drive, and now I'm left only with source:domain results that are in Team Drives.

So is there aGetSharedWithDomainTeamDriveACLs.py script?

I didn't see one. Basically, the idea would be to go through every Team Drive folder and file and see if there is a permission that results in the file coming up in source:domain searches. Thanks if you have any ideas. My goal is zero results on source:domain search, and while I'm made progress, the last piece of the puzzle is how to fix files in Team Drive that were shared with the domain, most likely prior to being moved into Team Drive.

Thanks!

Ken

Ross Scroggs

unread,
May 19, 2018, 6:42:02 PM5/19/18
to google-ap...@googlegroups.com
Ken,

#1 Type in Python code
Fixed, thanks

#2 Any script to help with Team Drive URLs showing up via Source:Domain searches?
I'm working on this.

Ross
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/24a7ad3f-54ed-46c4-afb1-5e938b006765%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ross Scroggs

unread,
May 20, 2018, 12:05:30 AM5/20/18
to google-ap...@googlegroups.com
Ken,

#2 Any script to help with Team Drive URLs showing up via Source:Domain searches?
On May 19, 2018, at 10:32 AM, Constantly Learning <k...@walkersands.com> wrote:

Constantly Learning

unread,
May 20, 2018, 10:42:00 AM5/20/18
to GAM for G Suite
Ross, you are amazing. Thank you!

Ken 
Reply all
Reply to author
Forward
0 new messages