Unable to delete a mailbox
Hi, We are unable to delete an account completely after disabling it and having an error Mailbox "user name" doesn't exist on database "database". + CategoryInfo : NotSpecified: (0:Int32) [Remove-StoreMailbox], ManagementObjectNotFoundException + FullyQualifiedErrorId : 7D75246,Microsoft.Exchange.Management.StoreTasks.RemoveStoreMailbox when we are running Remove-StoreMailbox -Database -Identity user name -MailboxState Disabled The disabled user has multiple entries in the Disconnected Mailbox Container which happened because we recreated and deleted this user multiple times. The user name Get-MailboxStatistics showing is the full user name with a space between Full Name. How can we delete this user's mailbox completely. Thanks.
June 11th, 2012 2:01am

On Mon, 11 Jun 2012 05:52:45 +0000, create_share wrote: > > >Hi, > >We are unable to delete an account completely after disabling it and having an error > >Mailbox "user name" doesn't exist on database "database". + CategoryInfo : NotSpecified: (0:Int32) [Remove-StoreMailbox], ManagementObjectNotFoundException + FullyQualifiedErrorId : 7D75246,Microsoft.Exchange.Management.StoreTasks.RemoveStoreMailbox > > > >when we are running Remove-StoreMailbox -Database -Identity user name -MailboxState Disabled > > > >The disabled user has multiple entries in the Disconnected Mailbox Container which happened because we recreated and deleted this user multiple times. The user name Get-MailboxStatistics showing is the full user name with a space between Full Name. > >How can we delete this user's mailbox completely. Use the mailbox GUID instead of the user's name. --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
June 11th, 2012 8:36pm

Hi, Any updates? For more information, please see: Permanently Delete a Disconnected Mailbox http://technet.microsoft.com/en-us/library/gg181092.aspxFrank Wang TechNet Community Support
June 12th, 2012 2:52am

Hi, Any updates? For more information, please see: Permanently Delete a Disconnected Mailbox http://technet.microsoft.com/en-us/library/gg181092.aspxFrank Wang TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
June 12th, 2012 2:54am

$Mailboxes = Get-MailboxStatistics Database Database-01 | Where-Object {$_.DisconnectReason eq Disabled} $Mailboxes | ForEach {Remove-StoreMailbox -Database $_.database -Identity $_.mailboxguid -MailboxState Disabled} Worked. Thanks.
June 13th, 2012 7:03am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics