PnP-Provisioning-Schema
PnP-Provisioning-Schema copied to clipboard
Mandatory "Owner" field missing from Extracted Template.
When using PnP PowerShell 1.9.0 and extracting the schema for a site collection, "d4p1:type=pnp:ComminicationSite
" or "d4p1:type=pnp:TeamSiteNoGroup
", the mandatory "Owner
" field is missing thus creating an invalid schema file in the <Sequence>
node
<pnp:SiteCollections>
<pnp:SiteCollection d4p1:type="pnp:CommunicationSite" Title="{parameter:SITECOLLECTION_TITLE}" Description="" IsHubSite="false" Url="{parameter:SITECOLLECTION_URL}" AllowFileSharingForGuestUsers="true" Language="1033" xmlns:d4p1="http://www.w3.org/2001/XMLSchema-instance">
<pnp:Templates>
<pnp:ProvisioningTemplateReference ID="TEMPLATE-8942c3d7f6fb4196ae470fb35ee4fe9c" />
</pnp:Templates>
</pnp:SiteCollection>