onedrive-vercel-index icon indicating copy to clipboard operation
onedrive-vercel-index copied to clipboard

I hope you can add drive_id option.

Open IAmBlackat opened this issue 4 years ago • 4 comments

Hi, When there are multiple drives in business account, it select the only onedrive no matter what I tried. When I tried to select second and added details of it, it still showing the first onedrive. I tried doing alot but failed, if you can, please add drive_id option to solve this.

IAmBlackat avatar Aug 18 '21 14:08 IAmBlackat

sorry but i don't have any account to implement or test this feature with, putting this on hold

spencerwooo avatar Aug 18 '21 18:08 spencerwooo

thank you very much, appreciate it

IAmBlackat avatar Aug 18 '21 19:08 IAmBlackat

@spencerwooo Have you tried Microsoft 365 Developer Program? You can create up to 25 business accounts with it.

BrandonStudio avatar Jan 03 '22 01:01 BrandonStudio

@spencerwooo Have you tried Microsoft 365 Developer Program? You can create up to 25 business accounts with it.

Every account in E5 developer subscription still only has one drive, which can not satisfy the situation.

However, it seems OneDrive API puts drive ID in url segements like GET /drives/{drive-id}/root/search(q='{search-text}'), so maybe setting "driveApi": "https://graph.microsoft.com/v1.0/me/drive/<drive_id>" in config/api.json is just enough. Not sure and more tests are required anyway.

myl7 avatar Jan 03 '22 11:01 myl7