This post explains how to set a SharePoint to be your home site in a Microsoft 365 tenant using PowerShell.
Introduction
SharePoint Home Site is a feature available in SharePoint that allows you to designate a given site as a Home Site for the whole SharePoint Intranet. By doing so, the site is designated to be the main site of the Microsoft 365 tenant.
The Code
To transform an existing SharePoint site into a SharePoint home site, run the following PowerShell script:
Connect-SPOService -Url https://demo-admin.sharepoint.com
Set-SPOHomeSite -HomeSiteUrl https://demo.sharepoint.com/sites/home
NOTE: You can only have one SharePoint Home Site.
Happy SharePointing!
The post Set a SharePoint Site as HomeSite using PowerShell appeared first on Blog IT.
Top comments (0)