Search WWW Search

Thursday, July 19, 2012

New-MailboxExportRequest Couldn't connect to the source mailbox

After reconnecting a disabled mailbox and attempting to run an export request you receive the following error:

[PS] C:\Windows\system32>New-MailboxExportRequest user1 -FilePath "\\dcexmailp01\PST Dumps\srosenwinkel1.pst"

Couldn't connect to the source mailbox.

+ CategoryInfo : NotSpecified: (0:Int32) [New-MailboxExportRequest], RemoteTransientException

+ FullyQualifiedErrorId : EC413571,Microsoft.Exchange.Management.RecipientTasks.
You attempt to log into webmail and you receive:

Exception type: Microsoft.Exchange.Data.Storage.AccountDisabledException

Exception message: Cannot open mailbox /o=first organization/ou=exchange administrative group (fydibohf23spdlt)/cn=recipients/cn=user1.
In this instance I reconnected a disconnected mailbox to a new user. Thinking it was the DS cache I waited for some time. There is a KB article
"You cannot access a mailbox for several hours after you disconnect and then reconnect the mailbox in an Exchange Server 2010 SP2 environment" which says to install SP2 RU3 which is already installed.

After some time had elapsed, I attempted to disable the mailbox and reconnect and still same error.
When you run get-mailboxstatistics user1 |fl you see
DisconnectDate : 2/3/2013

DisconnectReason : Disabled
To resolve this error, once you have reconnected the mailbox you have to run
get-mailboxdatabase |clean-mailboxdatabase again.
James Chong
Security+, Project+, ITIL

xml:lang="en" lang="en"> MS Exchange Tips: July 2012