Add-PnPFileToSiteTemplate doesn't allow to specify metadata #2933
Unanswered
vincepunkrock
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use a site template to provision a new site more easily.
To copy the files from site A to site B, I use Get-PnPFile followed by Add-PnPFileToSiteTemplate and finally Invoke-PnPSiteTemplate.
The files get copied successfully but the metadata doesnt' get copied. I don't see anywhere in the documentation mentioned that this is possible. Is there a way to do this using these tools? Or is it expected that we do this using other tools?
Beta Was this translation helpful? Give feedback.
All reactions