ODBC Driver for Dynamics 365

Connecting ODBC Driver to Dynamics 365



Windows DSN Configuration

After installing the driver, create a DSN for Dynamics 365 in the ODBC Data Source Administrator.

  1. Open the ODBC Data Source Administrator.
    • Type ODBC Data Sources in the Windows search box and choose the application that matches the bitness of the third-party application (32-bit or 64-bit). You can also open ODBC Data Sources from Control Panel > Administrative Tools. Note that before Windows 8, the icon was named Data Sources (ODBC).
    • Alternatively, you can run C:\Windows\SysWOW64\odbcad32.exe to create a 32-bit DSN or C:\Windows\System32\odbcad32.exe to create a 64-bit DSN.
  2. Select the User DSN or System DSN tab. Most applications work with both types, yet some applications require a specific type of DSN.
  3. Click Add. The Create New Data Source dialog will appear.
  4. Select Devart ODBC Driver for Dynamics 365 and click Finish. The driver setup dialog will open.
  5. Enter the connection information in the appropriate fields.
  6. Basic Authentication

    If you choose this authentication type, enter the username and password for your Dynamics 365.

    Token-Based Authentication

    If you authenticate with OAuth2, click Sign In with Dynamics 365, enter your credentials, and grant the requested permissions to generate a refresh token.

  7. You may test the connectivity by clicking Test Connection.
  8. Click OK to save the DSN.

See Also

Connection Options

© 2015-2022 Devart. All Rights Reserved. Request Support ODBC Forum Provide Feedback