Migrate SPO site to another Tenant /SPO

%3CLINGO-SUB%20id%3D%22lingo-sub-271917%22%20slang%3D%22en-US%22%3EMigrate%20SPO%20site%20to%20another%20Tenant%20%2FSPO%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-271917%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EAre%20there%20a%20PowerShell%20script%20available%20somewhere%20that%20move%2Fcopy%20a%20SPO%20site%20from%20one%20tenant%20to%20another%20%3F%3C%2FP%3E%3CP%3Eor%20do%20I%20have%20to%20go%20with%20the%20'Save%20as%20template'%26nbsp%3B%20or%20'map%20network%20drive'%20(Source%20tenant%20%2B%20Dest.%20Tenant)%26nbsp%3B%20or%203'party%20tool%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-271917%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESites%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-274784%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20SPO%20site%20to%20another%20Tenant%20%2FSPO%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-274784%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Juan%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3Ecan%20you%20elaborate%20on%20the%20%22Save%20as%20template%22%20-%20not%20to%20use%20it%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-274397%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20SPO%20site%20to%20another%20Tenant%20%2FSPO%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-274397%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20have%20a%20limited%20budget%2C%20you%20may%20consider%26nbsp%3Busing%20a%20beta%20version%20of%20CodeTwo%20Backup%20for%20Office%20365%20with%20the%20SharePoint%20feature.%20The%20tool%20would%20allow%20you%20to%20back%20up%20SPO%20data%20from%20one%20tenant%20to%20your%20local%20drive%2C%20and%20then%26nbsp%3Brestore%20it%20to%20another%26nbsp%3Btenant.%20Here%20is%20the%20link%20if%20you%20would%20like%20to%20give%26nbsp%3Bthe%20program%20a%20try%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.codetwo.com%2Fform%2Fsignup-for-beta-program%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.codetwo.com%2Fform%2Fsignup-for-beta-program%2F%3C%2FA%3E.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EAdam%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-272038%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20SPO%20site%20to%20another%20Tenant%20%2FSPO%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-272038%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Juan%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3Ethx.%20-%26nbsp%3B%203%20party%20tool%20cost%20a%20lot%20...%20%3A(%3C%2Fimg%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-271934%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20SPO%20site%20to%20another%20Tenant%20%2FSPO%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-271934%22%20slang%3D%22en-US%22%3EI%20have%20not%20checked%20if%20there%20is%20a%20script%20that%20allows%20that%20migration%2C%20but%20let%20me%20add%20here%20my%202%20cents%20about%20the%20%22Save%20as%20template%22%3A%20Don't%20use%20it.%20My%20recommendation%20for%20your%20scenario%20is%20go%20for%20a%20third%20party%20migration%20tool%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1601801%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20SPO%20site%20to%20another%20Tenant%20%2FSPO%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1601801%22%20slang%3D%22en-US%22%3E%3CP%20data-unlink%3D%22true%22%3EHi%2C%20you%20can%20use%20%3CA%20href%3D%22https%3A%2F%2Fmover.io%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmover.io%2F%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%3CSPAN%3EMover%20is%20a%20100%25%20free%20service.%20Whether%20you%20are%20a%20single%20user%20or%20a%20larger%20partner%2C%20Mover%20is%20free.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1882827%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20SPO%20site%20to%20another%20Tenant%20%2FSPO%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1882827%22%20slang%3D%22en-US%22%3EHi%2C%20I%20have%20used%20mover%20and%20it%20is%20a%20nice%20tool%20if%20we%20want%20to%20migrate%20data%20with%20spo%20site.%20However%20if%20we%20want%20to%20replicate%20a%20site%20only%20with%20no%20data%20and%20to%20create%20a%20site%20duplicate%20from%20one%20tenant%20to%20other%20tenant%2C%20is%20there%20an%20conventional%20way%20to%20replicate%20to%20another%20tenant%20%3F%3C%2FLINGO-BODY%3E
Deleted
Not applicable

Hi 

Are there a PowerShell script available somewhere that move/copy a SPO site from one tenant to another ?

or do I have to go with the 'Save as template'  or 'map network drive' (Source tenant + Dest. Tenant)  or 3'party tool?

8 Replies
I have not checked if there is a script that allows that migration, but let me add here my 2 cents about the "Save as template": Don't use it. My recommendation for your scenario is go for a third party migration tool

Hi Juan 

thx. -  3 party tool cost a lot ... :( 

Hi,

 

If you have a limited budget, you may consider using a beta version of CodeTwo Backup for Office 365 with the SharePoint feature. The tool would allow you to back up SPO data from one tenant to your local drive, and then restore it to another tenant. Here is the link if you would like to give the program a try: https://www.codetwo.com/form/signup-for-beta-program/.  

 

Thanks,

Adam

 

Hi Juan 

can you elaborate on the "Save as template" - not to use it? 

Hi, you can use https://mover.io/ 

Mover is a 100% free service. Whether you are a single user or a larger partner, Mover is free.

Hi, I have used mover and it is a nice tool if we want to migrate data with spo site. However if we want to replicate a site only with no data and to create a site duplicate from one tenant to other tenant, is there an conventional way to replicate to another tenant ?
If you just want to replicate the site without data below method can be used.
Using below script create schema/template file of site.
#Set variables
$SiteURL = "https://domain.sharepoint.com/sites/Test"
#Connect to PnP Online
Connect-PnPOnline -Url $siteUrl -Interactive -ForceAuthentication
#Get Site Schema
Get-PnPSiteTemplate -Out "C:\Users\username\Desktop\Data\SiteSchema.xml"

Then invoke or apply template on required site using below script.
#Set variables
$SiteURL = "https://domain.sharepoint.com/sites/Test1"
$SchmaXMLPath = "C:\Users\username\Desktop\Data\SiteSchema.xml"
#Connect to PnP Online
Connect-PnPOnline -Url $SiteURL -Interactive -ForceAuthentication
#Apply Pnp Provisioning Template
Invoke-PnPSiteTemplate -Path $SchmaXMLPath -ResourceFolder "C:\Users\username\Desktop\Data\"

Note: In GUI while creating site, the template is selected to be applied. However In this method first site is created using template same as that of old site(If old site is communication site then destination site also should be communication site) and then using above PowerShell script it is directly applied which make the site a replica with same structure as of the old one with pages but no data in other lists and libraries.

@GautamSharma Mover is no longer free after being acquired by Microsoft.