This video shows how to take advantage of "remote provisioning" pattern also for sub site creation by overriding the end user sub site creation experience with provider hosted app.
The video shows following topics:
- How to implement self service site collection creation add-in for new site collections
- How to implement background process to asynchronous process site creation requests
- How to provision new site collection in Office 365 using app-only permissions
Notice. In this sample code, we use simply console application to process requests. In production you could simply deploy this console application to be executed as scheduled task using Azure WebJob.
The sample code used in the video is available on PnP:
If you are more interested on this exact same capability for on-premises, please check more details from the following PnP sample, which is using similar logic, but is targeted to on-premises. You can find required configurations for your on-premises farm to enabled this capability from the blog post referenced in the read me file of the below sample.
If you have any feedback or comments related on this video, please use the Office 365 Developer Patterns and Practices Yammer group to start discussion with the PnP community