How to Replace a SharePoint Root Site When the Swap Fails
Question details
The user needs to replace a SharePoint root site when the admin center swap operation fails with a wait-and-retry message even though the source and destination sites meet the documented requirements.

- Product
- SharePoint Online / Microsoft 365
- Device & OS
- not provided
- Scenario
- An administrator is trying to replace the SharePoint root site from the SharePoint admin center.
- Observed behavior
- The root site swap fails with a wait-and-retry message although the source and destination sites meet the requirements.
Confirm you have SharePoint admin or global admin permissions and verify that the source and destination sites still meet the documented root site swap requirements before retrying.
Retry the root site swap in a different browser
Use this first if the SharePoint admin center shows a wait-and-retry message and you have already confirmed the site requirements are met.
Sign in to the Microsoft 365 admin center, open the SharePoint admin center, and navigate to Active sites.
Select the source site, choose Replace root site, select the destination site, and confirm the swap.
Run Invoke-SPOSiteSwap in SharePoint Online Management Shell
Use this when the browser-based swap keeps failing and you need a PowerShell method that bypasses the admin center UI.
A Free, Lightweight Office Suite for SharePoint-Related Files
WPS Office cannot replace a SharePoint root site directly, but it offers a free and lightweight alternative for creating, editing, and saving the Word, Excel, and PowerPoint files you store in SharePoint. It preserves Microsoft Office formatting and provides a familiar ribbon interface for a smoother migration.

Frequently Asked Questions
Why does the SharePoint root site swap fail with a wait-and-retry message?
This often occurs when SharePoint Online is still processing a previous site operation or tenant-level metadata. Retry in another browser, wait a short time, or use Invoke-SPOSiteSwap in PowerShell.
Do I need global admin permissions to replace a SharePoint root site?
You need at least SharePoint admin permissions or global admin permissions to replace a root site and to run the Invoke-SPOSiteSwap cmdlet.
Can I use PowerShell if the SharePoint admin center keeps failing?
Yes. Open the SharePoint Online Management Shell, connect with Connect-SPOService, and run Invoke-SPOSiteSwap with the -SourceUrl and -DestinationUrl parameters for your tenant sites.
What happens to the original root site after a successful swap?
The destination site becomes the new root site, and the previous root site is moved to the source site URL so both sites remain accessible.





