The first thing that would come to mind would be to use our Duplciati rock-on. I’ve used it successfully to sync a share with Google Drive, and based on Duplicati’s forum, it can do OneDrive without problem as well:
Although I’ve never tried it myself, it should be working.
Of note, we have updated the image we use for the Duplicati rock-on last December, so make sure to click on the “Update” button on the top right of the Rock-ons page to make sure you will pull the latest version: