0

I did the Invoke-SPOSiteSwap for SharePoint on PowerShell. While I was able to successfully do it, the contents of the root site went in to the archiveURl specified. Is there a way to prevent that and keep the contents in the root site?

1 Answer 1

0

No, the Site Swap feature replaces the entire site. You would need to use a 3rd party migration tool to copy over the content or if it is just documents, you can use the Move/Copy feature built into the SharePoint UI.

4
  • Ok-so I can just rebuild/create the subsites on the new site and move over the items from archive to there? Thanks for your help!
    – CAP
    Mar 6, 2020 at 15:34
  • You can. I should note that subsites are not recommended in SPO, but rather move to the Hub Site model.
    – user6024
    Mar 6, 2020 at 15:34
  • Do you mind clarifying why? I understand with hub-sites you can connect to other sites. However my organization leans a lot on clean cut URLs like /department and want to stray away from /sites/department.
    – CAP
    Mar 6, 2020 at 15:38
  • I'll link you to docs.microsoft.com/en-us/sharepoint/planning-hub-sites. Read through it but that explains why Hub sites are better (isolating units of work, ease of governance, among others).
    – user6024
    Mar 6, 2020 at 15:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.