Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
2 of 6 tasks
svermaak opened this issue Aug 28, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@svermaak
Copy link
Contributor

svermaak commented Aug 28, 2022

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?

  • Windows
  • Linux
  • MacOS
  • Azure Cloud Shell
  • Azure Functions
  • Other : please specify
@svermaak svermaak added the bug Something isn't working label Aug 28, 2022
@LeonArmston
Copy link
Contributor

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!

@github-actions
Copy link

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

@veronicageek
Copy link
Collaborator

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.

@Joe-Pel
Copy link

Joe-Pel commented Nov 22, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants