Hi,
A user (user1) has a folder "Marketing Expenses" in her "Share with me" drive that was originally created by a user (user0) that no longer exists. The folder contains a hierarchy of folders and files. The folder was originally created 3 years ago, and nobody that has access to it knows who originally owned it. In the user1 drive interface, the "Shared by" name is the company name, not a user.
The entire "Marketing Expenses" folder needs to be moved to a shared drive. My user1 is a manager of the shared drive.
My user1 cannot simply drag the folder to a shared drive. That fails.
I tried the following:
gam user user1 copy drive file <ID for "Marketing Expenses" folder> recursive teamdriveparentid <shared drive ID>
Result:
User: <user email>, Copy 1 Drive File/Folder
User: <user email>, Shared Drive ID: <shared drive ID>, Copy Failed: Does not exist
I also tried copying to a folder in the shared drive, providing the target folder ID, and the result is the same.
I can execute "gam user user1 show filetree select <ID>" on the "Marketing Expenses" folder and it displays all the contents of the folder.
The result of "gam user user1 show fileinfo" for the "Marketing Expenses" contains:
User: <user email>, Show 1 Drive File/Folder
Drive Folder: Marketing Expenses (<folder ID>)
capabilities:
canAddChildren: True
canAddFolderFromAnotherDrive: False
canChangeCopyRequiresWriterPermission: False
canChangeSecurityUpdateEnabled: False
canChangeViewersCanCopyContent: False
canComment: True
canCopy: True
canDelete: False
canDeleteChildren: False
canDisableInheritedPermissions: False
canDownload: True
canEdit: True
canEnableInheritedPermissions: False
canListChildren: True
canModifyContent: True
canModifyContentRestriction: False
canModifyEditorContentRestriction: False
canModifyLabels: False
canModifyOwnerContentRestriction: False
canMoveChildrenOutOfDrive: False
canMoveChildrenOutOfTeamDrive: False
canMoveChildrenWithinDrive: True
canMoveChildrenWithinTeamDrive: True
canMoveItemIntoTeamDrive: False
canMoveItemOutOfDrive: False
canMoveItemOutOfTeamDrive: False
canMoveItemWithinDrive: True
canMoveItemWithinTeamDrive: True
canMoveTeamDriveItem: False
canReadDrive: False
canReadLabels: False
canReadRevisions: True
canReadTeamDrive: False
canRemoveChildren: False
canRemoveContentRestriction: False
canRename: True
canShare: False
canTrash: True
canTrashChildren: True
canUntrash: False
I do not understand the "does not exist" message.
Thanks for any help.
Doug