SharePoint Online: Copy List or Document Library to Another Site using PnP PowerShell

Requirement: Copy Document Library to another site using PowerShell SharePoint Online: Copy Document Library to Another site using PnP PowerShell PnP provisioning engine lets us copy site objects such as lists and libraries, site columns, content types, composed looks, pages, etc. We can export existing customization to XML file and use it…

Read more

Set SharePoint Online Site to Read Only using PowerShell

Requirement: Set SharePoint Online site to read only using PowerShell. How to make a SharePoint Online site read only? During a migrated project, we wanted to set a SharePoint Online site collection to read-only in order to enforce Data consistency. To make SharePoint Online site collection read-only, use this PowerShell script in…

Read more

SharePoint Online: How to Disable Social Bar (Like, Comment, Views, Save for later) in Modern Site Pages?

Requirement: Disable Social Bar links (Like, Comment, Views, Save for later) in SharePoint Online Modern Site Pages PowerShell to Hide Social Bar Links in SharePoint Online Site Collection: The Social Bar is a new feature in SharePoint Online modern pages, that lets users to like, comment, and see the number of views….

Read more

SharePoint Online: Connect Existing Team Sites to New Office 365 Group

Requirement:  A SharePoint Online team site (Classic / Modern Experience) users wants to  transform their existing site to Office 365 group to take advantage of Office 365 Group offerings such as Shared mailbox, Planner, Teams, etc. How to Connect to New Office 365 Group in SharePoint Online? When you create a new…

Read more

SharePoint Online: Create Site Collection from Custom Template

Requirement: Create Site Collection with Custom Template in SharePoint Online SharePoint Online: Create Site Collection from Custom Template Creating subsites from a custom template is quite straightforward as in my other post: SharePoint Online: Create Subsite from Template using PowerShell. But if you want to create a site collection based on a…

Read more

SharePoint Online: Site Collection Permissions Report using PowerShell

Requirement: Generate permissions report for a SharePoint Online site collection. SharePoint Online: Site Collection Permissions Report using PowerShell Have you ever wanted to get SharePoint Online Site and subsites permissions using PowerShell? Well, This PowerShell script generates a permission report on all objects which has unique permissions on the given site collection….

Read more

How to Configure Hub Sites in SharePoint Online: Step by Step

What is Hub Site in SharePoint Online? Hub sites in SharePoint Online is a new way to organize related sites together into centralized portals based on organizational attributes such as project, concepts, team, department, division, region, etc. A hub site can have both modern team sites and communication sites associated with it….

Read more

SharePoint Online: Delete All Unique Permissions from a Site Collection using PowerShell

Requirement: Remove unique permissions from a SharePoint Online site collection and restore permission inheritance from the parent. PowerShell Script to Restore Permission Inheritance in SharePoint Online SharePoint Online allows us to manage permissions at a more granular level when we need unique permissions to objects such as subsite, list, folder, or list…

Read more

SharePoint Online: PowerShell to Disable Modern Experience

Requirement: Disable modern experience in SharePoint Online. How to Disable New User Experience in a List and Switch back to Classic View? Definitely, the modern experience in SharePoint Online lists and libraries is faster, mobile-friendly, and easier to use. It brings new functionalities and components, such as: Quick edit metadata with information…

Read more

SharePoint Online: PowerShell to Remove User from All Sites

Requirement: Remove User from All Sites in SharePoint Online PowerShell to Remove a User from All SharePoint Online Site Collections: The following PowerShell script will remove the provided login account from all site collections of your SharePoint Online. Please note, you must be a site collection administrator for all site collections before…

Read more