Forum Discussion
Joe Fedorowicz
Feb 04, 2017Iron Contributor
Add WSP Solution to Office 365 Group Site
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.
- Group sites are "special" sites and if PnP is dropping errors when trying to upload a WSP to the Sandbox solution gallery could be due to the fact is a not-supported operation. By the way: are you aware that Sandbox solutions are being deprecated? Not in the case of WSPs that contains declarative stuff (such as a workflow. How did you generate the WSP for the workflow?
- Joe FedorowiczIron Contributor
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.
- That's not the way to go: using the save as template feature for sites...the scenario you are describing fits really well with the capabilities provided by the PnP Provisioning engine and cmdlets