0 Replies Latest reply on Jan 3, 2018 5:45 PM by rcmagararu

    Invoke-SwisVerb Access Denied

    rcmagararu

      Hi Guys,

       

      IPAM Version: 4.5.2

      PowerShell Version: 5

       

      can anyone help i follow all the IPAM documentation for setting up an API but i am still stuck and getting denied access when i try to run the invoke command.

      the get-swiss command working fine

       

      PS H:\> Invoke-SwisVerb $swis IPAM.SubnetManagement ChangeIPStatus  @("10.7.2.5", "Used")

      Invoke-SwisVerb : Access denied

      At line:1 char:1

      + Invoke-SwisVerb $swis IPAM.SubnetManagement ChangeIPStatus  @("10.7.2 ...

      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

          + CategoryInfo          : InvalidOperation: (:) [Invoke-SwisVerb], FaultException`1

          + FullyQualifiedErrorId : SwisError,SwisPowerShell.InvokeSwisVerb

       

       

      PS H:\> Invoke-SwisVerb $swis IPAM.SubnetManagement GetFirstAvailableIp @("10.7.2.5", "24")

      xmlns

      -----

      http://schemas.datacontract.org/2004/07/SolarWinds.InformationService.Contract

       

       

       

      Thank you in advance