How to Create a Redirect in SharePoint Online?

Requirement: Create a redirect in SharePoint Online. How to Redirect SharePoint Online page to a different URL? In classic SharePoint sites, we’ve script editor web part and redirect can be achieved with JavaScript as in my other article How to Redirect using JavaScript in SharePoint?. Now, We have a modern site collection…

Read more

SharePoint Online: Activate a Feature on All Sites using PowerShell

Requirement: Enable a SharePoint Online feature for all sites using PowerShell. PowerShell to Activate a Site Collection Feature for All Sites We have a requirement to enable a SharePoint Online “Open Documents in Client Applications by Default” feature for all site collections in the tenant. Here is the PowerShell to enable a…

Read more

SharePoint Online: Disable a Feature for All Sites using PowerShell

Requirement: Disable a feature for all SharePoint Online sites using PowerShell. PowerShell to Deactivate a Site Feature on All Collections in the Tenant We have a requirement to disable the SharePoint Online “Open Documents in Client Applications by Default” feature for all sites in the tenant. Here is the PowerShell to disable…

Read more

Create a Communication Site in SharePoint Online using PowerShell

Requirement: Create a communication site in SharePoint Online using PowerShell How to create a Communication Site in SharePoint Online? One of the recent addition to SharePoint Online space is Communication sites! The modern SharePoint Online communication site templates are designed to broadcast information to a broader audience such as to an entire…

Read more

SharePoint Online: Site Documents Inventory (Library, Folder, Sub-Folder and Files) Report using PowerShell

Requirement: Generate an Inventory report that contains all document Libraries, Folders, Sub-Folders, and Files detail from a SharePoint Online site collection. SharePoint Online: Site Inventory Report using PowerShell We wanted to find the number of files and folders, sub-folders in each document library in a SharePoint Online site. This PowerShell script extracts…

Read more

SharePoint Online: How to Remove an App using PowerShell?

Requirement: Remove an App from SharePoint Online using PowerShell How to Remove an App from SharePoint Online Site? Apps that have been added to the SharePoint sites can later be removed if they are not needed. If you want to remove a specific app from the SharePoint Online site, do the following:…

Read more

SharePoint Online: Change Site Collection URL using PowerShell

Requirement: Change Site Collection URL in SharePoint Online How to Change the Site URL in SharePoint Online? Sometimes you may have to change the name of a site and URL after creating a site. In the past, We had to create a new site collection and run a migration tool to copy…

Read more

SharePoint Online: How to Apply Site Policy using PowerShell?

Requirement: Apply site policy in SharePoint Online using PowerShell. How to Apply SharePoint Online Site Policy using PowerShell? Site Policies is a great way to implement governance in SharePoint Online. As of today, we can’t create a new site policy through PowerShell! However, we can save time by creating a site policy…

Read more

SharePoint Online: How to Replace Classic Root Site Collection with a Modern Site?

Requirement: Convert SharePoint Online Root site collection from classic to modern site! Our requirement is, We built a new Intranet based on a Modern SharePoint Communication site and want to swap it into the root site. How to change the root site from classic to modern experience? As SharePoint Online root site…

Read more