Permanentely delete SP Site connected to Office 365 group

%3CLINGO-SUB%20id%3D%22lingo-sub-2984880%22%20slang%3D%22en-US%22%3EPermanentely%20delete%20SP%20Site%20connected%20to%20Office%20365%20group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2984880%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3EIn%20the%20Deleted%20Sites%20section%20in%20SP%20Admin%20I've%20got%20lots%20of%20deleted%20sites.%3C%2FP%3E%3CP%3EThese%20sites%20cannot%20be%20deleted%20because%20they%20are%20linked%20to%20a%20Office%20365%20group.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20idea%20has%20been%20to%20delete%20the%20Office%20365%20group%20(done%20with%20Remove-AzureADMSDeletedDirectoryObject).%3C%2FP%3E%3CP%3EThe%20group%20has%20been%20correctly%20deleted%20but%20not%20the%20connected%20sites.%3C%2FP%3E%3CP%3ESo%20then%20I%20tried%20to%20delete%20also%20the%20sites%20with%20%22Remove-SPODeletedSite%22.%26nbsp%3B%3C%2FP%3E%3CP%3EPowerShell%20execute%20the%20command%20without%20errors%20but%20the%20site%20is%20not%20removed%20from%20the%20list.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAm%20I%20doing%20something%20wrong%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2984880%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

Hi

In the Deleted Sites section in SP Admin I've got lots of deleted sites.

These sites cannot be deleted because they are linked to a Office 365 group.

 

My idea has been to delete the Office 365 group (done with Remove-AzureADMSDeletedDirectoryObject).

The group has been correctly deleted but not the connected sites.

So then I tried to delete also the sites with "Remove-SPODeletedSite". 

PowerShell execute the command without errors but the site is not removed from the list.

 

Am I doing something wrong?

 

Thanks

 

0 Replies