Use the onedrive protocol and connect to the graph.microsoft.com host:
From the prompt enter the connect command:
onedrive
connect onedrive://graph.microsoft.com
to synchronize and create some directory
onedrive --synchronize --verbose --dry-run
To upload once the directory is made
onedrive --upload-only --synchronize
Link: https://www.linuxuprising.com/2020/02/how-to-keep-onedrive-in-sync-with.html
https://filezillapro.com/docs/v3/filezilla-pro-cli/upload-files-onedrive-filezilla-cli/