pnp / PnP-PowerShell

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

Unable to export template as XML #2380

Open Blackfoj opened 4 years ago

Blackfoj commented 4 years ago

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.

ghost commented 4 years ago

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