Office 365 – PnP – Exporting sites with welcome pages not set to a page

Today I tried to export a site as a PnP template and I was getting an annoying error: Get-PnPProvisioningTemplate : Cannot invoke method or retrieve property from null object. Object returned by the following call stack is null. "ListItemAllFields " At D:\Temp\DMPowershell\GetPnPTemplateClients.ps1:9 char:1 + Get-PnPProvisioningTemplate -Web $sourceWeb -Out "d:\Temp\DMPowershel ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo          : … Continue reading Office 365 – PnP – Exporting sites with welcome pages not set to a page

Advertisements