PnP-PowerShell icon indicating copy to clipboard operation
PnP-PowerShell copied to clipboard

Get-PNPListItem -Unique only works for items at the root folder of library

Open they007 opened this issue 8 years ago • 1 comments

Reporting an Issue or Missing Feature

Get-PNPListItem -UniqueId only works for items at the root folder of library.

Expected behavior

ListItems in all folders are returned

Actual behavior

No item is returned

Steps to reproduce behavior

Create a folder in a document library. Upload two files to the document library, one to the root and one to the folder. Search for both items using Get-PNPListItem -UniqueId Note that the item at the root level will return as expected, however the item in the folder will not.

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

PnP PowerShell for SharePoint Online

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

3.2.1810.0

How did you install the PnP-PowerShell Cmdlets?

Installed through the PowerShell Gallery with Install-Module

they007 avatar Oct 11 '18 18:10 they007

Is there any update on this? I can confirm this error is still occurring and it is critical to me

oliver3twist avatar Jun 11 '20 20:06 oliver3twist