Forum Discussion
Provision O365 Groups with custom SharePoint site template possible?
While traditional team sites can be provisioned using a customized self-service site provisioning wizard to create a customized team sites (e.g. with custom home page, doclibs, lists, folder structure etc), can do the same with the Office 365 Groups' modern team site? Like to seek what's the best practice if we want to do this. Thank you!
20 Replies
- Alan MarshallSteel ContributorAt the moment, you will need to build a provisioning solution using either custom code using CSOM and the PnP or Flow and the Microsoft Graph API. Using either of these methods, you can build your own group request form and then control the creation process and provision site assets like content types, columns and lists. I got POC working using Flow and the Graph API to create the group but haven't got to configuring the created site yet.
The other option coming up is the use of a Site Design that is defined in JSON with all the attributes mentioned in this conversation, this was announced at Ignite in a session on the theming of sites.- Michael ArmstrongCopper Contributor
Hi Alan,
Do you have any more information on this? I'm looking to hook into the automatic group site creation process to apply a custom template, whether the group site is created via SharePoint, or from O365 / Outlook. Sounds like you've poc'd this, and I'd love to learn more about how you did it.
Thanks!
If you are in Targetted release you can now use the new Site Design scripts, and customise the default templates as per :-
https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview
- Fabian AlfonsoCopper Contributor
I tried to use this to save a list as a template for groups but didn't work.
Has anyone else tried it?
- Deleted
Hi this should be possible aldo i never done it. Curious going to find it out real soon as i am going to provision groups and sites using pnp
- No, this is currently not possible...every Group Site uses the same site template. However, this is going to change in the future when we have the ability to attach a Group to an existing SPO site.
- Daniel GomezCopper Contributor
Hi Juan Carlos,
Do you know when this feature will arrive?
Thanks!