This issue has been resolved. The issue was that the program was not accepting my login (Windows Credentials normally) as valid authentication. I removed the -UserName and -Password and added -Trusted then it worked perfectly fine.
I am trying to connect to my Solarwinds server using AD Authentication. I've been testing connecting without it, and I continuously get the same error message many others have got.
Get-SwisData : An error occurred when verifying security for the message.
Hopefully I've got this correct, but I'm using the OrionSDK API found here: GitHub - solarwinds/OrionSDK: SDK for the SolarWinds Orion platform, including tools, documentation, and samples in Powe…
The code I currently have is:
Import-Module PowerOrion
$swis = Connect-Swis -UserName userName -Password 'password' -Hostname "solarwinds.company.com"
Get-OrionNodeID -Node nodeIP -SwisConnection $swis
Remove-Module PowerOrion
Using the SWQL Studio (version 2.1.13.0) I cannot connect without using AD Authentication (I receive the error message above). If I do use AD Authentication I connect right away. So, I wanted to see what I can add to my Connect-Swis to make sure that I connect using AD Auth. I've tried a couple flags like -Trusted and -AD, but neither are recognized.
Thank you for any help you provide!