![]() |
VOOZH | about |
Using SQL Server as a backup for critical business data provides an essential safety net against loss. Backing up data to SQL Server enables business users to more easily connect that data with features like reporting, analytics, and more.
This example demonstrates how to use the CData SSIS Tasks for Active Directory inside of a SQL Server SSIS workflow to transfer Active Directory data into a Microsoft SQL Server database.
To get started, add a new Active Directory source and SQL Server ADO.NET destination to a new data flow task.
๐ The Data Flow task used in this example. (Salesforce is shown.)Follow the steps below to save Active Directory connection properties in a connection manager.
To establish a connection, set the following properties:
BaseDN: This will limit the scope of LDAP searches to the height of the distinguished name provided.
Note: Specifying a narrow BaseDN may greatly increase performance; for example, cn=users,dc=domain will only return results contained within cn=users and its children.
Follow the steps below to specify the query to be used to extract Active Directory data.
SELECT Id, LogonCount FROM User๐ The SQL query to retrieve records. (Salesforce is shown.)
Follow the steps below to specify the SQL server table to load the Active Directory data into.
You can now run the project. After the SSIS Task has finished executing, your database will be populated with Active Directory data.
๐ The completed import. (Salesforce is shown.)Download a free trial of the Active Directory SSIS Component to get started:
Download NowLearn more:
๐ Active Directory IconPowerful SSIS Source & Destination Components that allow you to easily connect SQL Server with Active Directory directory services through SSIS Workflows.
Use the Data Flow Components to synchronize with Active Directory Users, Groups, Roles, Contacts, and more. Perfect for data synchronization, local back-ups, workflow automation, and more!