gam user <owner> delete drivefileacl <fileId> id:<permissionId>
--
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 visit https://groups.google.com/d/msgid/google-apps-manager/fdf00f15-6ed7-4656-b82f-59f92e1d3a09n%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/FDw5AaUyDyY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-man...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/8EBC3EE7-6644-4965-9E60-95C377FAD126%40gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/6A28ADF8-9A02-473E-88ED-7DCD29B86918%40gmail.com.
Hello, I'm experiencing the same issue -> GAM 7.14.03. If I can contribute in any way, I'm available.
gam user <owner> delete drivefileacl <fileId> id:<permissionId> enforceexpansizeaccess false
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/a5b04831-8853-4eb0-a955-b96072973f2en%40googlegroups.com.
It worked, thank you very much. I just corrected the parameter to "enforceexpansiveaccess".
This e-mail and any files or data transmitted with it are confidential and intended solely for the use of the individual named above. If you have received this email in error and are not the intended recipient, please notify the sender by e-mail and immediately delete the message and all materials without reading them. If you are not the intended recipient, copying, forwarding or otherwise disseminating or distributing this information is prohibited.
--
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 visit https://groups.google.com/d/msgid/google-apps-manager/730337f0-5f90-4581-92c6-6ff51881e29fn%40googlegroups.com.
gam config auto_batch_min 1 num_threads 20 redirect csv ./DomainSharedFiles.csv multiprocess redirect stderr - multiprocess all users print filelist query "visibility = 'domainCanFind' or visibility = 'domainWithLink'" fields id,name,mimetype,basicpermissions filepath pm type domain inherited false em pmfilter oneitemperrow
gam config num_threads 20 redirect stdout ./DeleteDomainShares.txt multiprocess redirect stderr stdout csv DomainSharedFiles.csv gam user "~Owner" delete drivefileacl "~id" "id:~~permission.id~~"
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/026e38db-435d-44d3-b957-88eebf3578f8n%40googlegroups.com.
gam config auto_batch_min 1 num_threads 20 redirect csv ./DomainSharedFiles.csv multiprocess redirect stderr - multiprocess all users print filelist query "visibility = 'domainCanFind' or visibility = 'domainWithLink'" fields id,name,mimetype,basicpermissions filepath pm type domain domainyourdomain.com inherited false em pmfilter oneitemperrow
gam config num_threads 20 redirect stdout ./DeleteDomainShares.txt multiprocess redirect stderr stdout csv DomainSharedFiles.csv gam user "~Owner" delete drivefileacl "~id" "id:~~permission.id~~"
On May 12, 2026, at 8:10 AM, 'Derrek Beeck' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:Thank you. So I ran the first command against just one user, myself, and I get some odd results. I see this results: "Got 7 Drive Files/Folders that matched query ('me' in owners and (visibility = 'domainCanFind' or visibility = 'domainWithLink')) for m...@domain.com". However when I open the file it is blank except the column headers. I know that I have some files that are set to domain wide.Command I ran: "gam config auto_batch_min 1 num_threads 20 redirect csv ./DomainSharedFiles.csv multiprocess redirect stderr - multiprocess user dbeeck print filelist query "visibility = 'domainCanFind' or visibility = 'domainWithLink'" fields id,name,mimetype,basicpermissions filepath pm type domain inherited false em pmfilter oneitemperrow"
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/7454f6f1-9f67-42e5-8e09-9c8c85403834n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/6d7b5247-82e5-452e-acc8-2c1edeea9b86n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/2353612b-dbf4-46cb-96e3-57cff9a30da4n%40googlegroups.com.
Thank you. So I ran the first command against just one user, myself, and I get some odd results. I see this results: "Got 7 Drive Files/Folders that matched query ('me' in owners and (visibility = 'domainCanFind' or visibility = 'domainWithLink')) for m...@domain.com". However when I open the file it is blank except the column headers. I know that I have some files that are set to domain wide.
Command I ran: "gam config auto_batch_min 1 num_threads 20 redirect csv ./DomainSharedFiles.csv multiprocess redirect stderr - multiprocess user dbeeck print filelist query "visibility = 'domainCanFind' or visibility = 'domainWithLink'" fields id,name,mimetype,basicpermissions filepath pm type domain inherited false em pmfilter oneitemperrow"
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/7454f6f1-9f67-42e5-8e09-9c8c85403834n%40googlegroups.com.