pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets

Home Page:https://pnp.github.io/powershell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Threshold limit error with Get-PnPHubSiteChild

Jenny-Neal opened this issue · comments

commented

Reporting an Issue or Missing Feature

Issue

Expected behavior

All sites associated to a certain hub site to be returned.

Actual behavior

When running the example cmd below, I am getting an 'The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator.' error, I'm only expecting 43 sites to be returned so won't expect to be hitting a threshold error?

Steps to reproduce behavior

Get-PnPHubSiteChild -Identity https://jenny.sharepoint.com/sites/HubSite

Which version of the PnP-PowerShell Cmdlets are you using?

  • PnP PowerShell for SharePoint 2013
  • PnP PowerShell for SharePoint 2016
  • PnP PowerShell for SharePoint 2019
  • PnP PowerShell for SharePoint Online

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

3.25.2009.1

How did you install the PnP-PowerShell Cmdlets?

  • MSI Installed downloaded from GitHub
  • Installed through the PowerShell Gallery with Install-Module
  • Other means