I keep receiving invalid Username/password. My Orion account is linked with AD. Anyway I can connect using my AD credentials?
If you pass "-Trusted" to Connect-Swis, it will use your current Windows token to authenticate to Orion. No username/password necessary.
What versions of Orion and the SDK?
SDK is 1.6, Orion is 10.3
I am actually interested in connection to Cirrus which is running on NCM 7.0
thanks! That worked like a charm
The other option is to simply prompt for credentials.
$creds = Get-Credential
$swis = Connect-Swis -v2 -Credential $creds -host 'orion.foo.com'
Being able to use Trusted is certainly more convenient.
I tried this option before posting here. For some reason that didn''t work either. That made me wonder if this is some restriction regarding AD authenticated users to connect to SWIS API.
I don't understand how to accomplish this. Would you be so kind as to describe how to pass '-Trusted"? Perhaps with screen shots?
When using "Connect-Swis" you include the "-Trusted" option instead of "-Username xxx -Password yyy" or "-Credential zzz". Here's a screenshot:
Thanks. I forwarded that to my DBA, who's trying to work with Solarwinds Orion database queries via SDK. He can't log in, thinks perhaps he has to have an account in NPM.
What say you, tdanner? He has an AD account, but I've not added it to Solarwinds anywhere yet. Do I need to do that to get him access into the database via SDK?
Yes, his AD account needs to be authorized in Orion. Go to Manage Accounts (/Orion/Admin/Accounts/Accounts.aspx) and either add him as an individual Windows user or add a Windows Group that he is a member of.