I want to copy a site collection from one tenant to another. insdie the source i run this command:-
Get-PnPProvisioningTemplate -Out c:\template20.pnp -IncludeSiteCollectionTermGroup
inside the destination i run this command:-
Apply-PnPProvisioningTemplate -Path c:\template20.xml
but on the Apply-PnPProvisioningTemplate i got this error:-
PS C:\windows\system32> Apply-PnPProvisioningTemplate -Path c:\template20.xml WARNING: ListInstance Style Library is a Style Library of a site with NoScript enabled and will be skipped Apply-PnPProvisioningTemplate : The specified user c:0t.c|tenant|5*****c could not be found. At line:1 char:1 + Apply-PnPProvisioningTemplate -Path c:\template20.xml + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (:) [Apply-PnPProvisioningTemplate], ServerException + FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Provisioning.Site.ApplyProvisioningTemplate
Any advice please? now the 2 tenants do not share the same users, so how i can skip applying the users?
Thanks