I have a query I'm posting to get the first free IP address using the SDK and powershell:
get-swisdata $swis 'SELECT TOP 1 N.DisplayName, N.Status, N.IPNodeId, I.Client_Name, I.Customer_Account_Name, I.Target_UEB_IP FROM IPAM.IPNode N LEFT JOIN IPAM.IPNodeAttr I On N.IpNodeId=I.IPNodeId WHERE N.Status = 2 AND N.Subnet.DisplayName = @subnet AND I.Client_Name is null AND I.Customer_Account_Name is null AND I.Target_UEB_IP is null' @{subnet="$subnet"}
If I feed the admin password into $swis it works just fine, but if I use my AD account in $swis is gives nothing. My account is Admin on solarwinds and on IPAM. Any idea what permission I need to tweek to allow db lookups?