Home

SharePoint Online modern site default theme

%3CLINGO-SUB%20id%3D%22lingo-sub-146233%22%20slang%3D%22en-US%22%3ESharePoint%20Online%20modern%20site%20default%20theme%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-146233%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20now%20have%20these%20new%20site%20theming%20options%20in%20SharePoint%20Online%20(%3CA%20title%3D%22Site%20theming%20%40%20Docs%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fdeclarative-customization%2Fsite-theming%2Fsharepoint-site-theming-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3ESite%20theming%20%40%20Docs%3C%2FA%3E)%20and%20the%20ability%20to%20turn%20off%20default%20themes%20and%20adding%20our%20own.%20Thats%20is%20great%2C%20but%20so%20far%20we%20still%20cannot%20control%20the%20default%20theme%2C%20when%20we%20create%20new%20modern%20SharePoint%20site%20collections%20(connected%20with%20an%20Office%20365%20group).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIs%20this%20still%20the%20case%3F%20We%20cannot%20seem%20to%20find%20any%20documentation%20regarding%20this%20point.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20know%20that%20we%20can%20use%20this%20new%20%22Site%20scripts%22%20and%20%22Site%20designs%22%20functionality%20to%20control%20it%20(from%20SharePoint%20home)%2C%20but%20SharePoint%20site%20collections%20can%20be%20created%20from%20other%20sources%20(like%20Outlook%20or%20Microsoft%20Teams)%20and%20in%20our%20case%20-%20in%20a%20custom%20site%20provisioning%20solution.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20in%20advance!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-146233%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESites%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-188433%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Online%20modern%20site%20default%20theme%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-188433%22%20slang%3D%22en-US%22%3E%3CP%3EJonas%20you're%20absolutely%20right!%20Great%20stuff%2C%20thank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-188337%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Online%20modern%20site%20default%20theme%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-188337%22%20slang%3D%22en-US%22%3EYes%2C%20the%20default%20site%20design%20will%20be%20used%20even%20if%20you%20creates%20the%20Group%20from%20lets%20say%20Outlook.%20I%20haven't%20had%20time%20to%20test%20it%20further%2C%20but%20seems%20to%20be%20more%20and%20more%20a%20viable%20solution%20for%20us.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-187349%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Online%20modern%20site%20default%20theme%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-187349%22%20slang%3D%22en-US%22%3E%3CP%3EAny%20updates%20regarding%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-146337%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Online%20modern%20site%20default%20theme%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-146337%22%20slang%3D%22en-US%22%3E%3CP%3EWell%2C%20yes%20-%20if%20you%20choose%20a%20template%20when%20creating%26nbsp%3Bit%20from%20SharePoint%20Home.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20my%20knowledge%2C%20you%20%3CU%3Ecannot%3C%2FU%3E%20register%20a%20site%20script%20to%20run%20whenever%20a%20modern%20team%20site%20is%20created%2C%20only%20on%20a%20modern%20team%20site%20with%26nbsp%3Ba%20template%20(e.g.%20site%20design)%20created%20from%20SharePoint%20Home.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20do%20miss%20a%20capability%20like%20the%20old%20on-prem%20feature%20stapling%20concept%2C%20just%20to%20trigger%20something%20when%20a%20specific%20type%20of%20site%20is%20created.%20Site%20Scripts%20is%20close%2C%20but%20no%20cigar%20yet%20%3A%5C%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-146327%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Online%20modern%20site%20default%20theme%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-146327%22%20slang%3D%22en-US%22%3EI'm%20not%20talking%20about%20applying%20a%20theme%20pro-grammatically...Site%20Designs%20and%20Site%20Themes%20are%20applied%20based%20on%20a%20template%20ID.%20If%20you%20read%20the%20documentation%2C%20it's%20stated%20that%20it's%20possible%20to%20apply%20them%20automatically%20to%20Communication%20and%20Mondern%20Team%20sites...but%20I%20also%20asked%20if%20the%20same%20is%20possible%20with%20a%20custom%20template%20and%20this%20is%20what%20is%20not%20clear%20to%20me%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fdeclarative-customization%2Fsite-design-overview%3Fbranch%3Dsitedesign%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fdeclarative-customization%2Fsite-design-overview%3Fbranch%3Dsitedesign%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-146325%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Online%20modern%20site%20default%20theme%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-146325%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20your%20reply.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20to%20my%20knowledge%2C%20it%20is%20not%20possible%20to%20apply%20programmatically.%20At%20least%20for%20now.%20Another%20working%20solution%20for%20me%20would%20be%20that%20we%20can%20control%20%22a%20default%20site%20theme%22%20to%20use%20in%20general%20in%20SharePoint%20admin%20center%20-%20not%20necessary%20programmatically.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-146320%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Online%20modern%20site%20default%20theme%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-146320%22%20slang%3D%22en-US%22%3EDefinitively%20Site%20Scripts%20and%20Site%20Desings%20should%20be%20the%20answer%20here%2C%20but%20as%20you%20mentions%20it's%20not%20clear%20how%20to%20use%20them%20in%20a%20custom%20provisioning%20solution.%20I%20asked%20this%20in%20a%20PnP%20call%20last%20week%2C%20but%20the%20answer%20I%20got%20was%20not%20clear%3C%2FLINGO-BODY%3E
Deleted
Not applicable

Hi all,

 

We now have these new site theming options in SharePoint Online (Site theming @ Docs) and the ability to turn off default themes and adding our own. Thats is great, but so far we still cannot control the default theme, when we create new modern SharePoint site collections (connected with an Office 365 group).

 

Is this still the case? We cannot seem to find any documentation regarding this point.

 

I know that we can use this new "Site scripts" and "Site designs" functionality to control it (from SharePoint home), but SharePoint site collections can be created from other sources (like Outlook or Microsoft Teams) and in our case - in a custom site provisioning solution.

 

 

Thanks in advance!

7 Replies
Highlighted
Definitively Site Scripts and Site Desings should be the answer here, but as you mentions it's not clear how to use them in a custom provisioning solution. I asked this in a PnP call last week, but the answer I got was not clear
Highlighted

Thanks for your reply.

 

As to my knowledge, it is not possible to apply programmatically. At least for now. Another working solution for me would be that we can control "a default site theme" to use in general in SharePoint admin center - not necessary programmatically. 

Highlighted
I'm not talking about applying a theme pro-grammatically...Site Designs and Site Themes are applied based on a template ID. If you read the documentation, it's stated that it's possible to apply them automatically to Communication and Mondern Team sites...but I also asked if the same is possible with a custom template and this is what is not clear to me

https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview?branc...
Highlighted

Well, yes - if you choose a template when creating it from SharePoint Home.

 

To my knowledge, you cannot register a site script to run whenever a modern team site is created, only on a modern team site with a template (e.g. site design) created from SharePoint Home.

 

I do miss a capability like the old on-prem feature stapling concept, just to trigger something when a specific type of site is created. Site Scripts is close, but no cigar yet :\

Highlighted

Any updates regarding this?

Highlighted
Yes, the default site design will be used even if you creates the Group from lets say Outlook. I haven't had time to test it further, but seems to be more and more a viable solution for us.
Highlighted

Jonas you're absolutely right! Great stuff, thank you.

Related Conversations
Make Share function in Edge more useful
HotCakeX in Discussions on
2 Replies
Default language -> System language
dumut in Discussions on
5 Replies
API access to the new Project Online
BenjaminMel in Project on
2 Replies