[BUG] Get-PnPListItem fails on large lists using UniqueId #3862
Unanswered
rohit404404
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Discussed in #2685
Originally posted by HeKr09 December 6, 2022
Reporting an Issue or Missing Feature
I try to scan SitePages for specific images and documents. Therefor I check the WebParts for example for an image WebPart.
Within the PropertiesJson I retrieve a uniqueId which seems to be the uniqueId of the image used.
So I tried to get the list item with Get-PnPListItem and the uniqueId which fails on large lists because the code seems to use a query to get the item. This means I run into the problem several people did have.
Is there any other way?
Expected behavior
I expected that the uniqueId would be easier to find than using a query.
Actual behavior
Steps to reproduce behavior
What is the version of the Cmdlet module you are running?
1.12.0
Which operating system/environment are you running PnP PowerShell on?
Beta Was this translation helpful? Give feedback.
All reactions