Apply-PnPProvisioningTemplate : File not Found

Copper Contributor

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

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