Closed jbalcorn closed 1 year ago
Unfortunately, that's a mistake in the docs.
The searchType
parameter is relevant for 11.2+, detailed here in the CHANGELOG & ReleaseNotes.
Will correct the Get-PASAccount
command documentation for the next release.
Many thanks for highlighting 🙏🏼
Ah. I see. Even though the API has 'search', it's actually a list of keywords.
Well, we're doing our 12 upgrade in May :-)
you can use the search
parameter in any version higher than 10.4
searchtype
requires minimum version of 11.2
modificationTime
requires minimum version of 11.4
savedFilter
requires minimum version of 12.6
Describe the issue Using Get-PASAccount with -search parameter against v11.1 vault results in "Gen2API requires 11.2". Docs at PSPas.pspete.dev and Cyberark both say Gen2 search should work with 11.1
To Reproduce Steps to reproduce the behavior:
Get-PASAccount -search xx
against 11.1 vaultExpected behavior Should return result as search parameters is supported on 11.1
Screenshots & Console Output If applicable, add screenshots and/or console output to help explain your problem.
Your Environment Include relevant details about your environment
Additional context![image](https://user-images.githubusercontent.com/7225956/222218739-d5e3bbdb-b492-4f7b-8688-d529f99b0a17.png)