Open Blackfoj opened 4 years ago
I'm currently unable to export PnP templates as XML. Error message is blank.
Successful export of a template as XML.
Connect-PnPOnline : Exception has been thrown by the target of an invocation. At line:1 char:1
+ CategoryInfo : NotSpecified: (:) [Connect-PnPOnline], TargetInvocationException + FullyQualifiedErrorId : System.Reflection.TargetInvocationException,SharePointPnP.PowerShell.Commands.Base.ConnectOnline
Get-PnPProvisioningTemplate : At line:2 char:1
+ CategoryInfo : WriteError: (:) [Get-PnPProvisioningTemplate], Exception + FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Provisioning.Site.GetProvisioningTemplate
Connect-PnPOnline -url https://tenant.sharepoint.com/sites/TeamSiteTemplate Get-PnPProvisioningTemplate -Out TESTXML.xml
ModuleType Version Name ExportedCommands
Binary 3.13.19... SharePointPnPPowerShellOnline {Add-PnPAlert, Add-PnPApp, Add-PnPClientSidePage, Add-PnPClientSidePageSection...}
NB. I'm fairly new to this, but have successfully performed this before.
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Reporting an Issue or Missing Feature
I'm currently unable to export PnP templates as XML. Error message is blank.
Expected behaviour
Successful export of a template as XML.
Actual behaviour
Connect-PnPOnline : Exception has been thrown by the target of an invocation. At line:1 char:1
Get-PnPProvisioningTemplate : At line:2 char:1
Steps to reproduce behaviour
Connect-PnPOnline -url https://tenant.sharepoint.com/sites/TeamSiteTemplate Get-PnPProvisioningTemplate -Out TESTXML.xml
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
ModuleType Version Name ExportedCommands
Binary 3.13.19... SharePointPnPPowerShellOnline {Add-PnPAlert, Add-PnPApp, Add-PnPClientSidePage, Add-PnPClientSidePageSection...}
How did you install the PnP-PowerShell Cmdlets?
NB. I'm fairly new to this, but have successfully performed this before.