Skip to content

spo hubsite theme sync

Applies any theme updates from the parent hub site.

Attention

This command is based on a SharePoint API that is currently in preview and is subject to change once the API reached general availability.

Usage

spo hubsite theme sync [options]

Options

Option Description
--help output usage information
-u, --webUrl <webUrl> URL of the site to apply theme updates from the hub site to.
-o, --output [output] Output type. json|text. Default text
--verbose Runs command with verbose logging
--debug Runs command with debug logging

Important

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

Remarks

To apply hub site theme updates to a site, you have to first log in to a SharePoint site using the spo login command, eg. spo login https://contoso.sharepoint.com.

Examples

Applies any theme updates from the parent hub site to the site with URL https://contoso.sharepoint.com/sites/project-x

spo hubsite theme sync --webUrl https://contoso.sharepoint.com/sites/project-x

More information