Want this feature implemented, too? Please upvote by clicking Thumbs up!
(Posts as a reply won't be published in this feature request thread. Read Me!)
User story
As a PRTG user, I want to able to use the "Credentials for Microsoft 365" as Custom Variable in a custom Sensor Script. In the custom Sensor Script i use the “Teant ID”, “Client ID” and “Client secret” informations which are hardcoded in the script right now. I think that the custom variables should be extended in general.
Details of user story
In your article https://www.paessler.com/manuals/prtg/custom_sensors#command_line there are a lot of Command Line Parameters for Custom Sensors. I want to create a powershell script which queries the Microsoft API and gives back some values. On the device it self I can configure the "Credentials for Microsoft 365" which I want to use in the custom powershell script. Is there a command-line parameter for the "Credentials for Microsoft 365" ? How can I use the parameters defined in "Credentials for Microsoft 365" in a custom script?
Acceptance criteria
- It should be possible to use the "Credentials for Microsoft 365" as Custom Variable (placeholder) in a custom Sensor Script
Status
Open