[BUG] Reolve-PnPFolder or Add-PnPFolder does not work above 5000 items in a list - list view threshold #1438
Closed
1 of 6 tasks
Labels
bug
Something isn't working
Reporting an Issue or Missing Feature
Working with a large document library (5000+ items) and my code pre-creates a folder before I add files.
I have tried Resolve-PnPFolder and Add-PnpFolder and both get the following error message whenever I try to run the code "The attempted operation is prohibited becuase it exceeds the list view threshold.
To create the folder as a workaround I have to revert to pure csom
I think the PnP folder commands do a pre check whether the folder exists and this fails when the item limit on the list is over 5000 wheras the pure csom does not do a pre-check. Wondering if anything can be done?
Thanks so much
Expected behavior
New Folder is created or existing folder is resolved
Actual behavior
Steps to reproduce behavior
Please include complete script or code samples in-line or linked from gists
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing
Get-Module -Name "PnP.PowerShell" -ListAvailable
)1.8.0
Apologies if this has been fixed in a recent release - the client VM I'm working on will not allow me to install -PreRelease
Which operating system/environment are you running PnP PowerShell on?
The text was updated successfully, but these errors were encountered: