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
--query [query] JMESPath query string. See for more information and examples
-o, --output [output] Output type. json,text. Default text
--pretty Prettifies json output
--verbose Runs command with verbose logging
--debug Runs command with debug logging


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


Set the specified site as the Home Site

spo homesite set --siteUrl

More information