DEV Community

Miguel Isidoro
Miguel Isidoro

Posted on • Originally published at blogit.create.pt on

Set a SharePoint Site as HomeSite using PowerShell

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

Enter fullscreen mode Exit fullscreen mode

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.

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more