Office 365 deleting residual distibution groups
Posted on 2012-08-21
I am experiencing a dilemma and hoping one of you may had experience this issue before.
Currently, I notice that there are leftover distribution groups in office 365 after they have been completely deleted from Active Directory. I can see these distribution groups in office 365 admin console.
Dirsync is currently being used in the domain and has been working great, but for whatever reason several distribution groups were not deleted from office 365 when they were deleted from Active Directory.
I have tried to run 'Remove-DistributionGroup' in powershell and I am unsucessful. The following error comes up: The action 'Remove-DistributionGroup', 'Identity', can't be performed on the object '' because the object
is being synchronized from your on-premises organization. This action should be performed on the object in your on-premises organization.
Obviously it does not exist in Active Directory anymore but still exists in office 365. I do not want to disable DirSync in order to delete these ghost distribution groups.
I have administrator rights in office 365 and the domain, I can add / remove permissions, I can change UPN, etc.
I have also tried to delete these ghost distribution groups from the admin console in office 365 and I receive the same error as when I try to delete them with powershell.
Is there a way to disable dirsync for one item only? or is there any other way I might be able to delete these distribution groups which are no longer in use, but still show up in office 365 only?
Thank you, your comments and help are appreciated.