Skip to content

Adding new sensors not working after update to version 23.3.86.1520 #345

Description

@imaderaya

Describe the bug

Hello,

After updating PRTG to version 23.3.86.1520, Adding sensors is not working any more.
The error message : Could not authenticate to PRTG; the specified username and password were invalid

Steps to reproduce

Code Example:

Connect-PrtgServer -Server "https://prtgserver.com" (New-Credential "username" "passwd");
$device = Get-Device -Id 126556;
$device | New-SensorParameters -RawType ping | Add-Sensor

Result:

Add-Sensor : Could not authenticate to PRTG; the specified username and password were invalid.

What is the output of 'Get-PrtgClient -Diagnostic'?

PSVersion      : 5.1.20348.1850
PSEdition      : Desktop
OS             : Microsoft Windows Server 2022 Standard
PrtgAPIVersion : 0.9.18
Culture        : fr-CH
CLRVersion     : 528449
PrtgVersion    : 23.3.86.1520
PrtgLanguage   : english.lng

Additional context

There is no issue with:

  • Add-Device
  • Set-ObjectProperty
  • Set-ChannelProperty

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssues that have been confirmed to be bugs in PrtgAPI and will be fixed in a future version

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions