Skip to content

spo theme apply

Applies theme to the specified site


spo theme apply [options]


Option Description
--help output usage information
-n, --name <name> Name of the theme to apply
-u, --webUrl <webUrl> URL of the site to which the theme should be applied
--sharePointTheme Set to specify if the supplied theme name is a standard SharePoint theme
--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.


Following standard SharePoint themes are supported by the Office 365 CLI: Blue, Orange, Red, Purple, Green, Gray, Dark Yellow and Dark Blue.


Apply theme to the specified site

spo theme apply --name Contoso-Blue --webUrl

Apply a standard SharePoint theme to the specified site

spo theme apply --name Blue --webUrl --sharePointTheme

More information