0

I was following this to restore a site template on a different site collection. But it keeps on throwing an exception "File not found".

Please suggest what I am missing

2
0

I had exactly the same issue using Joao's code. What fixed it for me was applying a different Template type. Change

-Template "BLANKINTERNET#0"

to

-Template "STS#3"

$web = New-PnpWeb -Title "$siteTitle" -Url "$siteUrl" -Description "$siteDescription" -Locale 1033 -Template "STS#3"
1
  • I already have a site, what I need just deploy the template(template path shown in the screenshot). May 8 '19 at 6:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.