Forum Discussion
Gleb Krylov
Aug 31, 2017Copper Contributor
Is it possible to migrate one list with all permissions to another farm?
Is it possible to migrate one list with all permissions to another farm? I was advised to do it by PNP PowerShell but as I understood PnP allows to migrate whole sites not lists separatly. Or is it ...
- Aug 31, 2017
You could have a look at the Tenant Migration sample in PnP PowerShell.
I've made a start with copying the data as well.
https://github.com/SharePoint/PnP-PowerShell/tree/master/Samples/Tenant.Migration
Aug 31, 2017
Do you want to include the data?
PnP PowerShell can do the structure of the list.
Simply export the whole site and then edit the resulting xml manually, so that only the list is included.
- Gleb KrylovAug 31, 2017Copper Contributor
Yes, I want include all data and all permissions
- Aug 31, 2017
PnP PowerShell doesn't copy the data. You might have to use some 3rd party tool to do this.
- Gleb KrylovSep 01, 2017Copper Contributor
It's working! By this function
Add-PnPDataRowsToProvisioningTemplate
https://msdn.microsoft.com/en-us/pnp_powershell/addpnpdatarowstoprovisioningtemplate