Enable the Dynamics 365 JDBC Driver in KNIME



Use standard data access components in KNIME to create charts and reports with Dynamics 365 data.

One of the strengths of the CData JDBC Driver for Dynamics 365 is its cross-platform support, enabling integration with major BI tools. Follow the procedure below to access Dynamics 365 data in KNIME and to create a chart from Dynamics 365 data using the report designer.

About Dynamics 365 Data Integration

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

  • Read and write data in the full Dynamics 365 ecosystem: Sales, Customer Service, Finance & Operations, Marketing, and more.
  • Extend the native features of Dynamics CRM with customizable caching and intelligent query aggregation and separation.
  • Authenticate securely with Dynamics 365 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.
  • Use SQL stored procedures to manage their Dynamics 365 entities - listing, creating, and removing associations between entities.

CData customers use our Dynamics 365 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 365 data from their preferred data tools inside the Microsoft ecosystem (Power BI, Excel, etc.) or with external tools (Tableau, Looker, etc.).


Getting Started


Define a New JDBC Connection to Dynamics 365 Data

  1. Go to File -> Preferences -> KNIME -> Databases
  2. Click Add File and add the cdata.jdbc.dynamics365.jar. The driver JAR file is located in the lib subfolder of the installation directory. CData drivers added to a KNIME workflow.
  3. Click Find driver classes
  4. Set the ID and the Name of the connection (you can set any values you prefer for these fields as they are not restricted)
  5. Set the URL template. A typical JDBC URL is provided below: jdbc:dynamics365:OrganizationUrl=https://myaccount.operations.dynamics.com/;Edition=Sales;InitiateOAuth=GETANDREFRESH
  6. For assistance in constructing the JDBC URL, use the connection string designer built into the Dynamics 365 data JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.

    java -jar cdata.jdbc.dynamics365.jar Connection properties added to CData driver

    Additionally, please refer to our documentation to learn more about Connection Properties

  7. Click OK to close the configuration section. Registering new database CData drivers in KNIME workflow.
  8. Under Node Repository go to DB -> Connection -> drag and drop DB Connector. Double-click on it and change the driver name to the driver you just configured, in this case, Dynamics 365 (ID: Dynamics 365). The Database URL should change automatically. Configuring the CData driver
  9. Click Apply and OK to save changes. Authentication
  10. Right-click on the connector and select Execute. You will see that the connector will allow you to redirect to the browser where you will need to log in and allow access. After that, you will get connected successfully. Executing the DB Connector
  11. Now you can go to the Read/Write section in Node Repository and get a DB Query Reader, to be able to execute a query. DB Query Reader

  12. Double-click on your DB Query Reader and click the refresh button to load the metadata. Create an SQL Statement and click Evaluate. After clicking Evaluate you will be able to see the records requested. To learn more about the tables/views that are listed in our driver please refer to our Data Model. DB Query Reader to load the metadata

Get Started Today

Download a free, 30-day trial of the CData JDBC Driver for Dynamics 365 and start building Dynamics 365-connected charts and reports with KNIME. Reach out to our Support Team if you have any questions.

Ready to get started?

Download a free trial of the Dynamics 365 Driver to get started:

 Download Now

Learn more:

Dynamics 365 Icon Dynamics 365 JDBC Driver

Rapidly create and deploy powerful Java applications that integrate with Dynamics 365.