Forum Discussion
Get-PnPProvisioningTemplate failing with Object reference not set to an instance of an object
1. From https://lookbook.microsoft.com/details/34756b7e-e6f6-4327-ba4a-96494a50dca3 link we created the site
2.Then we run the script to get template for further customization
|
3.While processing the script "Client Side Page Contents" it fails with Object not reference,then we exclude the Client Side page content with the script - there it works but all the images are omitted
https://sharepoint.stackexchange.com/questions/254454/get-pnpprovisioningtemplate-home-aspx-error
I wanted all images and pages are get provisioned with template
13 Replies
- oliwer_sundgrenIron Contributor
- KanchanKumbharCopper Contributor
oliwer_sundgren :Here is the screenshot
- oliwer_sundgrenIron Contributor
I've seen this issue before
This issue should have been resolved in the 3,4 version of the PNP module.
Could you try and update your powershell module?
If it still doesnt work, do you perhaps have targeted release in your tenant?
Kind Regards
Oliwer