Hi everyone,
The SharePoint Skill on DX suggested by
@VivekGoel should solve this problem. It's pretty well-documented but you'll need the help of your organization's SharePoint administrators in order to generate API keys and set it up. Once that's done, you can use it to download and upload files to SharePoint. This should be a much more robust and stable solution than mapping the SharePoint drive or synchronizing with OneDrive.
Cheers!
------------------------------
Sam Assaf
Senior
EY
Montreal QC
------------------------------