Layer2 Cloud Connector  for Office 365 and SharePoint

​The Layer2 Cloud Connector can be used to connect and synchronize Salesforce data with almost any other data source codeless and bi-directional. This step-by-step intro shows how to integrate with native SharePoint lists in the Microsoft SharePoint Online / Office 365 cloud. SharePoint 2010/13/16 on-premise is supported as well. Note that SharePoint is just an example. You can also sync Salesforce to any SQL or other supported data sources.

Salesforce Integration with Office 365, SharePoint and others


Fig.: You can connect Salesforce data with almost any other data source using the Layer2 Cloud Connector.

You can integrate Salesforce with Office 365 and SharePoint in 5 simple steps without any programming:

  • Retrieve a security token from Salesforce. No installation or modification is required on the Salesforce side.
  • Install the Salesforce Data Provider in your local system or cloud-based VM.
  • Configure the Layer2 Cloud Connector to connect to Salesforce.
  • Configure the Layer2 Cloud Connector to connect to Office 365 or SharePoint.
  • Configure field mapping and data synchronization options between the data entities.

Salesforce Integration - Get the security token

As a pre-consideration to integrate your Salesforce with Office 365 you have to register for the Salesforce Developer Edition. Please note that this is not about programming, but just to receive the required Salesforce Security Token later on.

Fig.: Please register for the Salesforce Developer Edition to receive your Security Token.


You will receive a registration mail. Please login as provided and goto My Settings.




Fig.: Go to Salesforce My Settings to receive a Salesforce Security Token.
Fig.: Reset the Salesforce Security Token to use in the Layer2 Cloud Connector.
You will receive an email with your user name and security token. Please note that your password and the security token are different items.

Installation of ODBC Data Providers for Salesforce

Generally you can make use of different data providers from several vendors to connect to salesforce using the Layer2 Cloud Connector:
Progress Data Provider (advised):
Please download the trial version of the driver from: 

You need to register for the download). Unpack the file and run setup.exe. Read / Write access verified by Layer2. There open issues with insert operations (driver related). Please make sure to use 32-bit or 64-bit version - the architecture must fit to the Cloud Connector version installed. Create a System DSN ODBC connection to make use later on for background sync.
DevArt Data Provider (alternatively):

Please download and install the DevArt ADO.NET Provider for Salesforce as 30-days trial. Execute dcsalesforce.exe for installation. Please note that this provider must be licensed later on additionally to the Layer2 Cloud Connector. Standard Edition is enough. Read access verified by Layer2.

Salesforce Integration - Configure the Salesforce connection

​As a sample we are going to integrate the Salesforce Accounts list.




Fig.: Salesforce accounts to be synchronized with Office 365, SharePoint or other systems.
You are now ready to configure the connection to Salesforce in the Layer2 Cloud Connector. Click "Create New Connection" and carefully setup the direction of sync. You can enable scheduling later on.

Fig.: Setup the connection to salesforce in the Layer2 Cloud Connector.

Now you have to configure the Salesforce data entity as follows:

  • Data Entity Title: Enter as you want.
  • Entity Type: Source in case of this uni-directional connection. You can set at the connection's page.
  • Data Provider: In case of DevArt select dotConnect for Salesforce or other (depending on vendor). If it does not appear in the list it is not installed or does not fit to your Cloud Connector version (32-bit / 64-bit). Please install again in this case. For Progress / Data Direct create a System DSN entry using the DataDirect 7.1 Salesforce driver.
  • Connection String:;
    User ID=<email-address> to be replaced with your salesforce user id (email-format);
    Password=<password> to be replaced with your salesforce password (not token);
    Security Token=<token sent from salesforce> to be replaced with the Salesforce security token
  • Select Statement: In this sample "select * from Account". You can query all Salesforce objects and make use of standard ANSI SQL, e.g. using where conditions.
  • You don't have to enter any primary key (it is managed automatically).

You will find more documentation here



Fig.: Sample Salesforce connection in Layer2 Cloud Connector.
Please verify all settings and display the preview data.

Salesforce Integration - Office 365 or SharePoint Connection

​You have to create the SharePoint list to host your Salesforce data manually before connect. Please add appropiate fields or use pre-configured list types, e.g. contacts in this case.

Now you can connect the SharePoint data entity as follows:

  • Data Entity Title: Enter as you want.
  • Entity Type: Destination in case of an uni-directional connection. You can setup at the connection's page.
  • Data Provider: Select Layer2 Provider for SharePoint to connect to SharePoint or Office 365.
  • Connection String:
    URL=<URL of SharePoint Site>
    List=<your List name or title>. In this case a contact list "Contacts"
    View=<your View name or title>. Not used in this case, but helpfull to provide certain fields only and sync more than 5.000 items.
    Authentication=<Your Authentication Method>. Windows in this case, can also be "Office365" or "ADSF". See below for more details.
    User ID=<userID> Your SharePoint Login
    Password=<password> Your SharePoint password
  • There is no select statement here, but views should be used instead of.
  • No need to give a primary key here, SharePoint Item ID is used internally.
  • While writing changes to your SharePoint list you can disable insert, update or delete operations, if required (e.g. for data aggregation or archiving).

You will find more details in the Layer2 Data Provider for SharePoint specification


Please verify all settings and display the preview data. As a next step you can map your source data fields to columns in the data destination. In this sample you can't use auto-mapping (based on field names) because names are different in Salesforce and SharePoint. Please also note the mapping of the SharePoint Title field (required in SharePoint).
Fig.: Field / Column mapping between Salesforce and SharePoint
Now you are ready to run the first synchronization as follows:

Fig.: Manual synchronization between Salesforce and SharePoint (first run). You can sync changes automatically in background later on.

As expected contact items are inserted into SharePoint. In case of error messages follow the instructions, e.g. improve field mapping. Please note that the first sync can take a while, depending on amount of data. If all looks good, please run sync again. You should have no changes in SharePoint in case there were no changes in Salesforce. If you see changes (e.g. all items changed with each run) your configuration does not work as expected, e.g. because of invalid data type conversions. Please improve configuration (e.g. column types). When all works as expected, you can enable scheduling. Please make sure that your Layer2 Windows Service is up and running to process the changes in background. No need to have the Connection Manager open or being logged-in at the computer.



Fig.: Salesforce account data synchronized with SharePoint contacts.

In this sample SharePoint Server 2010 on-premises is used to connect to Salesforce, but it works in the same way with SharePoint Server 2013 (also with the free Foundation) or SharePoint Online, Office 365, OneDrive for Business - or almost any other data source.

Salesforce Integration - Next Steps

​Please note:
  • The background replication interval is set to 60 minutes in the configuration file by default. Can be changed later on as required.
  • Bi-directional replication can also be used. That means, you can write-back changes in SharePoint to Salesforce (if supported by the data provider and access rights). You have to specify a primary key in the Cloud Connector connection settings for the Salesforce data entity that:
    - Is writable in Salesforce
    - Is NOT auto-incremented  (so Salesforce RowID would not work for example)
    - Is unique
    - Is always filled (no blanks allowed)

    You could for example use the email-address or a customer-number, if they meet the mentioned pre-requisites. There is no need to use the same key field on both sides, so you could for example use email-address as key for Salesforce and item ID as key for SharePoint.
  • You can specify one-way replication as well, if required (see manual), e.g. in a migration scenario.
  • Automapping is disabled here because the fields in Salesforce have different names compared to the SharePoint contact list.
  • You have to generate an Access Token in your Salesforce settings to enable SalesForce API usage.
  • It's not about bulk import: Only changed items are modified in the connected systems. Means workflows and notifications on data change can be used on both sides, SharePoint and Salesforce.
  • You can have unmapped fields on both sides to host information on one side only, e.g. pictures or other attachments on SharePoint side.
  • On the SharePoint side ALL usual list features are supported, e.g. views, lookups, offline replication with Outlook, mobile access, metadata assignment etc.
  • The replicated items are fully integrated with SharePoint search (because they are in a native SharePoint list ;-)
  • No programming was required to setup.
  • In the same way you can replicate to almost any other data provider, e.g. to SQL, other CRMs etc. Simply replace the data entity section of the configuration as required.
  • Your SharePoint users do not need any Salesforce licenses as they work with a data copy only.
  • You will have maximum performance, reliability and security on the SharePoint side. SharePoint users do not require any access to Salesforce.
Share this site on Xing
Share this site on Google+
Share this site on LinkedIn

This is an owesome tool that allowed us to sync SQL Server and SharePoint data to Office 365 with ease. We were also able to retrieve data from Active Directory into SQL Server in a snap. Their support team is amazingly fast responsive.


 Download & Evaluation

Please register now to receive your free personal download link via email to your valid company email address.
Yes, I accept the licensing terms and conditions
Frank Daske

Frank Daske

Business Development Manager
+49 (0) 40 28 41 12 - 30
[email protected]

Please note that the 011 exit code must be dialed first for all international calls made from the USA, Canada and Australia.

Related News

Layer2 now connects 100+ commonly used IT systems with Twitter via its Layer2 Cloud Connector

The Layer2 Cloud Connector is now able to connect Twitter to integrate data to a wide range of IT backend systems including Office 365, SharePoint, SQL, ERP/CRM.

New Microsoft Teams Connectors: Layer2 adds 100+ typically used backend systems

​The Layer2 Cloud Connector is now able to connect to Microsoft Teams to quickly integrate more than 100 IT backend systems including local SQL, ERP/CRM.
Related Downloads
PDF Image

Cloud Connector Instruction

Download this step-by-step instruction to connect and sync your corporate or cloud data sources bi-directional to any native SharePoint 2010/2013/2016 list or library, including Microsoft Office 365.
PDF Image

Feasibility Study: Connecting local SQL Server to SharePoint Online

The study compares different approaches for SharePoint Online data integration regarding performance, features, security and investment.
PDF Image

Flyer: Layer2 Partner Program

Partner with us as a software distributer, reseller or SharePoint, Office 365 or Azure service provider. We are offering a free Partner Program with up to 30% Discount, free NFR licenses etc. Please download for more.
PDF Image

Layer2 Case Study: Cloud Connector helps ChemWerth to integrate the Microsoft Office 365 Cloud

"The Cloud Connector’s interface is easy to understand and use. Anyone familiar with utilities in the Microsoft stack will be productive immediately. Our recommendation: The Layer2 Cloud Connector is a no brainer.”
NoDoc Image

Layer2 Cloud Connector PAD File

This XML-based PAD file offers a Layer2 Cloud Connector product description for resellers to download and publish.
PDF Image

Office 365: How to sync with MS Dynamics CRM

You can sync any CRM data with native lists in SharePoint on-prem or online to make it available offline with Outlook.
PDF Image

Office 365: How to sync with SAP?

You can connect SharePoint and Office 365 with SAP via NetWeaver and OData.
PDF Image

Office 365: How to sync your local file share?

When you are moving to the cloud, there are a lot of reasons to keep your local file system. But you don't have to miss the benefits of the cloud.
PDF Image

Product Flyer: Cloud Connector for Microsoft SharePoint & Office 365

Flyer with features, benefits & pricing info for download as PDF.
PDF Image

Product Flyer: SharePoint Online Local File Server Sync

You can centrally migrate, synchronize, or backup your local file server department shares and home drives very flexible with SharePoint Online to close known gaps and overcome limitations of the Microsoft OneDrive for Business client.
PDF Image

Solutions Flyer: Data Integration with SharePoint, Office 365 and 100+

FileMaker can be integrated with 100+ other sources codeless using the Layer2 Cloud Connector.
Related Links

Layer2 Cloud Connector Community Group @ LinkedIn

​Are you already @ LinkedIn? Please join the Cloud Connector Community Group to share your experience.

Microsoft Partner Story Book for Office 365 about Cloud Connector

​Know more about a Layer2 Cloud Connector customer reference at the Microsoft Office web site.

Purchase Layer2 Cloud Connector via ComponentSource

​ComponentSource has offices in the USA, UK and Japan supporting over 125,000+ Customers, in over 180 Countries. They are also an approved Federal Government supplier through the GSA Schedule.



Sign Up for Layer2 Product Newsletter

We keep you up-to-date about new Layer2 product releases, added features and fixed issues.