pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
987 stars 665 forks source link

Get-PnPWebPart for SP 2013: "Field or property "ZoneId" does not exist. #2339

Open samculver opened 4 years ago

samculver commented 4 years ago

Reporting an Issue or Missing Feature

Hello, I am receiving an error when using Get-PnPWebPart on SharePoint 2013

Expected behavior

I am attempting to run Get-PnpWebPart to retrieve web parts from a page URL

Actual behavior

I receive an error: "Get-PnPWebPart : Field or property "ZoneId" does not exist." image

Steps to reproduce behavior

Connect-PnPOnline -Url "http://teamsites.contoso.com/sites/siteColl/Subsite/" -CurrentCredentials $webparts = Get-PnPWebPart -ServerRelativePageUrl "/sites/siteColl/Subsite/SitePages/Test2.aspx"

Which version of the PnP-PowerShell Cmdlets are you using?

What is the version of the Cmdlet module you are running?

3.14.1910.1

How did you install the PnP-PowerShell Cmdlets?

ghost commented 4 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.