OneDrive
Files.com supports both OneDrive Personal and OneDrive for Business. You can integrate either account type with Files.com as a Remote Server Mount or through Sync.
A Remote Server Mount connects a specific folder on your Files.com site to OneDrive in real time. That folder becomes a window into the files stored in OneDrive. Any operation performed on or inside that folder acts directly on OneDrive: dropping a file, deleting a file, creating a subfolder, or any other file or folder operation your Files.com user has permissions for. The operation passes through to OneDrive in real time.
This enables use cases such as accessing files on a counterparty's cloud without provisioning individual user access, reducing storage costs by using on-premise or bulk storage, and enabling applications to access third-party clouds via the Files.com API, FTP, SFTP, or Files.com Apps.
Sync lets you push or pull files between your Files.com site and OneDrive. The files exist in both places at the end of the sync process. A push transfers files from your Files.com site to OneDrive; a pull transfers files from OneDrive to your Files.com site.
Add OneDrive as a Remote Server
Add a new Remote Server to your site, and select OneDrive as the remote server type.
Provide an Internal name for this connection. When you manage multiple remote servers, make the name clear enough to easily identify this particular connection.
Select the OneDrive Account Type that matches the account you are connecting: OneDrive Personal for a consumer Microsoft account, or OneDrive Business/Other for a work or school account.
OneDrive uses OAuth to authenticate your Files.com site to its service. Microsoft prompts you to select the account to use for the connection, which is especially important when you are already signed in to more than one Microsoft account. Make sure the selected account matches the account type you chose in Files.com.
Once your Remote Server is added, you can integrate it with Files.com as either a Remote Server Mount or a Sync.
Authentication and Access
OneDrive Personal accounts do not require a verified organization domain. Authenticate with the consumer Microsoft account that owns the OneDrive you want to connect.
For OneDrive for Business, your organization's OneDrive domain must be verified for Files.com to connect. The work or school account used to authenticate must have a valid email address associated with the verified domain. By default, the domain of the email address matches the verified domain, though Microsoft Entra can be configured to allow email addresses with domains that differ from the verified domain.
When connecting to OneDrive, Files.com can only access the OneDrive resources granted to the credentials used for the connection.
Both account types can be used with the Remote Server Mounts, Syncs, and Automations described on this page. Confirm that the OneDrive account authenticating the Remote Server connection has access to the required files and folders. Log in directly to OneDrive with the same account and verify that you can reach those resources. For a work or school account, contact your OneDrive administrator if you cannot.
Add a Remote Server Mount
Remote Server Mounts are created by mounting them onto an empty folder in Files.com. This folder is typically not the Root of your site, although Root is supported if you need it.
Add a Sync
After creating the OneDrive Remote Server, you can use it to perform Syncs between OneDrive and Files.com.
Automations
Folders configured with a Remote Server Mount to OneDrive can also be used with automations. OneDrive folders can serve as source locations or destinations for your automations.
Case Sensitivity
OneDrive file and folder names are case-preserving and case-insensitive. Names that differ only by capitalization identify the same item. Before copying or syncing from a case-sensitive source, resolve such name collisions to avoid overwrites or merged folder contents. See case sensitivity.
What To Do When Your Remote Server Connection Is Disabled
Because OneDrive uses the OAuth authorization protocol, authentication errors can occur even after your remote server has been configured and running smoothly for some time. When that happens, Files.com disables your OneDrive remote server connection and records the error in your External Events log.
Once you've resolved the problem that caused the authentication error, you can re-enable your remote server by saving its configuration. Even when you don't change the configuration, saving the record causes Files.com to re-enable the connection so that any associated mounts and syncs resume working.