Now let’s run this one to get the group GUID from the deleted list
- Get-AzureADMSDeletedGroup
Copy that GUID of the desired group and run the following by targeting that ID.
- Remove-AzureADMSDeletedDirectoryObject -Id <ReplaceWithGroupID>
It should result as follows if it was success
To ensure the deletion is successful, run the same command again and see if it doesn’t return the group name you deleted. It shouldn’t !
- Get-AzureADMSDeletedGroup
No comments:
Post a Comment