sp-dev-provisioning-templates icon indicating copy to clipboard operation
sp-dev-provisioning-templates copied to clipboard

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

Open benoitfournier opened this issue 5 years ago • 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

benoitfournier avatar Mar 28 '19 20:03 benoitfournier