Apply-PnPProvisioningTemplate : File not Found

%3CLINGO-SUB%20id%3D%22lingo-sub-807303%22%20slang%3D%22en-US%22%3EApply-PnPProvisioningTemplate%20%3A%20File%20not%20Found%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-807303%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20attempting%20to%20use%20the%20following%20article%20in%20order%20to%20provision%20a%20template%20design%20to%20my%20sharepoint%20site%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fnickvandenheuvel.eu%2F2016%2F03%2F04%2Fextract-and-apply-templates-with-office-dev-pnp-provisioning-powershell%2F%23comments%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fnickvandenheuvel.eu%2F2016%2F03%2F04%2Fextract-and-apply-templates-with-office-dev-pnp-provisioning-powershell%2F%23comments%3C%2FA%3E%3C%2FP%3E%3CP%3EUnfortunately%20I%20keep%20running%20in%20to%20issues%20when%20using%20the%20%22Apply-PnPProvisioningTemplate%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPS%20C%3A%5CScripts%5CSharePoint%26gt%3B%20Apply-PnPProvisioningTemplate%20-Web%20sites%2Ftest164%2F%3CBR%20%2F%3EApply-PnPProvisioningTemplate%20%3A%20File%20Not%20Found.%3CBR%20%2F%3EAt%20line%3A1%20char%3A1%3CBR%20%2F%3E%2B%20Apply-PnPProvisioningTemplate%20-Web%20sites%2Ftest164%2F%3CBR%20%2F%3E%2B%20~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E%2B%20CategoryInfo%20%3A%20WriteError%3A%20(%3A)%20%5BApply-PnPProvisioningTemplate%5D%2C%20ServerException%3CBR%20%2F%3E%2B%20FullyQualifiedErrorId%20%3A%20EXCEPTION%2CSharePointPnP.PowerShell.Commands.Provisioning.Site.ApplyProvisioningTemplate%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20not%20sure%20of%20what%20this%20is%20referring%20to.%20Also%20could%20someone%20help%20me%20understand%20what%20the%20Get-PnPWeb%20command%20does.%20I%20also%20tried%20to%20use%20the%20command%3C%2FP%3E%3CPRE%3E%3CSPAN%20class%3D%22hljs-pscommand%22%3ESet-PnPTraceLog%3C%2FSPAN%3E%3CSPAN%20class%3D%22hljs-parameter%22%3E%20-On%3C%2FSPAN%3E%3CSPAN%20class%3D%22hljs-parameter%22%3E%20-LogFile%3C%2FSPAN%3E%20traceoutput.txt%3CSPAN%20class%3D%22hljs-parameter%22%3E%20-Level%3C%2FSPAN%3E%20Debug%3CSPAN%20class%3D%22hljs-parameter%22%3E%20-Delimiter%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22hljs-string%22%3E%22%2C%22%3C%2FSPAN%3E%3C%2FPRE%3E%3CP%3EBut%20I%20get%20the%20following%3A%3C%2FP%3E%3CP%3EPS%20C%3A%5CScripts%5CSharePoint%26gt%3B%20Set-PnPTraceLog%20-On%20-LogFile%20traceoutput.txt%20-Level%20Debug%20-Delimiter%20%22%2C%22%3CBR%20%2F%3ESet-PnPTraceLog%20%3A%20The%20given%20path's%20format%20is%20not%20supported.%3CBR%20%2F%3EAt%20line%3A1%20char%3A1%3CBR%20%2F%3E%2B%20Set-PnPTraceLog%20-On%20-LogFile%20traceoutput.txt%20-Level%20Debug%20-Delimiter%20...%3CBR%20%2F%3E%2B%20~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E%2B%20CategoryInfo%20%3A%20NotSpecified%3A%20(%3A)%20%5BSet-PnPTraceLog%5D%2C%20NotSupportedException%3CBR%20%2F%3E%2B%20FullyQualifiedErrorId%20%3A%20System.NotSupportedException%2CSharePointPnP.PowerShell.Commands.Base.SetTraceLog%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20ideas%20on%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-807303%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPnP%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Visitor

I am attempting to use the following article in order to provision a template design to my sharepoint site:

https://nickvandenheuvel.eu/2016/03/04/extract-and-apply-templates-with-office-dev-pnp-provisioning-...

Unfortunately I keep running in to issues when using the "Apply-PnPProvisioningTemplate"

 

PS C:\Scripts\SharePoint> Apply-PnPProvisioningTemplate -Web sites/test164/
Apply-PnPProvisioningTemplate : File Not Found.
At line:1 char:1
+ Apply-PnPProvisioningTemplate -Web sites/test164/
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (:) [Apply-PnPProvisioningTemplate], ServerException
+ FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Provisioning.Site.ApplyProvisioningTemplate

 

 

I am not sure of what this is referring to. Also could someone help me understand what the Get-PnPWeb command does. I also tried to use the command

Set-PnPTraceLog -On -LogFile traceoutput.txt -Level Debug -Delimiter ","

But I get the following:

PS C:\Scripts\SharePoint> Set-PnPTraceLog -On -LogFile traceoutput.txt -Level Debug -Delimiter ","
Set-PnPTraceLog : The given path's format is not supported.
At line:1 char:1
+ Set-PnPTraceLog -On -LogFile traceoutput.txt -Level Debug -Delimiter ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-PnPTraceLog], NotSupportedException
+ FullyQualifiedErrorId : System.NotSupportedException,SharePointPnP.PowerShell.Commands.Base.SetTraceLog

 

Any ideas on this?

 

0 Replies