Skip to content

[BUG] Error in Get-PnPContainer : "The attempted operation is prohibited because it exceeds the list view threshold" #3970

@MSFT-klpinhac

Description

@MSFT-klpinhac

Reporting an Issue or Missing Feature

while the cmdlet Get-PnPContainer works fine in most tenants, the attempt to retrieve the Loop-Workspaces in a large tenant has returned the error "The attempted operation is prohibited because it exceeds the list view threshold"
error_get-pnpcontainer

Expected behavior

I would expect a list of containers / Loop Workspaces to be returned, no matter how large or small the tenant

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

PnP.PowerShell 2.4.0
image

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

  • Windows / PowerShell 7.4.2
    image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions