SharePoint Online: Check If a Folder has Unique Permissions

Requirement: Check If a Folder has Unique Permissions in SharePoint Online using PowerShell Check if Folder has Broken Permission Inheritance using PowerShell CSOM PowerShell to Check If Folder has Unique Permissions: Get Permissions of All Folders in SharePoint Online Library:

Read more

SharePoint Online: How to Get All Modern Group Sites using PowerShell?

Requirement: Get Modern Group Team sites in SharePoint Online. How to Get All Modern Group Sites in SharePoint Online? In the modern admin center, you can filter sites by its template. Just mouse over to the template column and filter template based on your requirement. We can get the list of modern…

Read more

SharePoint Online: Change List or Document Library Icon using PowerShell

Problem: Icon for document library is broken in SharePoint Online after migration. How to Fix Broken Icon for SharePoint Online List or Document Library? After migrating from SharePoint On-premises to SharePoint Online, we found certain document library icons are broken – These document libraries were provisioned through a custom application and have…

Read more

SharePoint Online: Move Subsite to Another Site using PowerShell

Requirement: Move Subsite to a new site in SharePoint Online. How to move a subsite in SharePoint Online? Let’s move a subsite to the root site in SharePoint Online using content and structure page: Go to Site settings page >> Click on “Content and Structure” link (https://tenant.sharepoint.com/sites/your-site-collection/_layouts/15/sitemanager.aspx) Select the subsite from the…

Read more

SharePoint Online: Apply Theme using PnP Provisioning Template PowerShell

Requirement: Set Theme in SharePoint Online Site using PnP PowerShell Provisioning Template. How to Change the Site Theme in SharePoint Online using PnP Provisioning Template? Go to the PnP Provisioning Schema repository in GitHub and build your provisioning template. https://github.com/SharePoint/PnP-Provisioning-Schema, Here is mine: Provisioning Template Schema XML for Theme: Make necessary changes…

Read more

Set Footer in SharePoint Online Communication Site using PowerShell

Requirement: Set Footer in SharePoint Online Communication Site using PnP PowerShell How to Provision Footer links in SharePoint Online using PnP Provisioning Template? Go to the PnP Provisioning Schema repository on GitHub and build your provisioning template. https://github.com/SharePoint/PnP-Provisioning-Schema, Here is mine: Provisioning Template XML for Footer Links: Make necessary changes and save…

Read more

SharePoint Online: PowerShell to Break Folder Permission Inheritance

Requirement: Break Permission Inheritance of a Folder in SharePoint Online using PowerShell. How to Break the inheritance of a folder in SharePoint Online? By default, folders in SharePoint Online inherit permission from their parent objects such as document library or list. When you have to provide unique permissions to folders, you have…

Read more

SharePoint Online: Remove a Custom Theme using PowerShell

Requirement: Remove a custom theme in SharePoint Online. Remove a Theme in SharePoint Online Using PowerShell: We can remove a custom theme from SharePoint Online tenant using Remove-SPOTheme cmdlet SharePoint Online: PowerShell to Delete a Theme We can also use PnP PowerShell to remove a theme in SharePoint Online. If you remove…

Read more

SharePoint Online: CAML Query with IsNull and IsNotNull Examples in PowerShell

Requirement: Get all items from a list where a particular filed value is Null. SharePoint Online: CAML Query IsNull Example Here is the example of how IsNull operator can be used in CAML: SharePoint Online: CAML query with IsNotNull Operator in PowerShell Similarly, You can use “<IsNotNull>” Operator to get list items…

Read more