ability to work with scope onedrive.appfolder
benjaminNZ opened this issue · comments
I created the permissions but couldnt seem to get the /drive/special/approot to work.. Guessing more api changes?
Be handy for permissions to only allow the upload script access to its own folder.
I added the scope onedrive.appfolder to the authorization and removed the normal readwrite
I had no "apps" folder so i created one to try create the Apps\appnamehere but using that didnt work..
https://dev.onedrive.com/misc/appfolder.htm
https://dev.onedrive.com/items/special_folders.htm
It says it will make the folder upon writing to it..
Did you checkout the latest version of the script and follow the instructions from the README file?
You need to remove all permissions for your app (Link) and reauthorize using the latest version of the script.
You also need to change
export api_permissions="onedrive.readwrite"
to
export api_permissions="onedrive.approot"
and
export api_root_folder="root"
to
export api_root_folder="special/approot"
Hi, Sorry im a github noob. Saw the 'notes' which were actually your commits.
Just tried and tested. Thanks for getting onto this so quickly! Handy to use up some of that space for some backups.
I hope I'm not misunderstanding your answer, but it reads as if the issue is fixed for you and the approot setting works as expected.