Transfer Ownership on mass

90 views
Skip to first unread message

Ahshan Haque

unread,
Dec 6, 2023, 6:47:27 AM12/6/23
to GAM for Google Workspace
Hello All,

I am relatively new to the GAM environment and wanted to run a query.

Currently, I am doing a mass cleanup of accounts for my client, and there are about 200 accounts that need to be removed/ suspended. 

Many of these users have saved their data to their home Google Drive. My query is, is it possible to run a command on GAM to allow me to transfer ownership of their Google drives to the admin accounts in multiples?

I appreciate any help you can provide.

Kevin Melillo ✉

unread,
Dec 6, 2023, 9:27:50 AM12/6/23
to google-ap...@googlegroups.com
This is definitely possible.  Use the following command.
gam csv transfer.csv ~primaryEmail gdrive admin...@domain.com privacy_level shared,private

Make sure that your CSV file is named transfer.csv, and has the header (first line) as primary email.  Each additional line in the csv file will be the email address you need to transfer.  Change the email address in red above to your admin email address.  Also be sure there is enough storage in the admin account to receive the Drive documents.

Example: transfer.csv
primaryEmail
user...@domain.com
user...@domain.com

--
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/4b9eac8e-5a1e-4826-bd77-b26abe2ba682n%40googlegroups.com.

Ahshan Haque

unread,
Dec 6, 2023, 9:34:32 AM12/6/23
to GAM for Google Workspace
Thanks, I will give this a test

Ross Scroggs

unread,
Dec 6, 2023, 10:04:40 AM12/6/23
to google-ap...@googlegroups.com
Command correction:

gam csv transfer.csv gam create transfer ~primaryEmail gdrive admin...@domain.com privacy_level shared,private

Test with a couple of users first.

Ross
----
Ross Scroggs



Kevin Melillo ✉

unread,
Dec 6, 2023, 12:21:53 PM12/6/23
to google-ap...@googlegroups.com
Thank you Ross, you are, as always, correct!

Reply all
Reply to author
Forward
0 new messages