Skip to main content

PowerShell command Announced to move and replace SharePoint Sites, including the Root Site (!!!)

Microsoft Office Enterprise Pre-Release Programs

This email is for the direct recipient only and contains a link to activate your Yammer account.

Wayne Ewington sent you a message.

Hi All,

Just to let you know that we have a new PowerShell cmdlet in the pipeline that will allow the SharePoint Tenant Admin to swap the location of a Site Collection with another Site Collection without deleting the original one.

Or in other words… We are providing the ability to archive the Site Collection at https://<tenant>.sharepoint.com to https://<tenant>.sharepoint.com/sites/<ArchiveSite> and then move an existing Site Collection at https://<tenant>.sharepoint.com/sites/<NewRootSite> to https://<tenant>.sharepoint.com as a single action.

Or in yet more other words… We are providing the ability to replace the existing root site with something shiny and new!

We are also currently making this available for the tenants in the Early Preview group (which should be completed within the next 48 hours and hopefully sooner), so that you can start using this.

Please note that this is still in early release so there are a few caveats and things that you need to be aware of:

  • This is an early release and we still have some more work to do before making this generally available.
  • After performing the swap, the target site can return an HTTP 404 error for about five minutes (until the caches are cleared).
  • Searches indexes of the swapped sites will be stale until the content is recrawled.
  • Anything dependent on "static" links (such as File Sync and OneNote files) will need to be manually corrected.
  • We also have the following constraints in place (some of which we which we may remove shortly) as to what you can currently swap:

BTW we are planning to demo this at SPC NA (May 21 - 23) so if you keep this internally until then, then that would be fantastic.

Anyway, to get started, you need to install version 16.0.8812.1200 (or later) of the Microsoft SharePoint Online Services Module for Windows PowerShell available from https://www.powershellgallery.com/packages/Microsoft.Online.…

You can then use the following new PowerShell cmdlet:

Invoke-SPOSiteSwap -SourceUrl "https://<tenant-name>.sharepoint.com/sites/<SiteName>" -TargetUrl "https://<tenant-name>.sharepoint.com" -ArchiveUrl "https://<tenant-name>.sharepoint.com/sites/<ArchiveSite>"

Hopefully this is great news - We are certainly excited about this!

Looking forward to getting your feedback and I'll also follow up with a survey in a few days time.

Enjoy!

Thanks,

Wayne Ewington

 

Yammer

Microsoft Corporation | One Microsoft Way, Redmond, WA 98052, USA..

Comments

Popular posts from this blog

Message center announcements, December 11, 2023 - December 17, 2023

  View a summary of the updates.                                                                                                                                                                ...

April 2019 – Office Insider Update

  Having trouble viewing this email? View as a webpage .               Welcome Features Tips & Tricks Stay Connected       Hello, Office Insider, There are two tangible benefits to being an Office Insider. The first is that you get to try Office 365 features before anyone else. The second is that your feedback directly influences the development of the features, which enables us to deliver a better Office to you, our biggest fans, and to all of the Office users worldwide. This month, we want to share a story about how customer feedback led directly to improvements to the popular Morph transition in PowerPoint and increased the control you have when...

Week 18 | Weekly digest: #Office365 changes

    Here is a summary of your messages from last week Organization: HCS COMPANY Is this digest useful to you?   Give us feedback     Office 365 announcements from last week Edit Message center preferences Please sign into your admin account to use any of the links below   Apr 26 New Feature: Outlook on the web - suggested attachments New feature: Outlook on the web - suggested attachmentsSuggested attachments in the new Outlook on the web is a new Office 365 feature. We'll begin rolling this feature out soon.This message is associated with Microsoft 365 Roadmap ID 46145 More ... MC178455  Like  |  Dislike   Apr 25 New feature: OneDrive - updated "manage a...