Create a duplicat site using "Get-PnPSiteTemplate" will not copy the cusotm site permissions and the list indexes #3480
Unanswered
mvcsharepointdev
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a sharepoint site named "source" and i want to create a duplicate site for it named "duplicate", so i run the below commands:-
`Connect-PnPOnline -Url "https://*****.sharepoint.com/sites/source" -interactive
Get-PnPSiteTemplate -Out "PnP-Provisioning-File.xml"
Connect-PnPOnline -Url "https://****.sharepoint.com/sites/duplicate" -interactive
Invoke-PnPSiteTemplate -Path "PnP-Provisioning-File.xml"
`
But i have noted that these 2 things will not be copied:-
so is there a way to fix this?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions