Forum Discussion
SYN_Dominik
Nov 25, 2022Brass Contributor
Delete team site permanently via PowerShell
Hi all, Sometimes I have the need to delete a team permanently to be able to use the site url and stuff again. Process: Delete the Team, go to Azure and delete the group permanently, go to sha...
SYN_Dominik
Nov 28, 2022Brass Contributor
Hi SteveKnutson
Remove-PnPDeletedMicrosoft365Group is doing the same job.
To make sure the group deletion is running successfully, I created a new group and deleted it with Remove-PnPDeletedMicrosoft365Group. Afterwards neither Get-AzureADMSDeletedGroup nor Get-AzureADMSGroup show the group.
kbeeveer46
Jan 22, 2023Copper Contributor
SYN_Dominik Did you ever figure this out? I am running into the same issue. Removing the teams site always says there's a group associated but I've already deleted the group and deleted it from the recycle bin.
- SYN_DominikJan 23, 2023Brass Contributor
Hi kbeeveer46
unfortunately no update from my side.