Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

[BUG] Apply-PnPProvisioningTemplate : The attempted operation is prohibited because it exceeds the list view thresholdΒ #2817

@piteerus

Description

@piteerus

Environment

[X] Office 365 / SharePoint Online
[ ] SharePoint 2016
[ ] SharePoint 2013

Expected or Desired Behavior

PnP provisioning template successfully applied.

Observed Behavior

Apply-PnPProvisioningTemplate : The attempted operation is prohibited because it exceeds the list view threshold
enforced by the administrator.

Applying provisioning template...
Apply-PnPProvisioningTemplate : The attempted operation is prohibited because it exceeds the list view threshold enforc
ed by the administrator.
At \SharePoint\provisioning\apply-site-template.ps1:49 char:1

  • Apply-PnPProvisioningTemplate -Path $templatePath
  •   + CategoryInfo          : WriteError: (:) [Apply-PnPProvisioningTemplate], ServerException
      + FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Provisioning.Site.ApplyProvisioningTemplate
    
    

Steps to Reproduce

The list above 5k+ list items and provisioning template is applied. It fails with the above error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions