Active Directory Integration

​Microsoft Active Directory query data can be integrated and synchronized codeless with various other data sources, on-premise or in the cloud, using the Layer2 Cloud Connector. Please take a look here for supported systems and applications.​​​​

Active Directory Integration with Office 365 & SharePoint

​To connect to Microsoft Active Directory the data source entity must be configured as follows in the Layer2 Cloud Connector Connection Manager:

Integration of Active Directory

Fig: Example Active Directory data entity configuration.

Active Directory Specific Configuration Settings

  • ​Please select the OleDb Data Provider as data source. Refer to ADSDSOObject later on. Both should be installed on any Windows OS.
  • A valid connection string looks like this: Provider=ADSDSOObject;User Id=myUsername;Password=myPassword;
  • Please be aware that the connection will validate even if it has incorrect user information! Check to make sure the Username and Password are correct, else it can error when validating the select statement later.
  • Please note the optional page size parameter in connection string for longer lists (>1000 items). In some cases the page size must be set for the AD as well to work as expected:
  • See here for more about ADSI queries. A valid query can look like this:

    SELECT displayname, title, name, objectSID, ADSPath, givenName, sn, cn, company, department, l, mail, telephoneNumber From 'LDAP://myserver.mydomain.lokal/OU=MyOU, OU=Users,OU=MySubOU, DC=MyDomain,DC=lokal' WHERE objectClass='user' AND objectCategory='Person'
  • Please verify the select statement. If there are any issues, please check your access rights first (execute as admin).
  • Start with a very basic query and increase complexity step-by-step. Select as few fields as required to increase performance. Use the data preview to check out the result of your query.
  • The SQL supported by the Microsoft-based data provider is very specific. This is a known issue and not Layer2 product-related. You can find query samples in the internet via Google. In case of where conditions don't use "myField IS NOT NULL" or myField != ''. MyField = '*' could help.
  • You can find more examples here.
  • Primary Key: Include the unique ADSPath field in your query and use it as a "primary key" (unique column value) for synchronization.

Active Directory Integration - Known Issues and workarounds

  • You cannot sync local Active Directory content for administrative tasks, e.g. Office 365 / SharePoint user provisioning (ala DirSync). The connection is just for data sync, e.g. to SharePoint lists (including contact lists), Exchange contacts, SQL tables etc.
  • Note that some Active Directory properties / fields are binaries and do not have a ToString conversion implemented in ADSI. Those fields cannot be managed using the connector.
  • Date fields are returned as "System._ComObject" by the provider. There is no workaround for this so those fields cannot be managed using the connector
  • Images managed in the AD cannot be mapped / synchronized.
  • The data provider does not support DISTINCT operations, e.g. to create a list of departments. But you can sync to any SQL database or Microsoft Access first to have such type of operations available there. You can sync to other systems in a 2nd step from SQL to push e.g. departments to a SharePoint lookup list.
  • Note that the Microsoft ADSI data provider is read-only. No write-operations supported.
  • Alternatively there is an 3rd party AD / LDAP Data Provider available from RSSBus / CData. But there are also issues with write access in this case.
  • The connection string will still validate even if some of the information is wrong, like username or password is incorrect. Verify those are correct if you get unexplained errors when trying to validate the select statement.

Step-by-Step Intros For Active Directory Integration Scenarios

​You can integrate and sync with various sources listed here. More information about specific scenarios:

Next Steps For Evaluation

​​​You can register to download and evaluate the Layer2 Cloud Connector here.
Share this site on Xing
Share this site on Google+
Share this site on LinkedIn

The Layer2 Cloud Connector for Microsoft Office 365 and SharePoint is a great product to help integrate external data into your apps. Try it out and you will see many uses for it.


 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
How to buy this product

With the free Shareware Edition you can manage a limited number of items per connection. To order a license for the full version please click the shopping cart below.

Layer2 Cloud Connector
License List price Buy Now
FREE Shareware Edition * $0.00
FREE App Edition *
App Store only
$0.00 Go to App Store
Personal Edition
1 Single Server
License (one-time fee)
$499.00 Add to Shopping Card
1 Annual Software Assurance
for Personal Edition
$99.00 Add to Shopping Card
Professional Edition
1 Single Server
License (one-time fee)
$1,407.00 Add to Shopping Card
1 Annual Software Assurance for Professional Edition $281.00 Add to Shopping Card
Enterprise Edition **
1 Single Server
License (one-time fee)



Prepaid Remote Support
1 Hour
$176.00 Add to Shopping Card
Please contact [email protected] in case you want to order directly via Layer2 based on quote, invoice and bank transfer to Germany.


* The Shareware Edition and App Edition is limited to sync 25 items per connection.

** Starting with January 2015 all features of the Enterprise Edition are already included in the Professional Edition.

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.