{"action":"created","issue":{"url":"https://api.github.com/repos/SharePoint/PnP-PowerShell/issues/1721","repository_url":"https://api.github.com/repos/SharePoint/PnP-PowerShell","labels_url":"https://api.github.com/repos/SharePoint/PnP-PowerShell/issues/1721/labels{/name}","comments_url":"https://api.github.com/repos/SharePoint/PnP-PowerShell/issues/1721/comments","events_url":"https://api.github.com/repos/SharePoint/PnP-PowerShell/issues/1721/events","html_url":"https://github.com/SharePoint/PnP-PowerShell/issues/1721","id":367033985,"node_id":"MDU6SXNzdWUzNjcwMzM5ODU=","number":1721,"title":"Get-PnPWebPart returns no results","user":{"login":"DominicHorne","id":43846066,"node_id":"MDQ6VXNlcjQzODQ2MDY2","avatar_url":"https://avatars0.githubusercontent.com/u/43846066?v=4","gravatar_id":"","url":"https://api.github.com/users/DominicHorne","html_url":"https://github.com/DominicHorne","followers_url":"https://api.github.com/users/DominicHorne/followers","following_url":"https://api.github.com/users/DominicHorne/following{/other_user}","gists_url":"https://api.github.com/users/DominicHorne/gists{/gist_id}","starred_url":"https://api.github.com/users/DominicHorne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DominicHorne/subscriptions","organizations_url":"https://api.github.com/users/DominicHorne/orgs","repos_url":"https://api.github.com/users/DominicHorne/repos","events_url":"https://api.github.com/users/DominicHorne/events{/privacy}","received_events_url":"https://api.github.com/users/DominicHorne/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-05T02:11:36Z","updated_at":"2018-10-09T08:28:12Z","closed_at":"2018-10-09T08:28:11Z","author_association":"NONE","body":"### Reporting an Issue or Missing Feature\r\nIssue\r\n\r\n### Expected behavior \r\nExpect Get-PnPWebPart to return all web parts on a page. The page is a modern page stored in the Site Pages library\r\n\r\n### Actual behavior \r\nNo web parts are returned\r\n\r\n### Steps to reproduce behavior\r\nPS H:\\> Connect-PnPOnline -Url https://tenant.sharepoint.com/sites/SampleTeamSiteExport -Credentials $cred\r\nPS H:\\> $webParts = Get-PnPWebPart -ServerRelativePageUrl \"/sites/SampleTeamSiteExport/SitePages/ABC.aspx\"\r\nPS H:\\> $webParts.Count\r\n0\r\nPS H:\\> $webParts = Get-PnPWebPart -ServerRelativePageUrl \"/sites/SampleTeamSiteExport/SitePages/Meetings.aspx\"\r\nPS H:\\> $webParts.Count\r\n0\r\n\r\nNote: Tested with -DenyAddAndCustomizePages ON and OFF\r\n\r\n### Which version of the PnP-PowerShell Cmdlets are you using?\r\n- [x] PnP PowerShell for SharePoint Online\r\n\r\n### What is the version of the Cmdlet module you are running?\r\n3.1.1809.0\r\n\r\n### How did you install the PnP-PowerShell Cmdlets? \r\n- [x] Installed through the PowerShell Gallery with Install-Module\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SharePoint/PnP-PowerShell/issues/comments/428105960","html_url":"https://github.com/SharePoint/PnP-PowerShell/issues/1721#issuecomment-428105960","issue_url":"https://api.github.com/repos/SharePoint/PnP-PowerShell/issues/1721","id":428105960,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODEwNTk2MA==","user":{"login":"DominicHorne","id":43846066,"node_id":"MDQ6VXNlcjQzODQ2MDY2","avatar_url":"https://avatars0.githubusercontent.com/u/43846066?v=4","gravatar_id":"","url":"https://api.github.com/users/DominicHorne","html_url":"https://github.com/DominicHorne","followers_url":"https://api.github.com/users/DominicHorne/followers","following_url":"https://api.github.com/users/DominicHorne/following{/other_user}","gists_url":"https://api.github.com/users/DominicHorne/gists{/gist_id}","starred_url":"https://api.github.com/users/DominicHorne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DominicHorne/subscriptions","organizations_url":"https://api.github.com/users/DominicHorne/orgs","repos_url":"https://api.github.com/users/DominicHorne/repos","events_url":"https://api.github.com/users/DominicHorne/events{/privacy}","received_events_url":"https://api.github.com/users/DominicHorne/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T08:28:11Z","updated_at":"2018-10-09T08:28:11Z","author_association":"NONE","body":"Use Get-PnPClientSidePage to retrieve controls on modern pages."}}
{"actor":{"display_login":"DominicHorne"}}