Connect to Dynamics CRM Data in Airbyte ELT Pipelines



Use CData Connect Cloud to build ELT pipelines for Dynamics CRM data in Airbyte.

Airbyte empowers users to load your data into any data warehouse, data lake, or database. When combined with CData Connect Cloud, Airbyte users can create Extract, Load, Transform (ELT) pipelines directly from live Dynamics CRM data. This article illustrates the process of connecting to Dynamics CRM through Connect Cloud and constructing ELT pipelines for Dynamics CRM data within Airbyte.

CData Connect Cloud offers a dedicated SQL Server interface for Dynamics CRM, facilitating data querying without the need for data replication to a native database. With built-in optimized data processing capabilities, CData Connect Cloud efficiently directs all supported SQL operations, including filters and JOINs, straight to Dynamics CRM. This harnesses server-side processing to swiftly retrieve the desired Dynamics CRM data.

About Dynamics CRM Data Integration

CData simplifies access and integration of live Microsoft Dynamics CRM data. Our customers leverage CData connectivity to:

  • Read and write data in the Dynamics CRM 2011+ Services and Dynamics CRM Online.
  • Extend the native features of Dynamics CRM with customizable caching and intelligent query aggregation and separation.
  • Authenticate securely with Dynamics CRM in a variety of ways, including Azure Active Directory, Azure Managed Service Identity credentials, and Azure Service Principal using either a client secret or a certificate.

CData customers use our Dynamics CRM connectivity solutions for a variety of reasons, whether they're looking to replicate their data into a data warehouse (alongside other data sources) or analyze live Dynamics CRMa data from their preferred data tools inside the Microsoft ecosystem (Power BI, Excel, etc.) or with external tools (Tableau, Looker, etc.).


Getting Started


Configure Dynamics CRM Connectivity for Airbyte

Connectivity to Dynamics CRM from Airbyte is made possible through CData Connect Cloud. To work with Dynamics CRM data from Airbyte, we start by creating and configuring a Dynamics CRM connection.

  1. Log into Connect Cloud, click Sources, and then click Add Connection
  2. Select "Dynamics CRM" from the Add Connection panel
  3. Enter the necessary authentication properties to connect to Dynamics CRM.

    The connection string options meet the authentication and connection requirements of different Dynamics CRM instances. To connect to your instance, set the User and Password properties, under the Authentication section, to valid Dynamics CRM user credentials and set the Url to a valid Dynamics CRM server organization root. Additionally, set the CRMVersion property to 'CRM2011+' or 'CRMOnline'. IFD configurations are supported as well; set InternetFacingDeployment to true.

    Additionally, you can provide the security token service (STS) or AD FS endpoint in the STSURL property. This value can be retrieved with the GetSTSUrl stored procedure. Office 365 users can connect to the default STS URL by simply setting CRMVersion.

  4. Click Create & Test
  5. Navigate to the Permissions tab in the Add Dynamics CRM Connection page and update the User-based permissions.

Add a Personal Access Token

When connecting to Connect Cloud through the REST API, the OData API, or the Virtual SQL Server, a Personal Access Token (PAT) is used to authenticate the connection to Connect Cloud. It is best practice to create a separate PAT for each service to maintain granularity of access.

  1. Click on the Gear icon () at the top right of the Connect Cloud app to open the settings page.
  2. On the Settings page, go to the Access Tokens section and click Create PAT.
  3. Give the PAT a name and click Create.
  4. The personal access token is only visible at creation, so be sure to copy it and store it securely for future use.

With the connection configured and a PAT generated, you are ready to connect to Dynamics CRM data from Airbyte.

Connect to Dynamics CRM from Airbyte

To establish a connection from Airbyte to CData Connect Cloud, follow these steps.

  1. Log in to your Airbyte account
  2. On the left panel, click Sources, then Add New Source
    • Set Source Type to MSSQL Server to connect the TDS endpoint
    • Set Source Name
    • Set Host URL to tds.cdata.com
    • Set Port to 14333
    • Set Database to the name of the connection you previously configured, e.g. DynamicsCRM1.
    • Set Username to your Connect Cloud username
    • Set SSL Method to Encrypted (trust server certificate), leave the Replication Method as standard, and set SSH Tunnel Method to No Tunnel
    • (Optional) Set Schema to anything you want to apply to the source
    • Set Password to your Connect Cloud PAT
    • (Optional) Enter any needed JBDC URL Params
  3. Click Test and Save to create the data source.

Create ELT Pipelines for Dynamics CRM Data

To connect Dynamics CRM data with a new destination, click Connections and then Set Up Connection to connect to your destination. Select the source created above and your desired destination, then allow Airbyte to process. When it is done, your connection is ready for use.

Get CData Connect Cloud

To get live data access to 100+ SaaS, Big Data, and NoSQL sources directly from Airbyte, try CData Connect Cloud today!

Ready to get started?

Learn more about CData Connect Cloud or sign up for free trial access:

Free Trial