Skip to content

Do PnP Site Templates support copying files in document libraries? #919

Discussion options

You must be logged in to vote

Add-PnPDataRowsToSiteTemplate is, as far as I know, intented to add listitems to the template, not files. This might also explain why you get the error when applying the template to the site.
Add-PnPFileToProvisioningTemplate might do the trick :-)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MrM40
Comment options

@kasperbolarsen
Comment options

Answer selected by carlgrzywacz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants