GAM Change Shared Drive Name ??

715 views
Skip to first unread message

Chris Frieberg

unread,
Sep 5, 2023, 12:19:46 PM9/5/23
to GAM for Google Workspace
Is there a way to make changes to shared drives - specifically renaming them using GAM?

such as game update shareddrive ACL <shareddrive new name>

We have ~100 shared drives we want to append -External to instead of manually going into google workspace, adding an admin to the drive, then changing it on the shared drive.
Why does google not have the ability for admins to rename a shared drive on the admin > drive > manage shared drive settings page on their workspace..... really makes no sense. 

Ross Scroggs

unread,
Sep 5, 2023, 12:38:03 PM9/5/23
to google-ap...@googlegroups.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/65f22fac-cac1-4d1b-a16c-d67d69601344n%40googlegroups.com.

Chris Frieberg

unread,
Sep 5, 2023, 12:48:40 PM9/5/23
to google-ap...@googlegroups.com
Ross,

Can you share a dummy example please?

What if a shared drive's name is "Department A" and we want to update that to Department A-External" for example

I'm clearly typing this wrong, I keep getting an error.
Trying to read this but it's a bit confusing.

Looking at that documentation, 
gam [<UserTypeEntity>] update teamdrive <SharedDriveEntity> [name <Name>]

gam john.smith update teamdrive (all make sense)

<shareddriveentity> and the {name <Name>} (doesn't really make sense.

Is shareddriventity the ID/ACL? 






Chris Frieberg

(He/Him)

Sr. Systems Administrator

 

m +1.303.385.7875

2530 Junction Place, 2nd Floor

Boulder, CO 80301


The IT team handles issues through tickets, so please put a ticket in here: 

https://ithelp.uplight.com - Self Service Portal

-Sign in with your Google Account and Click report an issue if you have an issue or click the Service Catalog to request access to system




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/-_pdXkVPREg/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/7AFEBA5B-BC82-4D52-AFDD-8CB2F194D3A7%40gmail.com.

Ross Scroggs

unread,
Sep 5, 2023, 1:09:08 PM9/5/23
to google-ap...@googlegroups.com
gam update shareddrive teamdrive "Department A" name "Department A-External"
----
Ross Scroggs



Chris Frieberg

unread,
Sep 5, 2023, 1:14:25 PM9/5/23
to google-ap...@googlegroups.com
gam update shareddrive teamdrive "Department A" name "Department A-External"

didn't seem to work but I was able to get this to work:

gam user chris.f...@uplight.com update teamdrive (drive ID) name "desiredname" adminaccess


All set here, Thanks!


Chris Frieberg

(He/Him)

Sr. Systems Administrator

 

m +1.303.385.7875

2530 Junction Place, 2nd Floor

Boulder, CO 80301


The IT team handles issues through tickets, so please put a ticket in here: 

https://ithelp.uplight.com - Self Service Portal

-Sign in with your Google Account and Click report an issue if you have an issue or click the Service Catalog to request access to system


Ross Scroggs

unread,
Sep 5, 2023, 1:18:29 PM9/5/23
to google-ap...@googlegroups.com
Chris,

What is: gam version

Ross
----
Ross Scroggs


Chris Frieberg

unread,
Sep 5, 2023, 1:20:03 PM9/5/23
to google-ap...@googlegroups.com

GAMADV-XTD3 6.63.09

image.png



Chris Frieberg

(He/Him)

Sr. Systems Administrator

 

m +1.303.385.7875

2530 Junction Place, 2nd Floor

Boulder, CO 80301


The IT team handles issues through tickets, so please put a ticket in here: 

https://ithelp.uplight.com - Self Service Portal

-Sign in with your Google Account and Click report an issue if you have an issue or click the Service Catalog to request access to system



Gary Loney

unread,
Apr 24, 2024, 4:43:33 PM4/24/24
to GAM for Google Workspace

This worked for me using advanced gam:  gam update shareddrive teamdrive "Rocketry" name "Marked for Deletion June 2024 Rocketry"

I tried to then use a list of drives I need to rename from a csv, but that is giving me an error :(

Here is what I am entering in an effort to use a csv called drivesrename.csv with columns name and newname for the Shared drives:
gam csv drivesrename.csv gam update shareddrive teamdrive ~name name ~newname

I am getting this error:
'utf-8' codec can't decode byte 0xf0 in position 622: invalid continuation byte

Any ideas what I can do to fix that? Would be amazing if I could rename all 300 drives in one command.

Thanks,


Gary

Ross Scroggs

unread,
Apr 24, 2024, 6:07:55 PM4/24/24
to google-ap...@googlegroups.com
Are you on a PC? How was drivesrename,cv created?

Try this:
gam csv drivesrename.csv charset latin1 gam update shareddrive teamdrive ~name name ~newname

Ross



--

Gary Loney

unread,
Apr 25, 2024, 3:52:11 PM4/25/24
to GAM for Google Workspace
Thanks for the suggestion :) 

It is something to do with my specific computer. After you asked about my computer, I tried on another computer and it worked as originally typed.

Was so nice to watch all 300 shared drives rename without having to go one by one.

Thanks so much for your help :)
Reply all
Reply to author
Forward
0 new messages