In PSSailpoint>1.0.2>Pagination.ps1>function invoke-PagnateSearch, looks like a bug.
if the $Result.length is less than the $Increment it's breaking.
However there can be results. e.g. paging by 50, and there were 1 - 49 results.
it's throwing those away by breaking out of the while loop without adding the remaining items.
I added the last result to the total results before the break and it now returns all results
In PSSailpoint>1.0.2>Pagination.ps1>function invoke-PagnateSearch, looks like a bug.
if the $Result.length is less than the $Increment it's breaking. However there can be results. e.g. paging by 50, and there were 1 - 49 results. it's throwing those away by breaking out of the while loop without adding the remaining items.
I added the last result to the total results before the break and it now returns all results