Strategy One

Connect to Microsoft Dynamics 365 With User Level OAuth Authentication

Strategy ships the Microsoft Dynamics 365 JDBC driver to connect Microsoft Dynamics 365 as a data source using the User Level OAuth authentication method. User Level OAuth authentication is supported by Strategy Web and Strategy Workstation in Server Mode.

Data sources created using User Level OAuth will have access to the Microsoft Dynamics 365 data available only for authenticated users.

  1. In Strategy Web, click on the Create button > Add External Data.

  2. Find and select the Microsoft Dynamics 365 connector from the data source list.

  3. In the Select Import Options dialog, select an option and click Next.

  4. Next to Data Sources, click New Data Source to add a new connection.

  5. In the Data Source dialog, complete the required fields.

    To obtain the required parameters for User Level OAuth authentication, refer to Required Parameters for Authentication in Microsoft Dynamics 365

    .

  6. Click Save.
  7. In the OAuth Properties dialog, complete the required fields.

    To obtain the required parameters for User Level OAuth authentication, refer to Required Parameters for Authentication in Microsoft Dynamics 365

  8. Copy the Callback URL, as it is needed to whitelist in Entra ID (formerly Azure AD).

  9. Click OK to save the database connection.
  10. Access the application in Entra ID.
  11. Go to Application > Web > Redirect URIs and click Add URI.

  12. Click on the newly created database instance.

    The Entra ID authentication dialog appears.

    Your browser must allow pop-ups.

  13. In the Import dialog and under Data Sources, select the DYNAMICS365 namespace. Other namespaces contain system tables.

    After authenticating, the catalog is populated.

  1. In Workstation, next to Datasets, click Create a new dataset and choose a project.

  2. Choose an environment and project.
  3. Find and select the Microsoft Dynamics 365 connector from the data source list.

  4. In the Select Import Options dialog, select an option and click Next.

  5. Next to Data Sources, click New Data Source to add a new connection.

  6. In the Data Source dialog, complete the required fields.

    To obtain the required parameters for User Level OAuth authentication, refer to Required Parameters for Authentication in Microsoft Dynamics 365

    .

  7. Click Save.
  8. In the OAuth Properties dialog, complete the required fields.

    To obtain the required parameters for User Level OAuth authentication, refer to Required Parameters for Authentication in Microsoft Dynamics 365

  9. Copy the Callback URL, as it is needed to whitelist in Entra ID.

  10. Click OK to save the database connection.
  11. Access the application in Entra ID.
  12. Go to Application > Web > Redirect URIs and click Add URI.

  13. Click on the newly created database instance.

    The Entra ID authentication dialog appears.

    Your browser must allow pop-ups.

  14. In the Import dialog and under Data Sources, select the DYNAMICS365 namespace. Other namespaces contain system tables.

    After authenticating, the catalog is populated.

Related Articles

KB485063: Troubleshooting the Strategy Dynamics 365 connector in Strategy