Closed redboyhun closed 1 year ago
Hi @redboyhun
Is it working outside of the module? You can use something similar to the below
#after New-PASSession
$ThisSession = Get-PASSession
$Method = "GET"
$UrlPath = "API/Users/"
$Request = @{
"Method" = $Method
"Uri" = "$($ThisSession.BaseUri)/$UrlPath"
"WebSession" = $ThisSession.WebSession
"ContentType" = "application/json"
}
Invoke-RestMethod @Request
As it is an error of the "500" type, assumption is that it is not an issue with the module. Closing the issue based on this. If assumption incorrect, comment here with the details to reopen.
Describe the issue
Getting this error, even if that is the first command after psPAS login
Your Environment Include relevant details about your environment
Additional tests Working with specific id:
Not working for listing all:
Not working with -Username:
Working with Username and Gen1API: