[BUG] Get-PnPListItem is not honoring the RowLimit element in a CAML query. #2785
Closed
1 of 6 tasks
Labels
bug
Something isn't working
Reporting an Issue or Missing Feature
Get-PnPListItem is not honoring the RowLimit element in a CAML query. I the example below, instead of returning 5 items, it returns all 400+ items in the list. A Fiddler trace shows it's just paging the results 5 items at a time, rather than stopping after the first batch of 5 items.
Expected behavior
$items.Count should only return 5 items.
Actual behavior
$items.Count return 436 items.
Steps to reproduce behavior
See above
What is the version of the Cmdlet module you are running?
1.11.0
Which operating system/environment are you running PnP PowerShell on?
The text was updated successfully, but these errors were encountered: