PnP PowerShell SP 2013 using Get-PnPWebPart: "Field or property "ZoneId" does not exist.
Category
- [ ] Question
- [ ] Typo
- [x] Bug
- [ ] Additional article idea
Expected or Desired Behavior
Using PNP PowerShell build 3.14.1910.1 for SharePoint 2013. I am attempting to run Get-PnpWebPart to retrieve web parts from a page URL
Observed Behavior
I receive an error: "Get-PnPWebPart : Field or property "ZoneId" does not exist."
I feel this could be related to this issue: https://github.com/SharePoint/sp-dev-docs/issues/1402
Steps to Reproduce
Connect-PnPOnline -Url "http://teamsites.contoso.com/sites/siteColl/Subsite/" -CurrentCredentials $webparts = Get-PnPWebPart -ServerRelativePageUrl "/sites/siteColl/Subsite/SitePages/Test2.aspx"
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
I moved this here: https://github.com/SharePoint/PnP-PowerShell/issues/2339
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues