Site URL has been changed

Issue

The following warnings appear in the backup:

Processing site https://xxxx.sharepoint.com/sites/sitename finished with warning: Site URL has been changed.

Cause

This is caused by changing the URL of a SharePoint site

Resolution

Delete the old URL for the site as follows:

  1. Open an administrative Powershell
  2. Download/Install SharePoint Online Management Shell: Install-Module -Name Microsoft.Online.SharePoint.PowerShell
  3. Connect to your Tenant and login as global admin: Connect-SPOService -Url “https://{companyname}-admin.sharepoint.com”
  4. Check if the site still exists: Get-SPOSite -Identity https://{companyname}.sharepoint.com/sites/{sitename}
  5. If the user still exists here, delete it: Remove-SPOSite -Identity https://{companyname}.sharepoint.com/sites/{sitename}