pnp / PnP-Sites-Core

Microsoft 365 Dev PnP Core component (.NET) targeted for increasing developer productivity with CSOM based solutions.
Other
416 stars 642 forks source link

pnp:Office365GroupsSettings and Apply-PnPProvisioningTemplate #2441

Open PooLP opened 5 years ago

PooLP commented 5 years ago

Category

[x] Bug [ ] Enhancement

Environment

[x] Office 365 / SharePoint Online [ ] SharePoint 2016 [ ] SharePoint 2013

On latest PnP Poweshell (October 2019), if you have :

<pnp:Tenant>
    <pnp:Office365GroupsSettings />
</pnp:Tenant>

Entry in the template, the provisionning of team site crash (i don't tested on communication site)

error => Apply-PnPProvisioningTemplate : The provided template is not valid!

Thanks

ghost commented 5 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

maps05 commented 5 years ago

I'm having the same issue (SPO, release 3.14.1910.0).

Can be easily replicated doing any simple Get-PnPProvisioningTemplate operation (e.g. features handler) and trying to apply it to a site afterwards. The Office365GroupsSettings node is always present and is the source of the issue. Here's the message from a XSD validator:

The Content Of Element 'pnp:Office365GroupsSettings' Is Not Complete. One Of '{"http://schemas.dev.office.com/PnP/2019/09/ProvisioningSchema":Property}' Is Expected.