Skip to main content

Configure Connection

Microsoft Dynamics 365 guide

Register an application in Microsoft Entra ID, configure certificate authentication in NIM, and test access to Dynamics 365 accounts.

Before you begin

You need access to create an application registration in Microsoft Entra ID and an application user with the appropriate security role in the target Dynamics 365 environment.

Authentication method

This connector uses an Entra application registration and certificate authentication. Keep the private-key .pfx certificate secure.

NIM requires Application ID, Directory ID, Resource (Tenant) URL, and a Certificate for authorization.

Create an application registrationDirect link to Create an application registration

Follow Microsoft's application registration instructions to create an application in the tenant associated with your Dynamics 365 environment.

  1. Open the Microsoft Entra admin center and go to Entra ID > App registrations.
  2. Select New registration, enter a descriptive name such as NIM Dynamics 365, choose Accounts in this organizational directory only for a single-tenant integration, and select Register.
  3. On the application Overview page, record the Application (client) ID and Directory (tenant) ID. You will enter both values in NIM.

Create and upload a certificateDirect link to Create and upload a certificate

  1. Create a certificate using your organization’s approved certificate process. Export both formats:
    • An X.509 public certificate in .cer format.
    • A password-protected certificate with its private key in .pfx format.
  2. In the Entra application registration, open Certificates & secrets > Certificates and select Upload certificate. Upload the .cer file.
  3. In NIM, go to Settings > Certificates, select Add a certificate, and upload the .pfx file.
Protect the private key

The .pfx file contains the private key used by NIM. Store it only in approved locations, restrict access to it, and plan to replace it before it expires.

Step 1 of 4
Use least privilegeStart with a test environment and a narrowly scoped Dynamics 365 role. Expand permissions only after validating the specific NIM tables and operations your process requires.