Forum Discussion
KanchanKumbhar
Jan 09, 2020Copper Contributor
Get-PnPProvisioningTemplate failing with Object reference not set to an instance of an object
1. From this 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
I wanted all images and pages are get provisioned with template
- oliwer_sundgrenSteel Contributor
- KanchanKumbharCopper Contributor
oliwer_sundgren :Here is the screenshot
- oliwer_sundgrenSteel 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