Closed thangld201 closed 2 years ago
Could you help me @KTibow ?
You need to modify the
client_secret = 'client_secret'
client_id='client_id'
part with credentials from Azure (link was old, it might not work).
Thanks for the reply @KTibow. I just realize that my account is OneDrive for Business. As you answered here, sadly, this library doesn't work for OneDrive Business anymore. Still, I appreciate your help a lot.
I installed onedrive-sdk-fork (after seeing that onedrive-sdk fails to work under any usecases), then tried the following code (in README):
I followed here to generate a client id (I don't create client secret).
Then I opened the url in the terminal and get redirected to a microsoft page, where I got the error:
My question is how can I get the proper client_id ? (I have a onedrive account)
P/s: I'm attempting to mount my onedrive storage onto Google Colaboratory. Previously I tried with Rclone, which seemed fine at first but are actually unstable. Often, files that I write to onedrive through Rclone don't show up in onedrive storage for unknown reasons, quite irritating to be honest. If you know anyway to resolve this please help me !