Redirect sites are created as a result of changing a SharePoint site address, or moving a site to a different geo location.
Over time, these can rack up and difficult to track using the SharePoint Admin UI.
Thankfully, there’s a very easy way to do this using PowerShell, but you will need the following:
- Microsoft.Online.SharePoint.PowerShell module installed
- SharePoint Administrator role so that you can access the SPO Admin
- PowerShell 5
Import-Module Microsoft.Online.SharePoint.PowerShell #Connect to SharePoint Online Admin Center $AdminSiteURL = "https://yourtenant-admin.sharepoint.com" Connect-SPOService -Url $AdminSiteURL #Get all SharePoint Online sites $sites = Get-SPOSite -Limit All #Filter redirect sites $redirectSites = $sites | Where-Object { $_.Template -eq "REDIRECTSITE#"} #Display redirect sites if ($redirectSites) { write-host "Redirect sites found:" $redirectSites | Select-Object Url, Title, Owner | Format-Table -AutoSize } else { write-host "No redirect sites found in the tenant." } # Disconnect from SharePoint Online Disconnect-SPOService