SharePoint Online: Set Active Directory Security Group as Site Collection Administrator using PowerShell

Requirement: Add active directory security group to SharePoint online site collection administrator group. PowerShell to Add AD Security group as Site Collection Administrator: Step 1: Get AD Security Group’s ID We need the ID of the AD group first. Use the PowerShell script to retrieve the ID, make sure you have Azure…

Read more

SharePoint Online: How to Stop Inheriting Permission and Setup Unique Access to a Subsite?

Requirement: Break permission inheritance of a Subsite in SharePoint Online. How to Break Subsite Permission Inheritance in SharePoint Online? When we create a new subsite in SharePoint Online, we have an option to set its permission: whether the subsite should inherit permissions from its parent site or it should have unique permissions….

Read more

SharePoint Online: Remove Unique Permissions from All Folders in a Document Library using PowerShell

Requirement: Remove unique permissions from all folders-sub-folders in a SharePoint Online document library. How to Delete Unique Permissions of a Folder in SharePoint Online? To remove unique permissions from a SharePoint Online Folder, follow these steps: Navigate to your SharePoint Online document library where the target folder is located.  Right click on Folder,…

Read more

SharePoint Online: Export Group Members to Excel

Requirement: Export SharePoint Online group members to Excel How to Export SharePoint Online Group Members to Excel? Have you ever wanted to export all members of a SharePoint Online group to Excel? Well, here is how you can do that: Login to Site Collection >> Navigate to Site Settings Click on “People…

Read more

SharePoint Online: Move Users from One Group to Another

Requirement: Move users from one group to another in SharePoint Online. How to Move Users Between SharePoint Online Groups? Well, there is no direct way to copy or move users between SharePoint Online groups. But you can achieve it by following the below steps: Click on Settings gear >> Site Settings Click…

Read more

SharePoint Online: Get Document Library Permissions and Export to CSV using PnP PowerShell

Requirement: SharePoint Online PowerShell to Get Document Library Permissions. PnP PowerShell to Export Document Library Permissions in SharePoint Online: This PowerShell script exports all permissions of a SharePoint Online document library. SharePoint Online PowerShell to Get List Permissions This PowerShell script can be also used to get list permissions in SharePoint Online….

Read more

SharePoint Online: How to Set Permissions to Add But Not Delete?

Requirement: Set permission to add but not delete in SharePoint site or list. How to Set Permissions to add but not delete in SharePoint? We have a requirement to configure permissions to add items but not delete them in a SharePoint Online site. So, let’s see how we can restrict permissions on…

Read more

SharePoint Online: Grant Permission to Each Folder in a Document Library using PowerShell

Requirement: Grant permission to all sub-folders in a SharePoint Online document library SharePoint Online: Grant Permission to Folders using PowerShell Here is the PowerShell to add a user to each folder in SharePoint Online list or document library. This script recursively loops through each sub-folder in the given list or library and…

Read more