Need Gam command to change drive owner

117 views
Skip to first unread message

Jitender Kumar

unread,
Oct 29, 2025, 10:55:31 AMOct 29
to google-ap...@googlegroups.com
Dear Team,

We are trying to change the drive owner because one of the users has left the organization but he is the owner of multiple shared drives so before deleting his account we want to transfer the shared drive ownership to another user in the organization.

Kindly help to achieve this query.

Please feel free to contact me if you need any further information.

Thanks & Regards,
Jitender kumar | Google Workspace Support Engineer | sup...@shivaami.com   


We are now Proud Partners of Jumpcloud | Sign.UseWise | DropSuite Bimi & Acronis 


🎉 Proud Winner: Google Workspace Partner of the Year for Asia Pacific! 🚀

| 250+ Google-certified experts | 24x7 Support | 80% Women-led Workforce | Empowering 20,000+ businesses with Cloud Solutions |

The purpose of Shivaami is to make a positive change in the life of the people we connect by offering solutions and services which bring profit and happiness.

Ross Scroggs

unread,
Oct 29, 2025, 11:11:05 AMOct 29
to google-ap...@googlegroups.com
See:https://github.com/GAM-team/GAM/wiki/Shared-Drives#manage-shared-drive-access

gam add drivefileacl <SharedDriveID> user newo...@domain.com role owner

Ross
----
Ross Scroggs



--
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/CADmopRauY1%3DPNdRv9d2Nbu%3D0Yw-DoPED5v4bc7_TbB4kid14yQ%40mail.gmail.com.

Jitender Kumar

unread,
Nov 6, 2025, 12:20:25 AM (14 days ago) Nov 6
to google-ap...@googlegroups.com
Dear Team,,

Can I achieve it in bulk?

Please feel free to contact me if you need any further information.

Thanks & Regards,
Jitender kumar | Google Workspace Support Engineer | sup...@shivaami.com   


We are now Proud Partners of Jumpcloud | Sign.UseWise | DropSuite Bimi & Acronis 


Ross Scroggs

unread,
Nov 6, 2025, 10:43:24 AM (14 days ago) Nov 6
to google-ap...@googlegroups.com
See: https://github.com/GAM-team/GAM/wiki/Bulk-Processing#csv-files

Make a CSV file NewSDOwners.csv with a column: email
email


gam redirect stdout ./NewSDOwners.txt multiprocess redirect stderr stdout csv NewSDOwners.csv gam add drivefileacl <SharedDriveID> user "~owner" role owner

Ross
----
Ross Scroggs


Jitender Kumar

unread,
Nov 8, 2025, 5:28:50 AM (12 days ago) Nov 8
to google-ap...@googlegroups.com
Dear Team,

There are number of shared drives and number of owner. We need to change the owner of those shared drives.

Can we schedule a meeting today at 9pm IST?

Please feel free to contact me if you need any further information.

Thanks & Regards,
Jitender kumar | Google Workspace Support Engineer | sup...@shivaami.com   


We are now Proud Partners of Jumpcloud | Sign.UseWise | DropSuite Bimi & Acronis 


Ross Scroggs

unread,
Nov 8, 2025, 9:41:18 AM (12 days ago) Nov 8
to google-ap...@googlegroups.com
Make a CSV file NewSDOwners.csv with two columns: id,email
id,email
shareddriveid1,us...@domain.com
shareddriveid2,us...@domain.com
...

There is one row per Shared Drive ID and owner combination.

gam redirect stdout ./NewSDOwners.txt multiprocess redirect stderr stdout csv NewSDOwners.csv gam add drivefileacl "~id" user "~owner" role owner

Ross

----
Ross Scroggs


Ross Scroggs

unread,
Nov 8, 2025, 9:44:24 AM (12 days ago) Nov 8
to google-ap...@googlegroups.com
Correction: the command line should say "~email" not "~owner"

Make a CSV file NewSDOwners.csv with two columns: id,email
id,email
shareddriveid1,us...@domain.com
shareddriveid2,us...@domain.com
...

There is one row per Shared Drive ID and owner combination.

gam redirect stdout ./NewSDOwners.txt multiprocess redirect stderr stdout csv NewSDOwners.csv gam add drivefileacl "~id" user "~email" role owner

Ross

----
Ross Scroggs


Reply all
Reply to author
Forward
0 new messages