Forum Discussion
Ransher Singh
Jan 06, 2017Copper Contributor
Error when trying to create site template using Get-PnPProvisioningTemplate
I am trying to copy a template from a SPO existing site on my tenant and recieving the following error: Connect-PnPOnline -url "https://mycustomtenant.sharepoint.com/sites/sptest" Get-PnPProvi...
Anonymous
Jan 07, 2017Do you use the latest PNP powershell? https://www.microsoft.com/en-us/download/details.aspx?id=35588
Ransher Singh
Jan 09, 2017Copper Contributor
Hi Paul,
I am. I assume the issue might be with one of the lists in the site which I am trying to convert into a site template.
So I am debugging in Powershell
Set-SPOTraceLog -On -Level Debug
and then running the Provisioning command to see where it fails:
Get-SPOProvisioningTemplate -Handler Fields -Out c:\temp\test.xml
Do let me know if I am on the right path, or I should be attempting something else.
Thanks!