In order to break inheritance on a subsite, so that it doesn’t inherit the permissions from the parent site, you can do so manually via SharePoint. However, it may be more beneficial to do this programmatically via PowerShell, especially if your PowerShell script already creates all of the Groups and sets the permissions on your subsite.

Follow these steps to Break Inheritance to your subsite manually through SharePoint:

  1. Navigate to your SharePoint website in the browser. Make sure to navigate to the specific subsite that you want to break inheritance on.
  2. Navigate to Site Actions -> Site Permissions
  3.  Click Stop Inheriting Permissions

Follow these steps to Break Inheritance to your subsite programmatically through PowerShell:

  1. Add the following logic to your PowerShell script (.ps1) and run the script as an administrator via the SharePoint Management Shell on the server that hosts your SharePoint site.
    Note: The variable, $url, should be the location of your SharePoint Subsite


Like this post? Share it!