LabibSalah / Issues

0 stars 0 forks source link

Invoke-PnPSiteTemplate not working properly and shows an error Object reference not set to an instance of an object. #1

Open LabibSalah opened 3 months ago

LabibSalah commented 3 months ago

I wrote a snippet of code in powershell that fit to that business: distribute the Article page Template Folder(which is located in the hubsite)content to all the sites that are associated to the Hubsite.

The code is below

image

PNP Version : image

I would appreciate any Tips :)

LabibSalah commented 3 months ago

Is there anyone from the community who can answer me ?