This is a custom Dataverse connector for Microsoft Power Apps and Microsoft Power Automate to connect to the data of NinjaOne.
This is done using the NinjaOne public API provided by NinjaOne.
It allows you to get data from NinjaOne inside of you Microsoft Power App.
- In Ninja, navigate to
Administration
>Apps
>API
or click here (EU instance) and click onAdd
to create a new Client app - Fill in the Application Configuration as shown below.
Make sure to use the redirect URL orovided by the custom connector in the next step.
- Click on
Save
and take note of the client secret - Click on
Close
and then take note of the client ID
- Go to make.powerapps.com and open
Dataverse
>Custom Connectors
- Click on
New custom connector
>Import an OpenAPI file
and select the DataverseForNinjaOne.swagger.yaml file from this repo. - Fill the
1. General
tab with your NinjaOne URL (the base URL of your NinjaOne portal) and set the icon and color#2b3749
as seen below: - Fill the
2. Security
tab with the correct client id and secret as shown below: Note that theRefresh URL
isn't filled, and should be the same as theToken URL
.
- Click on
Create connector
You can now use NinjaOne as a datasource in your Power Apps and Power Automate!
Note that the data link is not live, meaning you need to call the endpoints any time you want the latest data.