PnP Powershell to Break Role Inheritance of a List
PnP Powershell to Break Role Inheritance of a List
$SiteURl = "Your Site URL"
Connect-PnPOnline $SiteURl -Interactive
$listName="Service Desk"
$list=Set-PnPList -Identity $listName -BreakRoleInheritance -CopyRoleAssignments
Comments
Post a Comment