Accessing SharePoint Online files from Azure VM

Travis Rothlisberger 6 Reputation points

Azure file storage allows direct access from a VM by mounting the share over SMB. We setup a couple Ubuntu VMs for parallel processing work and the data that is being processed was migrated from SharePoint Online to Azure so that we could access it directly from the VM as a mount. However, most of our other work is being shared in OneDrive \ SharePoint Online and when there's a need to move data between the VM and SharePoint, it's relatively cumbersome (using either the web interface or rclone to create local copies).

Is it technically feasible that we could eventually get direct access to SharePoint Online files over SMB or something similar? I've seen mention of using WebDAV, but all indications are that it's too slow for any practical use (and not readily accessed from Linux).

Thanks in advance.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,152 questions
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,518 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jinwei Li-MSFT 4,721 Reputation points Microsoft Vendor

    Hi @Travis Rothlisberger

    I would suggest you try to use Sync files with OneDrive in Windows.
    With OneDrive, you can sync files between your computer and the cloud, so you can get to your files from anywhere - your computer, your mobile device, and even through the OneDrive website at If you add, change, or delete a file or folder in your OneDrive folder, the file or folder is added, changed, or deleted on the OneDrive website and vice versa. You can work with your synced files directly in File Explorer and access your files even when you’re offline. Whenever you’re online, any changes that you or others make will sync automatically.

    Sync files with OneDrive in Windows
    Sync OneDrive files and folders

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.