This article explains how to deploy the SaaS Management data collector to your devices via NinjaOne RMM.
Note:
- SaaS Management uses different data variables from One during the deployment process. This allows SaaS Management to use one single script that you can deploy across all clients.
- You do not have to manually create a client within the SaaS Management platform. When the automation is run, NinjaRMM will automatically generate the client’s account in SaaS Management using their name and client ID from NinjaOne.
The SaaS Management agent can be easily deployed via the Scripting module within NinjaRMM.
Creating a Deployment Script in NinjaOne’s Scripting Library
- Open NinjaRMM
-
Navigate to the Administration > Library > Scripting Menu
- This menu will allow you to upload the Auvik SaaS Management Script which can be saved and deployed to your users
- After selecting the Scripting option, you’ll be shown a group of existing scripts within the NinjaOne RMM
- In the top right of the screen, select the Create New Script option
- A new screen will open
-
Fill out the script details on the right-hand side of the screen
-
Most fields on this screen can be configured to your desired settings, however, be sure to set the following:
- Language: Powershell
- Operating System: Windows
- Architecture: All
-
Most fields on this screen can be configured to your desired settings, however, be sure to set the following:
- In a separate tab, open Auvik SaaS Management
- Navigate to Org Preferences > Integrations > NinjaOne
- Copy the script highlighted in green from the SaaS Management platform
- Paste it into the scripting window on the left side of the NinjaOne script editor
- When you’ve successfully pasted the script into the NinjaOne script editor, click Save in the upper right-hand corner to save the script to your scripting library
Running the SaaS Management Deployment Script on a Group of Target Devices
Note: Depending on how your NinjaOne instance is configured, there are multiple ways to run the deployment script, including Scheduled Tasks, as well as under a specific policy. Saving the script to the library in the previous step should allow it to be used flexibly according to your desired configuration.
To run the script on a specific group of target workstations manually:
- Select the target workstations under the desired site OR search for a specific device under the Search menu on the left hand sidebar
- Once you’ve selected the desired devices, select Run > Run Script > then select the From Library option
- Select the SaaS Management Deployment Script saved in the prior step
- On the configuration screen, leave the Preset Parameter field blank
- Set the Run As option to System
Note: Typically the deployment script can be run successfully as the System user, however, you may need to select another role (Such as Local Windows Admin) based on your NinjaOne and Workstation configuration.
- Select the Apply options to run your script
-
-
You can monitor its progress under the Dashboard > Pending Scripts menu in NinjaOne
-
You can monitor its progress under the Dashboard > Pending Scripts menu in NinjaOne
If the script has run successfully, you’ll see the devices appear under the SaaS Management platform under Clients > (Select the Newly Created Client) > Users > Devices Tab after about 10 minutes.