skip to main content
Welcome to Progress DataDirect for ODBC for Microsoft Dynamics 365 Driver: Version 8.0.0 : Installing and setting up the driver (Windows)
  

Try DataDirect Drivers Now

Installing and setting up the driver (Windows)

This section provides you with an overview of the steps required to install and set-up the driver. After completing this procedure, you will be able to begin accessing data with your application.
To begin accessing data with the driver:
1. Install the driver:
a. After downloading the product, unzip the installer files to a temporary directory.
b. From the installer directory, run the appropriate installer file to start the installer. The installer file takes the following form:
PROGRESS_DATADIRECT_ODBC_nn_WIN_xx_INSTALL.exe
c. Follow the prompts to complete installation.
Note: The installer program supports multiple installation methods, including command-line and silent installations. For detailed instructions, refer to the Progress DataDirect for ODBC Drivers Installation Guide.
2. Before you can use your driver, you must set the PATH environment variable to include the path of the jvm.dll file of your Java Virtual Machine (JVM).
3. To configure the driver using the ODBC Administrator (GUI), start the ODBC Administrator from the Progress DataDirect program group. The GUI dialog allows you to configure the data source definitions in the Windows Registry or generate connection strings.
Note: The Windows driver also supports using connection strings to connect to your service. For more information, see "Using a connection string."
4. Select either the User DSN, System DSN, or File DSN tab to display a list of data sources.
*User DSN: If you installed a default DataDirect ODBC user data source as part of the installation, select the appropriate data source name and click Configure to display the driver Setup dialog box.
If you are configuring a new user data source, click Add to display a list of installed drivers. Select your driver and click Finish to display the driver Setup dialog box.
*System DSN: To configure a new system data source, click Add to display a list of installed drivers. Select the your driver and click Finish to display the driver Setup dialog box.
*File DSN: To configure a new file data source, click Add to display a list of installed drivers. Select your driver and click Advanced to specify attributes; otherwise, click Next to proceed. Specify a name for the data source and click Next. Verify the data source information; then, click Finish to display the driver Setup dialog box.
5. The Connection tab of the Configuration Manager opens in a window. Provide values for the following essential connection options; then, click Apply:
For all connections:
*Data Source Name: Type a string that identifies this data source configuration, such as Projects.
*Description: Type an optional long description of a data source name, such as My Development Projects.
*Service URL: Type the base URL of the Dynamics 365 instance to which you want to issue requests. For example, https://mywebinstance.api.crm.dynamics.com/api/data/v9.1/.
For NTLM:
*Authentication Method: Determines which authentication method the driver uses during the course of a session. Set to 1 - NTLM.
Note: See NTLM authentication for details
For OAuth 2.0 refresh token grant:
*Authentication Method: Determines which authentication method the driver uses during the course of a session. Set to 24 - OAuth2.
*Client ID: Enter the client ID key for your application.
Important: The client secret is a confidential value used to authenticate the application to the server. To prevent unauthorized access, this value must be securely maintained.
*Client Secret: Enter the client secret for your application.
*Token URI: Enter the endpoint used to exchange authentication credentials for access tokens.
*Refresh Token: Enter the refresh token used to either request a new access token or renew an expired access token.
Important: The refresh token is a confidential value used to authenticate to the server. To prevent unauthorized access, this value must be securely maintained
Note: See OAuth 2.0 authentication for details.
6. Set the values for any additional connection options that you want to configure. To view more options, click on the tabs on the dialog. See the following resources for additional information on optional features and functionality:
*Connection string examples provides connection string examples that can be used to configure common functionality and features. The options and values described in this section apply to all configuration methods.
*Connection option descriptions provides a complete list of supported options by functionality.
*Configuring data sources with the Configuration Manager guides you through using the GUI to configure the driver.
*Performance considerations describes connection options that affect performance, along with recommended settings.
Note: For most connections, specifying the minimum required connection options is sufficient to begin accessing data; however, you can provide values for optional connection options to use additional supported features and improve performance.
7. Click Test Connect to attempt to connect to the data source using the connection options.
Note: The logon dialog box does not appear for OAuth 2.0 authentication.
8. If you are using NTLM authentication, the logon dialog appears. Update the following fields; then, click OK.
*Service URL: Enter the REST endpoint for the Dynamics 365 service to which you are connecting.
*User Name: Enter the Active Directory user name that is used to connect to the service.
*Password: Enter the Active Directory password for your service.
*NTLM Domain: Enter the NTLM domain.
Note: The information you enter in the logon dialog box during a test connect is not saved.
Note: The driver supports a number of authentication methods. See Authentication for more information.
9. If the test was successful, the window displays a confirmation message.
10. Click OK to close the setup dialog. The values you have specified are saved and are the defaults used when you connect to the data source. You can change these defaults by using the Configure to modify your data source, or you can override these defaults by connecting to the data source using a connection string with alternate values.
11. Connect to your service and begin accessing data with your applications, BI tools, database tools, and more. To help you get started, the following resources guide you through accessing data with some common tools:
*Example Application: The example application allows you to test connect, execute SQL statements, and practice using the ODBC API right out of the box.
*Power BI: Power BI is a business intelligence software program that allows you to generate analytics and visualized representations of your data.
*Tableau: Tableau is a business intelligence software program that allows you to easily create reports and visualized representations of your data.
*Microsoft Excel: Excel is a spreadsheet tool that allows you to connect, view tables, and execute SQL statements against your data.
*Supported SQL statements and extensions: This section describes the syntax used for SQL statements supported by the driver. You can modify and use the provided examples for your application or tool.
This completes the deployment of the driver.