Transfer Ownership Failed, "Sorry, an item is restricted in sharing"

349 views
Skip to first unread message

Emily Wilkinson

unread,
Jul 31, 2024, 11:14:39 PM7/31/24
to GAM for Google Workspace
Hi,

We have a script to migrate Google Drive data for departed staff. It contains the command

gam select "$Tenant" user "$U_Source" print filelist id title |gam csv - gam user "~~Owner~~" transfer ownership "~~id~~" "$U_Delegate"

It recently failed for one user:

User: <redacted>, Drive Folder: My MacBook Pro (1) (<redacted>), Transfer Ownership Failed: Permission ID: <redacted> Sorry, an item is restricted in sharing." (1/4)

This looks like the local desktop/documents backup performed by the Google Drive client. Does anyone have any tips for resolving this?

Kind Regards,
Emily W

rfarn...@stmarthaschool.net

unread,
Aug 1, 2024, 12:03:54 AM8/1/24
to google-ap...@googlegroups.com
Thank you for your email. I am currently out of the office for an extended period of time. If this is a technology issue, please send an email to sup...@stmarthaschool.freshdesk.com for assistance. If this is a facilities or maintenance issue, please send an email to sup...@maintsmcssma.freshdesk.com for assistance.


Ross Scroggs

unread,
Aug 1, 2024, 10:45:10 PM8/1/24
to google-ap...@googlegroups.com
As far as I know, those folders are special and can't be manipulated.

Ross
----
Ross Scroggs




DISCLAIMER: This message and its contents are confidential. If you received this message in error, do not use or rely upon it. Instead, please inform the sender and then delete it. Thank you.

--
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/b521cf3b-6abf-4451-a6a0-513737f79d3bn%40googlegroups.com.

Emily Wilkinson

unread,
Aug 6, 2024, 10:26:28 PM8/6/24
to GAM for Google Workspace
I suspected as much. Thanks for your help
Reply all
Reply to author
Forward
0 new messages