Forum Discussion
null null
Aug 01, 2017Iron Contributor
item level permission of a list for SharePoint Online using powershell
I have a list called ListName which conktains 5 different items with title as abc, xyz, lmn, ijk, efg I want to change the permission for each item at the item level using powershell so that ...
Aug 01, 2017
You should use Set-PnPListItemPermission:
https://github.com/SharePoint/PnP-PowerShell/blob/master/Documentation/SetPnPListItemPermission.md
- null nullAug 02, 2017Iron Contributor
I am trying to use a -Group command let.
The content for the links is not correct as the syntax says:
Set-PnPListItemPermissionwhereas example says
Set-PnPListPermissionDo we have anything in PnP where i can actually set permission to an item and assign a group.
- Chris LawesAug 01, 2017Copper Contributor
Hi
I've been trying to do a similar thing, and did you this commandlet successfully, but I've noticed there isn't a -group parameter, even though it mentions it in the help. I'm not sure how to add a SharePoint group without this, as the group Display Name doesn't get recognised.
Also, is there an equivelant commandlet to get an item level permission list?