Skip to main content

Configure Connection

Microsoft Defender XDR guide

Prepare an Entra application and certificate, configure NIM, and validate access to connected devices.

Before you beginDirect link to Before you begin

Follow Microsoft's Defender XDR API access documentation. NIM uses application access with certificate authentication, following the same general Entra application and certificate setup pattern used by other Microsoft integrations.

NIM requires Application ID, Organization, and Certificate.

The /machines test uses the Defender for Endpoint machine API. Follow Microsoft's app-only Defender for Endpoint setup for the corresponding API permissions.

Register the application and configure permissionsDirect link to Register the application and configure permissions

  1. In Microsoft Entra ID, open App registrations > New registration, name the application for NIM, and register it.
  2. Record the Application (client) ID and the tenant information for the organization you will connect.
  3. Open API permissions > Add a permission > APIs my organization uses, select WindowsDefenderATP, and choose Application permissions for the machine API.
  4. Add the permissions needed for your process. Microsoft's List machines API documentation lists Machine.Read.All for reading machine profiles; use the permissions documented for any additional management actions you intend to perform.
  5. Grant administrator consent for the configured application permissions.
Step 1 of 4