powershell icon indicating copy to clipboard operation
powershell copied to clipboard

[BUG] Resolve-PnPFolder: The attempted operation is prohibited because it exceeds the list view threshold.

Open svermaak opened this issue 3 years ago • 1 comments

Reporting an Issue or Missing Feature

Issue

Expected behavior

Folders created

Actual behavior

image

Steps to reproduce behavior

$retainRootFolder = Resolve-PnPFolder -SiteRelativePath "Shared Documents/aaaaa" -Connection $retainLocationConnection against a site with 5000+ items

What is the version of the Cmdlet module you are running?

Latest

Which operating system/environment are you running PnP PowerShell on?

  • [x] Windows
  • [ ] Linux
  • [ ] MacOS
  • [ ] Azure Cloud Shell
  • [x] Azure Functions
  • [ ] Other : please specify

svermaak avatar Aug 28 '22 21:08 svermaak

Ah I noticed this was happening at the end of last year! Was a PnP Framework issue - wonder if this bug has been re-introduced? Here is the issue #1438 and @gautamdsheth fixed it!

LeonArmston avatar Aug 29 '22 19:08 LeonArmston

This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Dec 24 '22 02:12 github-actions[bot]

Please update to the latest release 2.1.x where there have been multiple bug fixes and improvements, however you will need PS 7.2 or later as PS 5 is not supported anymore.

Feel free to reopen if the issue persists.

veronicageek avatar Apr 05 '23 20:04 veronicageek

I have just upgraded to PowerShell 7.4 and PNP 2.2 and I am still getting the error. This is the code that gets the error Resolve-PnPFolder "Shared Documents/2040000675" if it is there it has only a few files and no folders.

Joe-Pel avatar Nov 22 '23 20:11 Joe-Pel