solarwinds / OrionSDK

SDK for the SolarWinds Orion platform, including tools, documentation, and samples in PowerShell, C#, Go, Perl, and Java.
https://thwack.com/OrionSDK
Apache License 2.0
397 stars 139 forks source link

Orion.Report table is empty when Certificate auth is used #309

Open VinxItak opened 2 years ago

VinxItak commented 2 years ago

In SWQL Studio (and using PowerShell too), when we authenticate using certificate, Orion.Report table give 0 row ; whereas using Admin account for example, table returns content.

VinxItak commented 2 years ago

$swis = Connect-Swis -Hostname $OrionServerName -Certificate (Get-SwisData -SwisConnection $swis -Query "SELECT TOP 1000 ReportID, Name, Category, Title, Type, SubTitle, Description, LegacyPath, Definition, ModuleTitle, RecipientList, LimitationCategory, Owner, LastRenderDuration, OrionFeatureName, DisplayName, InstanceType, Uri, InstanceSiteId FROM Orion.Report")

0 row

$swis = Connect-Swis -Hostname $OrionServerName -Username xxx -Password yyy (Get-SwisData -SwisConnection $swis -Query "SELECT TOP 1000 ReportID, Name, Category, Title, Type, SubTitle, Description, LegacyPath, Definition, ModuleTitle, RecipientList, LimitationCategory, Owner, LastRenderDuration, OrionFeatureName, DisplayName, InstanceType, Uri, InstanceSiteId FROM Orion.Report")

4xx rows

VinxItak commented 2 years ago

Does this issue will be addressed ?