pnp / pnp/powershell

[BUG] PnPUPABulkImportStatus and New-PnPUPABulkImportJob now generate " The attempted operation is prohibited because it exceeds the list view threshold."

Open
#3,814 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
904
Forks
407
Avg merge
9h 16m
Merged PRs (30d)
10

Description

[BUG] PnPUPABulkImportStatus and New-PnPUPABulkImportJob both fail to execute and generate error " The attempted operation is prohibited because it exceeds the list view threshold.**" after it has been running in scripts daily for over a year. Please let me know how I can clear the list or circumvent this error. I am unable to submit new import jobs nor query for jobs.

Expected behavior

These cmdlets were being used for over a year but now cannot run. No jobs can be submitted or queried.

Actual behavior

Error message is "The attempted operation is prohibited because it exceeds the list view threshold." for both PnPUPABulkImportStatus and New-PnPUPABulkImportJob cmdlets

Steps to reproduce behavior

$JobsInSPO = Get-PnPUPABulkImportStatus

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

1.12.0 on PS 5.1 and 2.2.0 on PS 7

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with Get-PnPUPABulkImportStatus and New-PnPUPABulkImportJob using the versions and Windows environments listed. Investigate how these cmdlets query or submit bulk import jobs and determine a supported way to avoid the list view threshold. Done means both cmdlets can query existing jobs and submit new jobs without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.