Google Calendar Integration with Office 365, SharePoint and 100+


Google Calendar Integration and Synchronization can be codeless with various other data sources using the Layer2 Cloud Connector via 3rd party data providers. Please take a look here for supported target systems and applications like SQL, Office 365, SharePoint, Exchange, Dynamics and other.


To connect to Google Calendar, the source entity must be configured as follows in the Layer2 Cloud Connector Connection Manager:



Fig. Example connection configuration to connect to Google Calendar and sync to various other systems and apps without code.

Google Calendar Specific Integration Settings


​Please note the following Google Calendar specific settings.


  • Install the CData ADO.NET Provider for Google Apps. This provider is not part of the Layer2 Cloud Connector ADO.NET provider package and should be installed separately from the vendor's product page. It requires extra licensing.
  • Choose “CData ADO .NET Provider for Google Apps 2015” (exact name might vary) as “Data Provider” for your data entity (source and / or destination).
  • Follow the vendor instructions for setting up the connection string and select statement (see below for samples).
  • Set the connection string as required:
    OAuthClientId=myClientId; OAuthClientSecret=myClientSecret; InitiateOAuth=GETANDREFRESH; [email protected]
  • This Provider uses OAuth to connect to the Google Calendar API. The vendor has instructions on how to set up the OAuth clientIDs and Client Secrets, if you do not have one already set.
  • A Google client ID looks like 
  • A client secret looks like one encoded string of numbers and characters.
  • Note: The first time new credentials are used, your default browser will open a web page where you are asked to authorize access to your Google account. That then should no longer need to be done for later manual or automatic scheduled syncs.
  • Set the data query as required:
    SELECT * FROM CalendarEvents
  • By default, the query will take data from the main calender for the user given as the Email=; parameter in the connnection string. You can define other calendars with a WHERE clause and the CalendarId. For example:
    SELECT * FROM CalenderEvents WHERE CalendarId='<IDcode>'
  • You need to set a primary key as the Provider does not pass one automatically.
  • You can map your Google calendar data fields (as shown in the data preview) to specific external fields in the Layer2 Cloud Connector. Please take care about data types (simple type conversions are supported).
  • No installation or changes are required at the Google Calendar data source or data destination.
  • 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).
  • No programming required for setup a connection and sync.
  • No need to open your local network for access from outside.
  • Bi-directional sync is supported - please take care to use an appropriate primary key.

Known Issues and Workarounds with Google Calendar Data Integration


  • The Start and End Date fields, when used with the reoccurring or 'all day' event markers, may require that the date contain the time zone information as part of the data.
  • There's a known issue with Cloud Connector version 7.8+ where it cannot properly open the verification page for Google's OAuth connection. Trying to verify the connection will result in a timeout message. There are workarounds for this, however. Please contact [email protected] for further help.

Step-by-Step Intros For Codeless Google Calendar Data Integration and Synchronization


​Just some ideas what to connect next: 


  • Sync with Microsoft Exchange (on-premises or online) for calendar events and appointments, mobile access and offline availability on any device. Public folders also supported.
  • Sync with 3rd party tools like ERP/CRM/CMS based on SQL databases like Oracle, mySQL or Microsoft SQL Server.
  • Sync with Microsoft SharePoint or Office 365 for better collaboration (for example with customers or partners) or for intranet publishing. Change notofications and workflows fully supported.
  • Integrate with Microsoft Dynamics CRM/ERP/NAV etc.
  • Connect to SAP via NetWeaver and OData or Hana.


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.