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
- In NinjaOne, go to Administration → Apps → API and open Client App IDs.
- Click Add.
- Choose the application platform that offers the Client credentials grant.
- Name it
CMDash. - Under scopes, select Monitoring only.
- Under allowed grant types, select Client credentials.
- 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
- Go to Integrations and find NinjaOne.
- 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,caoroc.ninjarmm.com.
- Click Save & Test Connection.
What CMDash reads
| Data | NinjaOne API | If it fails |
|---|---|---|
| Devices with an agent: name, OS build, last contact, approval status, serial number, IP address, BitLocker state of each volume | GET /v2/devices-detailed | The sync fails. This is the required data. |
| Pending, failed and rejected OS patches per device | GET /v2/queries/os-patches | A 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
| Setting | Value |
|---|---|
| Sync frequency | Every 4 hours by default |
| Paging | Devices 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.