I've been using a script to manage notification triggers in bulk. The last time it worked, I was running PRTG version 22.2.76.1705. I'm now running PRTG version 22.3.78.1873. The script imports a CSV containing the triggers to be set, connects to the PRTG server, finds the appropriate devices, removes any trigger currently set on the devices and then loops through adding the new triggers within the CSV.
The script now errors when it tries to execute Get-NotificationTrigger.
What is the output of 'Get-PrtgClient -Diagnostic'?
Get-PrtgClient -Diagnostic
Get-PrtgClient : Response status code does not indicate success: 403 (Forbidden).
At line:1 char:1
+ Get-PrtgClient -Diagnostic
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-PrtgClient], HttpRequestException
+ FullyQualifiedErrorId : System.Net.Http.HttpRequestException,PrtgAPI.PowerShell.Cmdlets.GetPrtgClient
PrtgAPI = 0.9.17
PRTG Server = 22.3.78.1873+
OS script is running from = Windows 2019 & Windows 2022
Describe the bug
I've been using a script to manage notification triggers in bulk. The last time it worked, I was running PRTG version 22.2.76.1705. I'm now running PRTG version 22.3.78.1873. The script imports a CSV containing the triggers to be set, connects to the PRTG server, finds the appropriate devices, removes any trigger currently set on the devices and then loops through adding the new triggers within the CSV.
The script now errors when it tries to execute Get-NotificationTrigger.
Steps to reproduce
What is the output of 'Get-PrtgClient -Diagnostic'?
Additional context
No response