Closed arkayali closed 1 year ago
The project does not have a compatible environment available to test/validate the Gen1 API call... It's been depreciated in recent versions.
See the command Syntax here: https://pspas.pspete.dev/commands/Get-PASUser#gen2-default
Every other Gen 2 parameter other than UserName
should be available to you.
To rule out any changes in the latest psPAS version, You can try the previous release: https://www.powershellgallery.com/packages/psPAS/5.2.59 or https://github.com/pspete/psPAS/releases/tag/v5.2.59
Any attempt to replicate the issue by the project relies on an environment in which to test being available.
Now resolved in 5.3.76, and tested with 11.5 This was caused by a URL format change introduced for some Gen1 commands in the last release (5.3.69), now reverted.
Describe the issue The cmdlet returns an error when I run it with -username with/without -UseGen1API
To Reproduce Get-PASUser -username safeowner returns: minimum version of 12.2
Get-PASUser -username safeowner -UseGen1API returns: error 404
Expected behavior get details on the requested user
Screenshots & Console Output
Your Environment Include relevant details about your environment
PowerShell Version: 5 psPAS Version: 5.3.69 CyberArk Version: 11.5
Additional context Add any other context about the problem here.