Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

I hope you can add drive_id option. #57

Open
IAmBlackat opened this issue Aug 18, 2021 · 4 comments
Open

I hope you can add drive_id option. #57

IAmBlackat opened this issue Aug 18, 2021 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@IAmBlackat
Copy link

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.

@spencerwooo spencerwooo added the help wanted Extra attention is needed label Aug 18, 2021
@spencerwooo
Copy link
Owner

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

@IAmBlackat
Copy link
Author

thank you very much, appreciate it

@BrandonStudio
Copy link

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

@myl7
Copy link
Collaborator

myl7 commented Jan 3, 2022

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Development

No branches or pull requests

4 participants