SharePoint/sp-dev-provisioning-templates

Unable to apply the O365LearningCenter template to a brand new communication site

Opened this issue · 0 comments

When I try to apply the O365CL.pnp template to a freshly created communication site, I get an "Unable to define an unknown member" error. My user language is french but I've selected english as the site's default language.

The command used is
$template = "C:\LocalDev\sp-dev-provisioning-templates-master\sp-dev-provisioning-templates-master\tenant\O365Learning\O365CL.pnp"
Apply-PnPProvisioningTemplate -Path $template

And the error message is
Apply-PnPProvisioningTemplate : Impossible de définir le membre inconnu
'OfficeDevPnP.Core.Framework.Provisioning.Connectors.OpenXML.Model.PnPProperties.TemplateFileName'.
Au caractère Ligne:12 : 1

  • Apply-PnPProvisioningTemplate -Path $template
  •   + CategoryInfo          : WriteError: (:) [Apply-PnPProvisioningTemplate], XamlObjectWriterException
      + FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Provisioning.ApplyProvisioningTemplate
    
    

Version used is
Name Version


SharePointPnPPowerShellOnline 3.7.1903.0