Skip to content

spo hidedefaultthemes set

Sets the value of the HideDefaultThemes setting


spo hidedefaultthemes set [options]


Option Description
--help output usage information
-h, --hideDefaultThemes <hideDefaultThemes> Set to true to hide default themes and to false to show them
-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 the value of the HideDefaultThemes setting, you have to first log in to a tenant admin site using the spo login command, eg. spo login


Hide default themes and allow users to use organization themes only

spo hidedefaultthemes set --hideDefaultThemes true

More information