Forum Discussion
mkarekar
Aug 11, 2020Copper Contributor
Threshold issue when Performing operation on 5000+ Items in a library
Hi, We are performing operation on list having 5000+ items. i I find that any CSOM operation on the List having 5000+ throws the threshold error . I have this code mentioned below Whenever I ...
Micca0815
Aug 12, 2020Iron Contributor
mkarekar
You might want to peek a little within https://github.com/PowershellScripts/SPOMod GitHub repository of https://social.technet.microsoft.com/wiki/contents/articles/51763.user-page-arleta-wanat.aspx#SharePoint_Online.
As an alternative you could use this https://github.com/pnp/PnP-PowerShell/blob/master/Commands/Lists/GetListItem.cs of the https://github.com/pnp/PnP-PowerShell as reference instead.
For pagination the https://docs.microsoft.com/en-us/previous-versions/office/sharepoint-csom/ee537050(v=office.15) can be utilized.