Forum Discussion
Swee Ching Ho
Jun 08, 2017Copper Contributor
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 structur...
Alan Marshall
Nov 19, 2017Steel Contributor
At 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.
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 Armstrong
Jan 25, 2018Copper 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!
- Jan 25, 2018
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
- Michael ArmstrongJan 25, 2018Copper Contributor
Thanks Stephen. That's exactly what I was looking for, with one exception. While this is possible when creating team sites from SharePoint, is there any way to apply this to sites that are automatically created when creating a new group elsewhere, such as Outlook? SharePoint automatically creates a new team site for this group, but doesn't provide the option to chose a template, so I'm wondering if I can tap into a webhook, or how I would be able to apply this to that scenario. Any info is appreciated!
Thanks.
- Jan 25, 2018
The documentation says you can update the default design for team site template, I havent tested it but it would certainly seem reasonable that it should apply if that was created from other workloads.