Forum Discussion
Blair24
Dec 07, 2018Copper Contributor
PnP Get Site Template - Object reference not set to an instance of an object
Hey, Wondering if anyone else has had a similar issue? Get the error "Object reference not set to an instance of an object" when running Get-PnPProvisioningTemplate. Have tried it both on PS & PS ...
Thuyavan Ganesan
Dec 09, 2018Iron Contributor
Hi Blair,
There is no defined solution for it "Object reference not set to an instance of an object" is vast. Try to run the PnP-PowerShell inside an AzureFunction and see if it go through.
Hope this helps ,
Thuyavan
There is no defined solution for it "Object reference not set to an instance of an object" is vast. Try to run the PnP-PowerShell inside an AzureFunction and see if it go through.
Hope this helps ,
Thuyavan
- Blair24Dec 10, 2018Copper Contributor
Hi Thuyavan,
Sadly that fails as well! Have tried it in a: Function App, PowerShell ISE and standard PowerShell. Same result every time sadly...