Skip to content

spo homesite set

Sets the specified site as the Home Site


spo homesite set [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


Before using this command, log in to a SharePoint Online tenant admin site, using the spo login command.


To set site as the Home Site, you have to first log in to a tenant admin site using the spo login command, eg. spo login


Set the specified site as the Home Site

spo homesite set --siteUrl

More information