[BUG] "Get-PnPListItem -List mylist" throws error for some lists. #3932
Unanswered
Larryblanco-git
asked this question in
General
Replies: 1 comment
-
Same issue on Linux |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Reporting an Issue or Missing Feature
Get-PnPListItem
This command is failing to list items in some lists.
Expected behavior
Return a list of items in list
Get-PnPListItem -List "service Centers"
Id Title GUID
1 Y1 2d691f57-93f7-4978-b3d9-0fb27923e6ed
2 Y3 3124b46a-8298-49de-9ebc-0ea29ac2f373
3 Y5 66a26e52-285e-4fe6-9fe4-e1259b5e146f
4 Y4 f015218c-ee4e-4423-8ef8-ddda0dd5d4e9
Actual behavior
Get-PnPListItem -List cameras
Get-PnPListItem: Cannot invoke method or retrieve property from null object. Object returned by the following call stack is null. "GetList
"
Steps to reproduce behavior
Please include complete script or code samples in-line or linked from gists
Connect-PnPOnline -Url $SiteURL -Credentials $CredentialSPOA
Get-PnPListItem -List cameras
What is the version of the Cmdlet module you are running?
2.4.0
Which operating system/environment are you running PnP PowerShell on?
Beta Was this translation helpful? Give feedback.
All reactions