What you are finding is that files shared with your staff from another organization can’t be in “Shared Drives” because they were shared with a particular user and “Shared Drives”, by design, don’t limit permission scope the same way.
You have should address files in groups.
Each of these cases are handled in slightly different but related ways. If you can keep it straight which case you are working it will help you craft the right gam command.
Rance
--
Rance Hall
Application Specialist
ESU 10
Some days are better, some days are worse.
Look for the blessing instead of the curse.
From: <google-ap...@googlegroups.com> on behalf of David Prior <david...@pistoiaalliance.org>
Reply-To: "google-ap...@googlegroups.com" <google-ap...@googlegroups.com>
Date: Wednesday, September 7, 2022 at 5:24 AM
To: GAM for Google Workspace <google-ap...@googlegroups.com>
Subject: [GAM] List files owned outside domain for a folder & sub folders?
[EXTERNAL EMAIL]
--
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/5c6d3556-19fd-49b3-b72c-e77224e7a679n%40googlegroups.com.
GAM can’t distinguish between groups 3 & 4 directly, as far as I remember. However; there is a way to analyze the ACLs to determine which files are in group 4 and then individually address them and get them out of the way and then group 3 becomes much easier.
R
--
Rance Hall
Application Specialist
ESU 10
Some days are better, some days are worse.
Look for the blessing instead of the curse.
From: <google-ap...@googlegroups.com> on behalf of David Prior <david...@pistoiaalliance.org>
Reply-To: "google-ap...@googlegroups.com" <google-ap...@googlegroups.com>
Date: Wednesday, September 7, 2022 at 9:19 AM
To: GAM for Google Workspace <google-ap...@googlegroups.com>
Subject: Re: [GAM] List files owned outside domain for a folder & sub folders?
[EXTERNAL EMAIL]
Thanks Rance,
Thinking about this in terms of groups is helpful. As far as I can tell only files in group 4 prevent the Admin move to Shared Drives. In our case they were actually originally shared with many people both internal and external via an external group access control.
We can "overcome" this by a crude copy/paste of each file or folder preserving the original owner and date in the file/folder title (not perfect I know but means searching is still possible). Ownership of the new file naturally reverts to within our domain.
If GAM can distinguish files in category 4 then this will drastically cut down on the time required to search for and rename them manually before moving.
dave
On Wednesday, 7 September 2022 at 14:05:37 UTC+1 Rance Hall wrote:
What you are finding is that files shared with your staff from another organization can’t be in “Shared Drives” because they were shared with a particular user and “Shared Drives”, by design, don’t limit permission scope the same way.
You have should address files in groups.
- Files owned by one of your users.
- Files owned by one of your users shared with another one of your users.
- Files owned by one of your users shared externally.
- Files owned by external users shared with one of your users.
Each of these cases are handled in slightly different but related ways. If you can keep it straight which case you are working it will help you craft the right gam command.
Rance
--
Rance Hall
Application Specialist
ESU 10
Some days are better, some days are worse.Look for the blessing instead of the curse.
From: <google-ap...@googlegroups.com> on behalf of David Prior <david...@pistoiaalliance.org>
Reply-To: "google-ap...@googlegroups.com" <google-ap...@googlegroups.com>
Date: Wednesday, September 7, 2022 at 5:24 AM
To: GAM for Google Workspace <google-ap...@googlegroups.com>
Subject: [GAM] List files owned outside domain for a folder & sub folders?
[EXTERNAL EMAIL]
Hi,
Apologies if this is right in front of my nose ... . after a few searches I saw some similar solutions but not exactly what I was looking for...
We're trying to move files to Shared Drives and repeatedly bump into the rules preventing moving files owned outside our domain.
Is there a way to find a list of those files starting at a particular folder and searching recursively?
Many thanks
dave
The contents of this e-mail and any attachments are confidential and only for use by the intended recipient. Any unauthorized use, distribution or copying of this message is strictly prohibited. If you are not the intended recipient, please inform the sender immediately by reply e-mail and delete this message from your system. Thank you for your cooperation.--
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/5c6d3556-19fd-49b3-b72c-e77224e7a679n%40googlegroups.com.
The contents of this e-mail and any attachments are confidential and only for use by the intended recipient. Any unauthorized use, distribution or copying of this message is strictly prohibited. If you are not the intended recipient, please inform the sender
immediately by reply e-mail and delete this message from your system. Thank you for your cooperation.
--
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/0ff0f8cd-41ce-41ef-9443-59e2c05d34e2n%40googlegroups.com.
gam config csv_output_row_filter "owners.0.emailAddress:notregex:@domain.com$" csv_output_header_drop_filter "^owners$,^paths$" redirect csv ./ExternallyOwnedFiles.csv user us...@domain.com print filelist select <PutFolderIDHere> showownedby others fields id,name,owners.emailaddress filepath
Ross
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/0ff0f8cd-41ce-41ef-9443-59e2c05d34e2n%40googlegroups.com.
gam config csv_output_header_drop_filter "^owners$" redirect csv ./ExternallyOwnedFiles.csv user us...@ourdomain.org print filelist select <root folder ID> showownedby others fields id,name,owners.emailaddress
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/0b6bf341-8e33-402a-b3d4-80e72f01e006n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/Mb582f-gmyo/unsubscribe.
To unsubscribe from this group and all its topics, 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/A6BB8F7B-261B-44F2-B9B0-05ED6A0AF785%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/4fe29ed5-7690-4d4a-bbaa-0e28f5bc5bd8n%40googlegroups.com.