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

Popular posts from this blog

PnP Powershell To Update List Field In a List View

Pnp PowerShell To Hide List From Site Contents In SharePoint

Pnp PowerShell To UnHide/Visible List From Site Contents In SharePoint