[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6703
  • Last Modified:

Failed to clean up the source mailbox after the move after RU3 installed

Recently started experiencing the following warning after moving a few users from one DB to another DB on the SAME Exchange server after Rollup 3 installation.

Exchange Server 2010
Version: 14.02.0283.003

Warning: Failed to clean up the source mailbox after the move.
Error details: MapiExceptionUnexpectedMailboxState: Unable to delete mailbox. (hr=0x80004005, ec=2634)

Does anyone have a fix for this or clean up cmdlet please?
0
FreshExpress
Asked:
FreshExpress
  • 4
  • 3
  • 3
1 Solution
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Clean-MailboxDatabase
http://technet.microsoft.com/en-us/library/bb124076.aspx

We also have the RU4 so check if this is fixed in that ?
What all roles do you have ... does the same server hold all roles ?

- Rancy
0
 
FreshExpressAuthor Commented:
Thanks Rancy, just the Mailbox role on that server.
0
 
FreshExpressAuthor Commented:
Looks like the cmdlet to run is I 'think' the ' Get-Mailboxdatabase | Clean-MailboxDatabase ' cleans all databases in the Organization…
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
FreshExpressAuthor Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for FreshExpress's comment #a38387176
Assisted answer: 500 points for Rancy's comment #a38387108

for the following reason:

I 'think' the Get-Mailboxdatabase | Clean-MailboxDatabase cleans all databases in the Organization…
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Get-Mailboxdatabase | Clean-MailboxDatabase - Absolutely :)

I like working with people who do some more than I

- Rancy
0
 
fagdataCommented:
I am running DAG and cleaning the database will not work, the mailbox will still reside in both mailstores after the move. In the Source database the mailbox will be marked as SoftDeleted as  the Disconnect reason. It looks to be a bug in RU3 which has not been fixed in RU4.

From a similar thread in the TechCenter -> Exchange server forums:

To workaround the issue please follow the below:
 
To Clean up a Soft Deleted Mailbox on a database:
 
Get-MailboxStatistics -Database <MAILBOXDATABASE> | Where { $_.DisconnectReason -eq "SoftDeleted" } | Format-List LegacyDN, DisplayName, MailboxGUID, DisconnectReason
 
Remove-StoreMailbox –Database <MAILBOXDATABASE> –Identity <MAILBOXGUID> –MailboxState Softdeleted
 

To Clean up all Soft Deleted Mailboxes on a database:
 
Get-MailboxStatistics –Database <MAILBOXDATABASE> | Where-Object {$_.DisconnectReason –eq “Softdeleted”} | ForEach {Remove-StoreMailbox –Database $_.database –identity $_.mailboxguid –MailboxState Softdeleted}
0
 
fagdataCommented:
Get-Mailboxdatabase | Clean-MailboxDatabase is not the solution to this problem.
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
fagdata: I am not sure whats your problem .... but if you have some issues you have to raise a Request and if someones issues is resolved not sure why your Objecting the Close ??

- Rancy
0
 
fagdataCommented:
There are probably several different aspects I am not aware of when it comes to the usage of EE. I am sorry for not checking the procedures properly, it won`t happen again.

Rancy - My intentions was not to offend you just to post the correct solution.

Link to the same solution in TechNet:

http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/a1849fa9-073a-4dcb-86bf-0865958c80ae
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
@fagdata: Surely not Offended and its a learning curve for me as well so all happy :)

- Rancy
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 4
  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now