Google Drive File Synchronization with Office 365, SharePoint & OneDrive


Dokuments shared on Google Drive can be integrated and synchronized codeless with various other systems and applications like SharePoint, Office 365 and OneDrive for Business using the Layer2 Cloud Connector via the Layer2 Data Provider for File System with very flexible sync options. The solution can close many gaps with SharePoint and Office 365 out-of-the-box file synchronization, e.g. regarding the number of files, file naming conventions, file types allowed, and more. Please take a look here for more supported systems and applications.​​​​​


Your files in Google Drive can be reached from any smartphone, tablet, or computer. So wherever you go, your files follow. You can quickly invite others to view, download, and collaborate on all the files you want–no email attachment needed. ​



Fig.: Documents in Google Drive to sync with SharePoint, Office 365 or OneDrive for Business.


But how to integrate your Google Drive documents with other systems like SharePoint, Office 365 or OneDrive for Business. You can do this via a synced local copy of the files. The Layer2 Cloud Connector must be configured as follows:



Fig.: Sample configuration of the Layer2 Cloud Connector to sync files from Google Drive via an intermediate local file share.

Google Drive Synchronization Specific Settings


​Please note the following specific settings.


  • Install the Google Drive tool and configure for local synchronization.
  • Synchronize your Google Drive account to a local folder e.g. to C:\Google Drive\.
  • Select the Layer2 Data Provider for File System to connect. The provider is part of the Layer2 Cloud Connector distribution and should be already installed, depending on installation options selected. You can also install separately if required.
  • Note that the driver architecture must fit to the Cloud Connector version installed (32- or 64-bit). 
  • You can use a connection string like this to connect:
    Directory=myDirectory; UID=myUser; PWD=myPassword
    myDirectory can be D:\myDir, \\myServer\myshare, or \\\c$\myShare (with any valid IP).
    In our sample myDirectory is C:\Google Drive\.
  • SQL-like data queries will be supported with next versions, e.g. only files with specific names, types or age.
  • You can map your source data fields (metadata like created, modified) to specific external source fields in the Layer2 Cloud Connector. Please take care about data types (simple type conversions are supported).
  • No primary key required to enter manually
  • You can use the connection for uni- or bi-directional synchronization. In case of two-way sync changes in SharePoint are synced with the file system by the Cloud Connector. The Google Drive client syncs it back to Google Drive automatically. Note: The first time a file is removed from Google Drive by sync a message box can appear to confirm delete. Deleted files are can be found in and restored from the Google Drive recycle bin.
  • No installation or changes are required at the data source or data destination, e.g. Google Drive, SharePoint etc.
  • Data synchronization can be started manually in the Connection Manager, per command line or scheduled in background by the Layer2 Cloud Connector Windows Service. Only data changes are processed (no delete / bulk import). Metadata added in SharePoint are kept during updates.
  • No programming required for setup a connection and sync.
  • No need to open your local network for access from outside.
  • Currently supported syncs: File Share to File Share, File Share to SharePoint / Office 365 / OneDrive for Business, SharePoint to SharePoint, e.g. local to cloud).


The Layer2 Cloud Connector has the following advantages compared to Microsoft out-of-the-box file sync offerings (currently named OneDrive for Business client):


  • Can be used with any version or plan of SharePoint (on-premises, externally hosted or cloud-based), Office 365, OneDrive for Business (not SP 2007).
  • Centrally managed server-to-server tool - not just an Office client.
  • Very flexible sync options like support of local directories, file shares, target library subdirectories, additional no-insert / no-update / no-delete options. Uni- or bi-directional sync. Sync files or just metadata.
  • There is no hard limit for the amount of files (e.g. 5.000 / 20.000 list view threshold with OOB). But take care about bandwidth limitations, especially for first sync. Only changes are synchronized later on.
  • SharePoint file name issues solved (requires V5.2 or higher). Special characters are replaced by default.
  • SharePoint file type issues solved (requires V5.2 or higher). Forbidden types are zipped automatically.
  • SharePoint empty file issues solved (requires 5.2 or higher).
  • Flexible column mapping, e.g. for mapping of file meta data to custom SharePoint list columns.
  • SharePoint view support during sync to sync several sources into one library. 
  • SQL support for file system queries (planned for next releases). You can e.g. sync specific date ranges ("new files") or specific file types only.
  • Several different options to solve replication conflicts. General error management.
  • Flexible authentication options, e.g. with specific Windows accounts or Windows integrated, Office 365, Active Directory Federated (ADFS).
  • Advanced logging options via NLOG (e.g.file, SQL, Windows etc.) with error notifications. Log levels.
  • File synchronization is just one option. It can sync data also SharePoint to SharePoint or with almost any other system or application, e.g. databases.
  • Cost effective licensing per installation: No user client access licenses (CALs) required.

Step-by-Step Intros for Google Drive File Integration and Synchronization


Just some ideas about systems to connect and sync with Google Drive:



Do you have more ideas? Just let us know. Can't find what you are looking for? Please contact [email protected] directly for more information.


Learn more about similar solutions for data migration, backup, integration, and synchronization by vendor and topic.

Ready to go next steps?

Register for free download.

Keep your Sharepoint in sync. Download and try today.

Questions? Contact us.

We are here to help. Contact us and our consulting will be happy to answer your questions.