Issue
The following warnings appear in the backup:
Failed to process site: https://xxxx-my.sharepoint.com/personal/xxxx_xxxx. Cannot contact site at the specified URL https://xxxx-my.sharepoint.com/personal/xxxx_xxxx. Access to this web site has been blocked. Please contact the administrator to resolve this problem.
Cause
This is caused by an orphaned sharepoint site from a deactivated user
Resolution
Delete the orphaned user and site as follows:
- Open an administrative Powershell
- Download/Install SharePoint Online Management Shell: Install-Module -Name Microsoft.Online.SharePoint.PowerShell
- Connect to your Tenant and login as global admin: Connect-SPOService -Url “https://xxxx-my.sharepoint.com”
- Check if the user still exists: Get-SPOUser -site “https://xxxx-my.sharepoint.com”
- If the user still exists here, delete it: Remove-SPOUser -Site “https://xxxx-my.sharepoint.com” -LoginName <email address of the user>
- Check if the personal site of the user still exists: Get-SPOSite “https://xxxx-my.sharepoint.com/personal/xxxx_xxxx”;
- Delete the orphaned site: Remove-SPOSite “https://xxxx-my.sharepoint.com/personal/xxxx_xxxx”;