Skip to content

spo homesite set

Sets the specified site as the Home Site

Usage

spo homesite set [options]

Options

Option Description
--help output usage information
-u, --siteUrl <siteUrl> The URL of the site to set as Home Site
-o, --output [output] Output type. json|text. Default text
--verbose Runs command with verbose logging
--debug Runs command with debug logging

Important

To use this command you have to have permissions to access the tenant admin site.

Examples

Set the specified site as the Home Site

spo homesite set --siteUrl https://contoso.sharepoint.com/sites/comms

More information