Skip to content

Modern Site Pages migration with Get-PnPProvisioningTemplate #120

Discussion options

You must be logged in to vote

By default when we extract a template for a site we include references for a file, but do not download the actual file. The error message you're seeing is that the engine wants to provision a file, but it cannot find it on the file system where the template resides. If you include the -PersistBrandingFiles parameter you will notice a SiteAssets folder being created at the current location where you execute the cmdlet with in there the files. The template will refer to those files and will be able to find them to upload them.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by veronicageek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants