Create custom sharepoint online site via teams

%3CLINGO-SUB%20id%3D%22lingo-sub-1381248%22%20slang%3D%22fr-FR%22%3ECreate%20custom%20sharepoint%20online%20site%20via%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1381248%22%20slang%3D%22fr-FR%22%3E%3CP%3EHello%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20you%20create%20a%20new%20team%20in%20Teams%2C%20it%20automatically%20create%20a%20sharepoint%20team%20site.%20But%2C%20the%20created%20site%20always%20use%20the%20default%20site%20template.%26nbsp%3B%3C%2FP%3E%3CP%3E1.%20Is%20it%20possible%20to%20create%20a%20team%20that%20will%20use%20a%20custom%20site%20template%20to%20make%20its%20sharepoint%20site%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20also%20know%20it%20is%20possible%20to%20create%20a%20custom%20site%20(that%20will%20create%20a%20new%20office%20group)%20and%20after%20that%2C%20create%20a%20team%20in%20microsoft%20Teams%20from%20this%20group%20and%20link%20the%20site%20to%20teams.%20But%20it%20is%20in%202%20steps.%26nbsp%3B%3C%2FP%3E%3CP%3E2.%20So%20is%20it%20possible%20to%20automatically%20create%20a%20team%20in%20Teams%20when%20you%20create%20a%20site%3F%20With%20a%20workflow%20for%20example.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%2C%20in%20conclusion%2C%20I%20would%20like%20to%20find%20a%20way%20to%20create%20a%20team%20and%20its%20site%20with%20a%20custom%20template%20in%20one%20step.%20I%20take%20all%20ideas%5E%5E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1381248%22%20slang%3D%22fr-FR%22%3E%3CLINGO-LABEL%3ESharePoint%20online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1381723%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20custom%20sharepoint%20online%20site%20via%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1381723%22%20slang%3D%22en-US%22%3EYes%2C%20what%20you%20have%20to%20do%20is%20once%20the%20Team%20and%20the%20site%20is%20created%20to%20apply%20your%20template%20assuming%20you%20are%20using%20PnP%20behind%20the%20scenes%20or%20even%20Site%20Scripts%20%2B%20Site%20Designs%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1382183%22%20slang%3D%22fr-FR%22%3ERe%3A%20Create%20custom%20sharepoint%20online%20site%20via%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1382183%22%20slang%3D%22fr-FR%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonzalez%20Martin%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOkay%2C%20but%20I%20know%20nothing%20about%20PnP.%20I%20should%20precise%20I'm%20a%20beginner%20with%20Sharepoint%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20here%2C%20it%20is%20in%202%20steps%2C%20isn't%20it%3F%20Because%20you%20have%20to%20create%20the%20team%20first%20and%20after%20you%20have%20to%20go%20in%20Sharepoint%20to%20apply%20the%20template%2C%20right%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20like%20to%20apply%20all%20these%20settings%20from%20Teams%20only.%20%3CBR%20%2F%3E%20So%2C%20if%20someone%20create%20a%20sales%20team%20for%20example%2C%20he%20doesn't%20have%20to%20go%20in%20Sharepoint%20to%20apply%20the%20%22sales%20template%22%20because%20it%20will%20automatically%20do%20that.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOr%20if%20someone%20create%20a%20site%20in%20Sharepoint%2C%20he%20doesn't%20have%20to%20go%20in%20Teams%20to%20create%20the%20team%20after.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20it%20possible%20with%20the%20pnp%20things%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1382207%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20custom%20sharepoint%20online%20site%20via%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1382207%22%20slang%3D%22en-US%22%3EYou%20could%20use%20site%20scripts%20and%20site%20designs%20for%20this.%20You%20could%20add%20your%20site%20script%20to%20the%20default%20site%20design%20used%20for%20team%20sites.%20This%20way%20it%20will%20always%20be%20used.%20You%20could%20add%20a%20Flow%20or%20Logic%20app%20to%20it%20to%20do%20exotic%20things%20not%20supported%20yet%20in%20the%20site%20scripts.%20This%20way%20you%20could%20also%20have%20logic%20to%20determine%20to%20apply%20something%20or%20not%20based%20on%20the%20fact%20that%20it%20is%20Team%20or%20not.%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hello, 

 

When you create a new team in Teams, it automatically create a sharepoint team site. But, the created site always use the default site template. 

1. Is it possible to create a team that will use a custom site template to make its sharepoint site? 

 

I also know it is possible to create a custom site ( that will create a new office group) and after that, create a team in microsoft Teams from this group and link the site to teams. But it is in 2 steps. 

2. So is it possible to automatically create a team in Teams when you create a site? With a workflow for example.

 

So, in conclusion, I would like to find a way to create a team and its site with a custom template in one step. I take all ideas ^^  

3 Replies
Highlighted
Yes, what you have to do is once the Team and the site is created to apply your template assuming you are using PnP behind the scenes or even Site Scripts + Site Designs
Highlighted

@Juan Carlos González Martín 

 

Ok, but I know nothing about PnP. I should precise I'm a beginner with Sharepoint :)

 

But here, it is in 2 steps, isn't it? Because you have to create the team first and after you have to go in Sharepoint to apply the template, right? 

 

I would like to apply all these settings from Teams only.
So, if someone create a sales team for example, he doesn't have to go in Sharepoint to apply the "sales template" because it will automatically do that. 

 

Or if someone create a site in Sharepoint, he doesn't have to go in Teams to create the team after. 

 

Is it possible with the pnp things? 

 

 

Highlighted
You could use site scripts and site designs for this. You could add your site script to the default site design used for team sites. This way it will always be used. You could add a Flow or Logic app to it to do exotic things not supported yet in the site scripts. This way you could also have logic to determine to apply something or not based on the fact that it is Team or not.