Logo image
sales@layer2solutions.com
Contact ▪Search

Try for free

Pricing

  • File sync
  • Data Integration
  • Products
  • Partners & Clients
  • Support
  • News
Active Directory Integration and Synchronization
Layer2 Cloud Connector Logo
active-directory-logo
banner-arrow-right
100+ apps and systems

 

Active Directory Integration with Office 365 & SharePoint

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.​​​​

 

​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:
    https://support.microsoft.com/en-us/kb/315071
  • 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:

 

  • Integrate Active Directory with native SharePoint or Office 365 lists to create corporate phone book.

FIND RELATED SOLUTIONS HERE.

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

 

  • All
  • New
  • Popular
  • Amazon
  • Azure
  • Documents
  • Databases
  • ERP/CRM
  • Google
  • IBM
  • Microsoft
  • Oracle
  • Productivity
  • SAP
  • Social
  • Web Services

READY TO GO NEXT STEPS?

Ifoc for free trial product regsitration - Layer2 leading solutions

Register for free download

Keep your SharePoint in sync. Download and try it today.

Register Now
Contact Us Icon for Layer2 leading solutions

Questions? Contact us.

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

Contact us now
 

ABOUT US.

Layer2 leading solutions is the market-leading provider of data integration and document synchronization solutions for the Microsoft Cloud, focusing on Office 365, SharePoint, and Azure. Regional implementation partners and more than 3.200 companies worldwide trust in Layer2 products to keep data and files in sync between 150+ systems and apps in the cloud and on-premises.

Links.

General Data Integration

SharePoint Online Data Integration

SharePoint Online File Synchronization

SharePoint On-Premise Data Integration

Microsoft Teams Integration

Office 365 Data and File Migration

Azure Data Integration

Layer2 File Pal

Layer2 Cloud Connector

Layer2 Business Data List Connector

Layer2 Partner Network

Layer2 Clients by Industry

Contact Us

Sitemap

STAY CONNECTED.

Be up to date. Newsletter.

Subscribe

CERTIFIED.

© 1991-2023 Layer 2 GmbH • imprint, cookie consent and legal information