This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Invoke-SwisVerb access denied when running with non admin AD account

I'm trying to run the following:

$swis = Connect-Swis -Hostname $IPAMServer -Trusted
Invoke-SwisVerb -SwisConnection $swis -EntityName IPAM.SubnetManagement -Verb GetFirstAvailableIp @($subnetAddress, $subnetMask)

It works correctly when the account's IP ADDRESS MANAGER SETTINGS are set to Admin, but not when anything else like Power User. Then i will get the following error:

Invoke-SwisVerb : Access denied

Is this by design? If so, how can we restrict access of the user who need to run these scripts to certain subnets?

Thanks

Parents Reply
  • Just tested. Looks like the issue is with the AD credentials. When using local Orion account everything works fine. I can use operator role to get the first available IP. But test with AD account throwing access denied. I tried many possibly  syntax of username as well as PS credentials. Any hint here?

Children