Jump to content

Simon_00

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Simon_00

  1. Hello,

    im currently working on a powershell script. I want to search for an ad security group. I'm using the normal API. As given in the documentation, I tried this Request.

     

     $PasswordstateUrl = 'https://passwordstate/api/getsecuritygroup/?search=finance'
      Invoke-Restmethod -Method GET -Uri $PasswordstateUrl -Header @{ "APIKey" = "<apikey>" }

    But im getting the following error response: "No HTTP resource was found that matches the request URI ... ., No type was found that matches the controller named 'getsecuritygroup'." I'm using the security group api key which I generated.

     

    I cannot figure out what the point of failure is. Can anybody help me ?

     

    Best regards

    Simon

×
×
  • Create New...