SharePoint and OneDrive Folders

CompleteFTP Enterprise MFT can mount SharePoint document libraries and OneDrive storage as virtual folders. This integration uses the Microsoft Graph API to provide seamless access to Microsoft 365 cloud storage. Once mounted, users can access SharePoint and OneDrive files through FTP, FTPS, SFTP, or HTTP just like any other folder in the virtual file system.

Before a SharePoint or OneDrive folder can be mounted, you must register an application in Azure Active Directory and grant it the appropriate Microsoft Graph API permissions (typically Files.ReadWrite.All or Sites.ReadWrite.All).

Adding a SharePoint/OneDrive Folder

SharePoint and OneDrive folders are added to CompleteFTP's virtual file-system in the same way as other folders in the filesystem — via the Folders tab, by choosing New root folder or New sub-folder. In CompleteFTP Enterprise MFT, there is a SharePoint/OneDrive folder menu item. This brings up the Configure SharePoint / OneDrive Folder dialog box.

Configure SharePoint/OneDrive Folder

Authentication Settings

Authentication requires credentials from an Azure AD app registration. You will need:

Setting Description
Tenant ID The Directory (tenant) ID from your Azure AD app registration. This is a GUID that identifies your Azure AD tenant.
Client ID The Application (client) ID from your Azure AD app registration. This is a GUID that identifies your registered application.
Client secret A client secret created for your app registration. The secret should be kept confidential.

Target Selection

After configuring authentication, you must specify which SharePoint site or OneDrive storage to access:

Target Type Description
SharePoint Site Access a document library on a SharePoint site. This is the most common option. You must provide:
  • Site URL — The full URL of the SharePoint site (e.g., https://company.sharepoint.com/sites/Project)
  • Drive name — The name of the document library to access (default is Documents)
User's OneDrive Access a specific user's OneDrive for Business storage. You must provide:
  • User principal name — The user's email address (e.g., user@company.com)

Root Path (Optional)

You can optionally specify a Root path to mount only a subdirectory within the SharePoint document library or OneDrive storage. For example, entering Shared/Reports would mount only the contents of that folder rather than the entire drive.

Setting Up Azure AD App Registration

To use this feature, you must create an app registration in Azure Active Directory:

  1. Go to the Azure Portal and navigate to Azure Active Directory > App registrations.
  2. Click New registration and give your app a name (e.g., "CompleteFTP SharePoint Access").
  3. After registration, note the Application (client) ID and Directory (tenant) ID.
  4. Under Certificates & secrets, create a new client secret.
  5. Under API permissions, add the following Microsoft Graph permissions:
  6. Click Grant admin consent to authorize the permissions for your organization.

Important Notes

Additional Features

The SharePoint/OneDrive adapter supports additional features that are not currently exposed in the user interface, including certificate-based authentication, Teams Channel access, and direct Drive ID configuration. If you require any of these features or have other specific requirements for this adapter, please contact support for assistance.