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 10 search box and choose the ODBC Data Sources application that matches the bitness of your 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. Most applications work with any of them, yet some applications require a specific type of DSN.
  3. Click Add. The Create New Data Source dialog appears.
  4. Select Devart ODBC Driver for Dynamics 365 and click Finish. The driver setup dialog opens.
  5. Enter the connection information in the appropriate fields.

    Basic Authentication

    If you choose this autentication type, specify your Dynamics 365 username and password.

    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.

  6. To test the connectivity, click Test Connection.
  7. Click OK to save the DSN.

See Also

Connection Options

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