pnp / PnP-PowerShell

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

[BUG] Get-PnPListItem : The operation has timed out #2801

Open vaderj opened 4 years ago

vaderj commented 4 years ago

Reporting an Issue or Missing Feature

I am not able to use Get-PnPListItem on a large library (4800 items).

Expected behavior

Using Get-PnPListItem on a document library with 4,800 items, I would expect to see at least some items

Actual behavior

After attempting to use Get-PnPListItem on a document library with 4,800 items, it times out.

Steps to reproduce behavior

Connect-PnPOnline https://myTenant.sharepoint.com/sites/mySite -UseWebLogin #works fine Get-PnPList #works fine $list = (Get-PnPList)[9] #works fine; [9] is the 4,800 ItemCount library $items = Get-PnPListItem -List $list.Title # Does NOT work - Timeout, every time

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

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

(you can retrieve this by executing Get-Module -Name sharepointpnppowershell* -ListAvailable)

3.23.2007.1

How did you install the PnP-PowerShell Cmdlets?

vaderj commented 4 years ago

So it looks like it works on one computer but not another.

Do you have any thoughts on how I could diagnose it further?