3 ms·
I recently changed my work desktop environment to Linux, however the transition has been a bit rough. The University I work for uses Microsoft OneDrive for file
by SubiculumCode 3y ago
I recently changed my work desktop environment to Linux, however the transition has been a bit rough. The University I work for uses Microsoft OneDrive for file storage and sharing, but won't authorize the 3rd party Linux onedrive app. I want the files locally, so the clunky web interface is a no go. I don't have a spare wINDOWS LICENSE.
There is however an official Android OneDrive app. So I installed an virtual android instance on my Linux workstation and logged in with the Onedrive app...but boom. The Ondrive app will store files locally, but not in the way of the Desktop app. Each file is named something random which is indexed by some database file, and the directory structure is not maintained at all. Making it pretty much unusable without some fix.
Its infuriating. A smart programmer might be able to make an interface that translates their directory system to the real one, but ugh.
- shemnei 3y agoI don't know if that helps in your case, but rclone is capable to sync onedrive ot a local folder (send/receiving). <https://rclone.org/onedrive/ https://rclone.org/onedrive/>
- SushiHippie 3y agoWith 3rd party do you mean this one? https://github.com/abraunegg/onedrive/ https://github.com/abraunegg/onedrive/ Or which one did you try?
- deleted 3y ago[deleted]
- Almondsetat 3y agocouldn't you run an absolutely minimal windows install in a virtual machine that boots up in the background and uses limited resources (1 CPU, 1GB RAM) and then use the virtual machine settings to share the OneDrive folder between host and guest?
- 5- 3y agohere's a hunch assuming you tried the below client: https://github.com/abraunegg/onedrive/blob/1a88d33be3e2c6747c5621ab9d97df9cd3ee727a/src/onedrive.d#L24 https://github.com/abraunegg/onedrive/blob/1a88d33be3e2c6747... try changing that to e.g. the android onedrive client's id (hint: possibly b26aadf8-566f-4478-926f-589f601d9c74). a similar trick works for exchange oauth (allowing third-party mail clients).
- SubiculumCode 3y agoI'll try it!!
- SubiculumCode 3y agoAADSTS65002: Consent between first party application 'b26aadf8-566f-4478-926f-589f601d9c74' and first party resource '00000003-0000-0000-c000-000000000000' must be configured via preauthorization - applications owned and operated by Microsoft must get approval from the API owner before requesting tokens for that API. So I don't think so..unfortunately.
- gespadas 3y agoTry insync (one-time payment), and works like a charm. I've been using it for a couple of years, zero problems. Syncs noy only OneDrive, also Google Drive and others. https://www.insynchq.com/ https://www.insynchq.com/
- bsimpson 3y agoI don't understand that intersection of constraints: - No Windows license - Works for a large institution - Institution's IT won't approve OAuth to a 3rd party client Did you have a Windows license before you switched to Linux? How are you meant to do your job?
- mschuster91 3y agoThis kind of crap is typical for "shadow IT" scenarios... like, email is done by central, but individual departments can run their own IT because central IT doesn't want to be bothered with the kind of demands that the people who want to run desktop Linux tend to have on the regular. And then, when stuff like OP crops up, they say "good luck, we only approve our system".
- anthk 3y agoGnome and Budgie desktop environments support Microsoft accounts just fine. Mail and everything will be synced.