SOLVED

Hi Guys, Who knows that how to create a SPO site from a customized template?

%3CLINGO-SUB%20id%3D%22lingo-sub-823835%22%20slang%3D%22en-US%22%3EHi%20Guys%2C%20Who%20knows%20that%20how%20to%20create%20a%20SPO%20site%20from%20a%20customized%20template%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-823835%22%20slang%3D%22en-US%22%3E%3CP%3EI%20want%20to%20create%20a%20site%20with%20my%20own%20customized%20template%20rather%20than%20%22team%20site%20or%20communication%20site%22%20template%20provided%20by%20default.%20Who%20knows%20how%20to%20achieve%20this%3F%20in%20powershell%20or%20portal%20or%20anyway%20is%20ok.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-823835%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-823985%22%20slang%3D%22en-US%22%3ERe%3A%20Hi%20Guys%2C%20Who%20knows%20that%20how%20to%20create%20a%20SPO%20site%20from%20a%20customized%20template%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-823985%22%20slang%3D%22en-US%22%3EYou%20can%20absolutely%20do%20this%20in%20SharePoint%20Online%20and%20this%20is%20what%20you%20have%20to%20take%20a%20look%3A%3CBR%20%2F%3E(1)%20Learn%20how%20to%20create%20and%20apply%20PnP%20Templates%20to%20SPO%20Sites...A%20PnP%20Template%20is%20an%20XML%20file%20that%20contains%20all%20the%20customizations%20you%20want%20for%20your%20sites.%20This%20approach%20implies%20you%20are%20going%20to%20create%20your%20sites%20and%20apply%20the%20template%20by%20means%20of%20PowerShell%20Code%2C%20%23C%20Code%20(in%20an%20Azure%20Function)%20or%20Flow...there%20are%20different%20patterns%20to%20do%20that.%3CBR%20%2F%3E(2)%20As%20an%20alternative%20to%20PnP%20Templates%2C%20take%20a%20look%20at%20Site%20Scripts%20%26amp%3B%20Site%20Designs...A%20Site%20Script%20is%20a%20JSON%20file%20that%20contains%20customizations%20to%20be%20applied%20to%20new%20and%20existing%20sites.%20A%20Site%20Design%20can%20contain%20more%20than%20one%20Site%20Scripts%20and%20Site%20Design%20can%20be%20applied%20to%20a%20new%20or%20existing%20site%20in%20the%20following%20ways%3A%20Directly%20in%20the%20SPO%20UI%20using%20the%20Site%20Desings%20option%20available%20in%20the%20settings%20menu%20for%20existing%20sites%20or%20at%20the%20moment%20of%20creating%20a%20communication%20site%2C%20PS%20Code%2C%20C%23%20code%20or%20Flow%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-828322%22%20slang%3D%22en-US%22%3ERe%3A%20Hi%20Guys%2C%20Who%20knows%20that%20how%20to%20create%20a%20SPO%20site%20from%20a%20customized%20template%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-828322%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%26nbsp%3Bso%20much%2C%20Juan%2C%20I%20will%20do%20more%20research%20according%20to%20your%20advice%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

I want to create a site with my own customized template rather than "team site or communication site" template provided by default. Who knows how to achieve this? in powershell or portal or anyway is ok.

2 Replies
Highlighted
Best Response confirmed by HarrysProfile (New Contributor)
Solution
You can absolutely do this in SharePoint Online and this is what you have to take a look:
(1) Learn how to create and apply PnP Templates to SPO Sites...A PnP Template is an XML file that contains all the customizations you want for your sites. This approach implies you are going to create your sites and apply the template by means of PowerShell Code, #C Code (in an Azure Function) or Flow...there are different patterns to do that.
(2) As an alternative to PnP Templates, take a look at Site Scripts & Site Designs...A Site Script is a JSON file that contains customizations to be applied to new and existing sites. A Site Design can contain more than one Site Scripts and Site Design can be applied to a new or existing site in the following ways: Directly in the SPO UI using the Site Desings option available in the settings menu for existing sites or at the moment of creating a communication site, PS Code, C# code or Flow
Highlighted

Thanks so much, Juan, I will do more research according to your advice @Juan Carlos González Martín