Notice: many issues / bugs reported are actually related to the PnP Core Library which is used behind the scenes. Consider carefully where to report an issue:
Are you using Apply-SPOProvisioningTemplate or Get-SPOProvisioningTemplate? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/officedev/PnP-Sites-Core/issues.
Is the issue related to the cmdlet itself, its parameters, the syntax, or do you suspect it is the code of the cmdlet that is causing the issue? Then please continue reporting the issue in this repo.
Notice: many issues / bugs reported are actually related to the PnP Core Library which is used behind the scenes. Consider carefully where to report an issue:
Apply-SPOProvisioningTemplate
orGet-SPOProvisioningTemplate
? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/officedev/PnP-Sites-Core/issues.Reporting an Issue or Missing Feature
Reporting an Issue
Expected behavior
I expect that a new webpart will be added to home page when I run the following code 👍
Add-PnPClientSideWebPart -Page "Home" -Component d5196c4d-3be7-462f-9909-061d73b94631 -Section 1 -Column 2 -Order 1
Actual behavior
I get this error :
Please note that this happens only for non-default webparts. For instance, webparts like news and activity, the code runs fine.
Steps to reproduce behavior
Please include complete code samples in-line or linked from gists
Step 1: Create a new document library on Sharepoint online called "NewDocLib" Ste p 2 : Run the following code:
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing
Get-Module -Name *pnppowershell* -ListAvailable
)SharePointPnPPowerShellOnline
How did you install the PnP-PowerShell Cmdlets?