node-google-drive icon indicating copy to clipboard operation
node-google-drive copied to clipboard

How to access Team Drives

Open dseeker opened this issue 6 years ago • 1 comments

Any suggestion on how to access Team Drives? I'm passing the ROOT_FOLDER but the result is the same as if I didn't.

dseeker avatar Jan 28 '19 18:01 dseeker

If your team drive had the url:

https://drive.google.com/drive/u/3/folders/0ANrAnH5gZ7JJsUk9PV

then the ROOT_FOLDER should be 0ANrAnH5gZ7JJsUk9PV.

However... Team Drives behave a bit different than our own folders. Depending on the organization policies, you might not be able to share its contents (or much less give uploading permissions) to people outside of the organization (and service accounts are not part of the organization, not matter they belong to a project related to it).

It is even possible that the admin defined team drives as non shareable with non-team members, even if they are part of another team in the organization.

ffflabs avatar Feb 06 '19 03:02 ffflabs