Skip to main content
← Back to NinjaOne

NinjaOne — Integration Setup

CMDash reads your NinjaOne devices, their OS build and BitLocker state, and the OS patches still pending or failed. It uses NinjaOne's read-only Monitoring scope and never changes a device.

Prerequisites

  • A NinjaOne account with devices under management
  • A NinjaOne administrator who can add API applications
  • Any CMDash plan. The connection uses one of your plan's integrations.

Step 1: Create an API application

  1. In NinjaOne, go to Administration → Apps → API and open Client App IDs.
  2. Click Add.
  3. Choose the application platform that offers the Client credentials grant.
  4. Name it CMDash.
  5. Under scopes, select Monitoring only.
  6. Under allowed grant types, select Client credentials.
  7. Click Save, then copy the client ID and the client secret.

Least privilege: Monitoring is NinjaOne's read-only scope. Do not add Management or Control: CMDash cannot use them.

Step 2: Connect in CMDash

  1. Go to Integrations and find NinjaOne.
  2. Click Connect and enter:
    • API key: the client secret.
    • Client ID: the client ID.
    • NinjaOne region: the host in your NinjaOne address bar: app, us2, eu, ca or oc .ninjarmm.com.
  3. Click Save & Test Connection.

What CMDash reads

DataNinjaOne APIIf it fails
Devices with an agent: name, OS build, last contact, approval status, serial number, IP address, BitLocker state of each volumeGET /v2/devices-detailedThe sync fails. This is the required data.
Pending, failed and rejected OS patches per deviceGET /v2/queries/os-patchesA token that may not read the report gives a note. Any other failure, including one part way through, marks the run partial and no patch status is shown that run.

Cloud monitors, network devices and other targets without an agent are not endpoints and are left out.

How the numbers are worked out

  • Managed coverage counts devices that contacted NinjaOne in the last 30 days. A decommissioned device counts as uninstalled.
  • Disk encryption reads BitLocker on the system drive (C:). Fully encrypted and protected counts as encrypted; fully decrypted as unencrypted. Encryption in progress, paused or suspended, and Macs, are unknown and left out of the percentage.
  • Patch status: a device is fully patched when the report lists no pending or failed OS patch for it. A rejected patch was an administrator's choice not to install it, so it does not count. Critical missing counts devices with a missing patch whose severity says critical.

Troubleshooting

  • Token exchange failed: HTTP 400 (invalid_client): the client ID or secret is wrong, or the application does not allow the client credentials grant.
  • Choose your NinjaOne region: pick the region that matches your NinjaOne address.

Rate limits and sync behavior

SettingValue
Sync frequencyEvery 4 hours by default
PagingDevices 1,000 a page by after until an empty page (up to 20,000); patches 1,000 a page by cursor until an empty page (up to 100 pages). More is marked partial.

Credential rotation

Add a new client secret or application, enter it in CMDash (Integrations → NinjaOne → Edit), confirm a successful sync, then remove the old one in NinjaOne.

Ready to see your posture?

Start a 30-day free trial of Starter, Essentials and Command. A card is required. The trial runs 30 days. Your card is first charged when it ends, unless you cancel. Or sign up for Free: free forever, one framework (CMMC Level 1, Level 2 or NIST CSF 2.0) for a small team.