If you find yourself in the situation where you have deleted a site from the admin centre but need to create a site with the same name you won’t be able to until the site is removed from the admin recycle bin, to delete the site from the recycle bin run the following script in PowerShell – remember to change the relevant fields to match your tenancy


$username = "username@domain.com"
$password = Read-Host "Please enter the password for $($userName)" -AsSecureString
$URL = ‘https://tenant.sharepoint.com/teams/siteURL’
$cred = New-Object -TypeName System.Management.Automation.PSCredential -argumentlist $userName, $(convertto-securestring $Password -asplaintext -force)
Connect-SPOService -Url https://TENANCY-admin.sharepoint.com -Credential $cred
Remove-SPODeletedSite -Identity $URL