I'm using this Get-PnPListItem (Get-PnPListItem) function, which returns a Microsoft.SharePoint.Client.ListItem (ListItem Class)

Looking at the documentation of Microsoft.SharePoint.Client.ListItem (ListItem Members) ListItemseems to have the Member variable HasUniqueRoleAssignments.

I'm not able to retrive this member variable using PnP PowerShell I'm just getting back nothing.

With the Get-PnPList command this can be fixed by putting HasUniqueRoleAssignments as an inclue like so: $lists = Get-PnPList -Includes HasUniqueRoleAssignments

With Get-PnPListItem it's not possible to do that since there is no -Includes option.

Am I missing something here?

1 Answer 1


PnP have option Get-PnPProp,for list item object, it means passing the Microsoft.SharePoint.Client.ListItem object. "HasUniqueRoleAssignments" can only return by "Get-PnPProperty"


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.