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) ListItem
seems 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?