Feb 04 2017 05:46 AM
Good morning,
I have a workflow that utilizes a Solution to generate a templated subsite when a list item is created. This works great on non-Office 365 Group SharePoint sites, but I was hoping to utilize the other features of Groups and still have the benefits of the subsite setup that I have in place.
I understand I am blocked from doing this from the GUI, which is fine because I want to do it from PowerShell (PnP) anyway. I'm trying to use Install-PnPSoltion but am getting a permissions error. I'm an owner of the Group (and actually manually gave myself Administrator access).
Help? Is this possible? Should I do this another way? Where should the WSP Template be stored for use in my Powershell script?
Thanks.
Feb 04 2017 07:10 AM
Feb 04 2017 07:22 AM
When I save a site template, it saves it to the solutions gallery. I then want to populate that elsewhere (to about 150 other site collections, that are identical) using Powershell, or another method. This would allow me to make a change to one template and populate it elsewhere without having to do so manually.
Feb 04 2017 07:26 AM
Feb 04 2017 07:29 PM
So I want to spin up a subsite with a certain set of libraries (with content types) and lists in it, every time someone submits a list item.
How would you recommend I do that?
Feb 04 2017 11:46 PM
Feb 05 2017 03:12 AM
Just to confirm and provide some additional resouces. Like @Juan Carlos González Martín mentioned, modern SP sites are different and since they have "noscript" setting enabled, you cannot use sandbox solutions with them. Your can find supported and non-supported features from following MSDN article.
Feb 05 2017 06:08 AM
Feb 05 2017 06:55 AM