I am trying to access my 'Onedrive for Business' storage from the Linux console, specifically a headless Ubuntu 16.04 server. The only officially supported method is the Windows sync application.
I want to use Onedrive as a remote filesystem to extend my local storage, rather than duplicating all files locally with a sync client.
'Onedrive for business' is really a variant of Sharepoint that will not accept a username and password over webdavs - there must already exist an authentication cookie for the webdavs client.
I have successfully mounted the remote storage as a webdavs folder in Windows 10 by adapting these instructions: https://www.imss.caltech.edu/content/mounting-onedrive-business-mapped-drive but it only works after logging in to our Onedrive website with Internet Explorer to create a cookie that is used by Windows Explorer.
On Linux can I can replicate this behavior by logging in to the Onedrive website in the Konqueror web browser and then using that cookie to connect to webdavs in the Konqueror file browser. This is better than nothing, but I really need console access. Unfortunately KioFuse appears to be long abandoned.
Other than Konqueror, is there any way to do this that will make the remote filesystem accessible to the Linux console? I have looked at davfs2, gvfs, and cadaver, but I can't find any documentation for using an existing cookie for authentication.