Forum Discussion
SharePoint Online - Can't create a Site - "The site collection already exists"
- Aug 15, 2017Have you reviewed if this was created as part of a Group / Team
Remove-SPOSite https://contoso.sharepoint.com/sites/HR
Confirm
Are you sure you want to perform this action?
Performing the operation "Remove-SPOSite" on target "https://contoso.sharepoint.com/sites/HR".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y
Remove-SPOSite : Access to this Web site has been blocked.
Please contact the administrator to resolve this problem
- Mark LeesAug 15, 2017Brass Contributor
Hi,
Yes I just ran Get-AzureADMSDeletedGroup and I could see a deleted group with the HR name.
I have run Remove-AzureADMSDeletedDirectoryObject but I am still getting the same error when tryign to create the Team Site in teh admin centre or via PowerShell.
The MS article I used was to see and remove deleted Office 365 Groups was:
https://support.office.com/en-us/article/Restore-a-deleted-Office-365-Group-b7c66b59-657a-4e1a-8aa0-8163b1f4eb54
- Mark LeesAug 15, 2017Brass ContributorJuan Carlos González Martín was correct, I used the Azure AD shell to check for Office 365 groups in the recycle bin and remove them.
In Sharepoint online shell had to run:
Get-SPOSite – see all sites
Get-SPODeletedSite see deleted all sites
Remove-SPODeletedSite remove deleted site from recycle bin
In Azure AD Shell similar commands to check for Office 365 groups:
Get-AzureADMSDeletedGroup see deleted all sites
Remove-AzureADMSDeletedDirectoryObject –Id fa6187ad-6a23-4f6d-898c-c62947452124
Get-AzureADMSDeletedGroup see deleted all sites