You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"error": "Cannot connect to NinjaOne — verify your Region, Client ID, and Client Secret, and ensure the client app is type 'API Services' with Monitoring, Management, and Control scopes enabled.",
Copy file name to clipboardExpand all lines: plugins/NinjaOne/v1/docs/README.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,18 +4,18 @@ To use this data source, you will need to create OAuth2 API credentials in your
4
4
5
5
## Create NinjaOne API Credentials
6
6
7
-
1. Log in to your NinjaOne portal
8
-
2. Navigate to **Administration** > **API** > **Add Application**
9
-
3.Configure the application:
10
-
-**Application Name**: Enter a descriptive name (e.g., "SquaredUp Integration")
11
-
-**Allowed Grant Types**: Ensure "Client Credentials" is enabled
12
-
-**Scopes**: Select the following scopes:
13
-
-`monitoring` - Required for device monitoring data
14
-
-`management` - Required for management operations
15
-
-`control` - Required for control operations
16
-
-`offline_access` - Required for refresh tokens
17
-
4. Click **Create Application**
18
-
5.Copy the **Client ID** and **Client Secret**- you will need these when configuring the plugin in SquaredUp
7
+
1. Log in to your NinjaOne portal.
8
+
2. Navigate to **Administration** > **Apps** > **API** and click **Add**.
9
+
3.When prompted to choose an **Application Platform**, select **API Services**. This is what enables the Client Credentials grant type the plugin uses — **there is no separate "Client Credentials" checkbox to tick on the next screen.**
10
+
4. On the **Client app** screen, fill in:
11
+
-**Name**: A descriptive name (e.g., "SquaredUp Integration").
-`Monitoring` — required for device monitoring data
15
+
-`Management` — required for management operations
16
+
-`Control` — required for control operations
17
+
-**Allowed grant types**: `Refresh token` is **not** required by the plugin and can be left unticked.
18
+
5.Save the application. NinjaOne will then show the **Client ID** and **Client Secret**— copy both, as you'll need them when configuring the plugin in SquaredUp. (The Client Secret is only shown once on creation; if you lose it, use **Generate new secret** to issue a new one.)
19
19
20
20
## Configure the Plugin in SquaredUp
21
21
@@ -77,11 +77,11 @@ This plugin provides the following data streams for monitoring your NinjaOne env
77
77
78
78
## Troubleshooting
79
79
80
-
**Authentication Failed**: Ensure your Client ID and Client Secret are correct and that "Client Credentials" is enabled as an allowed grant typein your NinjaOne API application.
80
+
**Authentication Failed**: Verify your Client ID and Client Secret are correct. Also check that your NinjaOne client app was created with the **API Services** application platform — this is what makes Client Credentials the active grant type. There is no separate "Client Credentials" checkbox in the client app screen; if you picked a different platform (e.g. Web app), the OAuth token request will fail.
81
81
82
82
**No Data Returned**: Verify that the selected API Region matches your NinjaOne instance region.
83
83
84
-
**Insufficient Permissions**: Ensure the API application has all required scopes (`monitoring`, `management`, `control`, `offline_access`).
84
+
**Insufficient Permissions**: Ensure the API application has all required scopes (`Monitoring`, `Management`, `Control`).
0 commit comments