I recently came across an issue when trying to export mailboxes in our Exchange 2010 environment. I was having almost no success with the exports. One of the 15 initial accounts I needed to do this for was successful, but all of the others I tried to export were reporting an error: “Couldn’t connect to the source mailbox.” After doing some research (aka spending some time with Google) it seems that this most other folks who’ve experienced this were on the RTM version of Exchange and so most of the remedies out there didn’t seem to apply or were a bit onerous to implement in my opinion. So as I contemplated opening a ticket with Microsoft I went back and compared the one account that I could successfully export to one of the ones that I couldn’t. Using Get-Mailbox to compare the two didn’t turn anything up, but when I got desparate and tried Get-CASMailbox I did notice one difference. The user that I was successfully able to export was not being forced into Cached Mode when using Outlook (MAPIBlockOutlookNonCachedMode was set to False). The mailboxes that I couldn’t export all had MAPIBlockOutlookNonCachedMode set to True. After changing it to False for the mailboxes that had previously failed I was able to successfully export them.
For a variety of reasons we have manually set MAPIBlockOutlookNonCachedMode on mailboxes to force users to run Outlook in Cached mode (rather than doing it via GPO). However doing so prevents our decreasing population of Blackberry users from being able to get mail on their devices, so those folks are not explicitly forced into Cached mode.
In short to export JDoe’s mailbox I have to do the following:
New-MailboxEcportRequest -Mailbox JDoe -FilePath \\CASHT-01\c$\temp\Jdoe.pst
Set-CASMailbox jdoe -MAPIBlockOutlookNonCachedMode:$true


Recent Comments