pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
985 stars 665 forks source link

Threshold limit error with Get-PnPHubSiteChild #2930

Open Jenny-Neal opened 3 years ago

Jenny-Neal commented 3 years ago

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?

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

3.25.2009.1

How did you install the PnP-PowerShell Cmdlets?