Open nordtorp opened 5 years ago
FWIW, I recently starting seeing this with 2.27.1806.1 as well, but only with certain tenants.
This is because the new page header functionality started to hit targeted release tenants and the page header logic was not updated. This has been fixed in version 3.4.1812.1 from PnP sites core and the corresponding PS build will follow today
I feel like I still have the issue. @nordtorp can you confirm it fixed the issue?
When using the clientsidepage CmdLets it works perfectly fine until a user decides to edit the page and re-publish.
hereafter the below error is shown:
Get-PnPClientSidePage "home.aspx" Get-PnPClientSidePage : Object reference not set to an instance of an object. At line:1 char:1
I was trying to disable comments - and it worked fine until I wanted to redo the event - and edited the page to enable it again. Then the above error is thrown
Reporting an Issue or Missing Feature
Get-PnPClientSidePage and Set-PnPClientSidePage fails after user edited the page.
Steps to reproduce behavior
Which version of the PnP-PowerShell Cmdlets are you using?
How did you install the PnP-PowerShell Cmdlets?