Moving shared drives to another shared drive

50 views
Skip to first unread message

Michael Barth

unread,
Nov 12, 2024, 11:26:32 AM11/12/24
to GAM for Google Workspace
Following this thread:

https://groups.google.com/g/google-apps-manager/c/27Fj9p1PwXE

I'm attempting to move a shared drive by using the "update drivefile" command and changing its parent. quick example for clarity:

2 shared drives:

Team X Shared Drive (ID: x123)
Building Y Shared Drive (ID: y987)

gam user drivemanager update drivefile x123 teamdriveparentid y987

in doing this, i'm getting the error:
Update Failed: This file is never writable

user "drivemanager" is a manager of both drives. running

gam user drivemanager copy drivefile x123 teamdriveparentid y987 recursive

copies the files successfully, but i can't update the parentID. Am I misunderstanding the way that the parentid works? or am i not able to move a shared drive into a shared drive like i'm trying to do? maybe i can only move it to a different OU?

Ross Scroggs

unread,
Nov 12, 2024, 11:32:03 AM11/12/24
to google-ap...@googlegroups.com
Michael,

You can't change the parentId of a shared drive, you can move it's contents to another shared drive.


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/8b09251d-9b9f-486e-bf45-e5c3c1b002f9n%40googlegroups.com.

Michael Barth

unread,
Nov 12, 2024, 11:35:16 AM11/12/24
to GAM for Google Workspace
that answers my question! thank you Ross. just trying to sort all these things out
Reply all
Reply to author
Forward
0 new messages