2017年3月1日 星期三

Exchange 2010 move mailbox

How to Move Mailboxes in Exchange Server 2010


Exchange 2010 SP2 搬移 mailbox 後無法刪除原信箱,retry 次數過多造成很久才結束。
修改 C:\Program Files\Microsoft\Exchange Server\V14\Bin\MSExchangeMailboxReplication.exe.config
將 MaxCleanupRetries = "5" 改為 "1"

Reference:
MAPIEXCEPTIONUNEXPECTEDMAILBOXSTATE: UNABLE TO DELETE MAILBOX


升級到 SP3 可以解此問題。尚未升級前可以用指令刪除沒用到的信箱。
1.) Run the command to find the specific mailboxes that were impacted by this bug.

Get-MailboxStatistics -Database <MAILBOXDATABASE> | Where { $_.DisconnectReason -eq “SoftDeleted” } | fl LegacyDN, DisplayName, MailboxGUID,DisconnectReason

 2.) Run this command to remove those disconnected mailboxes cleanly.

Remove-StoreMailbox –Database <MAILBOXDATABASE> –Identity <MAILBOXGUID> –MailboxState Softdeleted

Reference:
Error with moving mailbox in Exchange 2010 SP2 RU3+

沒有留言:

張貼留言