Exch 2007 - user mailbox shows up in mailboxes and disconnected mailboxes
Hi, A customer phoned today he can't access his mailbox. On checking in exchange system manager I can see his mailbox in the list of normal mailboxes, but he also appears in the disconnected mailbox listing ? obiously it won't let me reconnect this box to his account as it thinks he has one. I've tried logging in with OWA using his account and also granting my own account on the server full access and opening it this way, neither work. Any ideas/suggestions greatfully received Thanks
December 2nd, 2010 12:49pm

On Thu, 2 Dec 2010 17:42:37 +0000, Simon Bool wrote: > > >Hi, > >A customer phoned today he can't access his mailbox. On checking in exchange system manager I can see his mailbox in the list of normal mailboxes, but he also appears in the disconnected mailbox listing ? obiously it won't let me reconnect this box to his account as it thinks he has one. > >I've tried logging in with OWA using his account and also granting my own account on the server full access and opening it this way, neither work. > >Any ideas/suggestions greatfully received Does this work? $temp = get-mailboxstatistics | where {$_.displayname -eq 'Customer Name'} Do you find BOTH mailboxes in the $temp variable when you do that? If not, then this should nuke the one it does find: remove-mailbox -database ServerName\DatabaseName -storemailboxidentity $temp.MailboxGuid If you find BOTH mailboxes, change the display name of the user (temporarily) to, say, "Customer Name Temp" and rerun the 1st command. When the only mailbox you find is the one you want to delete, run the 2nd command. If that 2nd command fails because it says the mailbox is connected to a user (when you know it's not), then DISABLE the mailbox that "Customer Name Temp" is using. Now you have two disconnected mailboxes and the user has NO mailbox. Now run that 2nd command again. It should work this time. Now reconnect the disconnected "Customer Name Temp" mailbox to the user and change the display name back to "Customer Name". --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
December 2nd, 2010 11:26pm

Hi Rich, Thanks for the reply. I'm fairly new to Exchange 2007, especially the command shell. Below this the result of the first command and the $temp variable: [PS] C:\Windows\System32>$temp = get-mailboxstatistics | where {$_.displayname eq 'org - Alan'} [PS] C:\Windows\System32>$temp DisplayName ItemCount StorageLimitStatus LastLogonTime ----------- --------- ------------------ ------------- org - Alan 26876 01/12/2010 16:09:25 [PS] C:\Windows\System32> [PS] C:\Windows\System32>$temp DisplayName ItemCount StorageLimitStatus LastLogonTime ----------- --------- ------------------ ------------- org - Alan 26876 01/12/2010 16:09:25 would the syntax for the second command be: remove-mailbox -database ServerName\DatabaseName -storemailboxidentity $temp.MailboxGuid Or do I need to substitute anything here, I just want to double check as I have obviously been unable to export his messages to a pst or connect the disconnected mailbox to a new user to do it that way. Thanks
December 3rd, 2010 12:49pm

On Fri, 3 Dec 2010 17:43:33 +0000, Simon Bool wrote: > > >Hi Rich, > >Thanks for the reply. I'm fairly new to Exchange 2007, especially the command shell. Below this the result of the first command and the $temp variable: > >[PS] C:\Windows\System32>$temp = get-mailboxstatistics | where {$_.displayname eq 'org - Alan'} [PS] C:\Windows\System32>$temp > >DisplayName ItemCount StorageLimitStatus LastLogonTime ----------- --------- ------------------ ------------- org - Alan 26876 01/12/2010 16:09:25 > >[PS] C:\Windows\System32> > >[PS] C:\Windows\System32>$temp > >DisplayName ItemCount StorageLimitStatus LastLogonTime ----------- --------- ------------------ ------------- org - Alan 26876 01/12/2010 16:09:25 Okay . . . there's just one mailbox with the display name "org - alan", and that's the one you want to remove (or connect to some other user)? When you try to connect that mailbox to a user that *doesn't* have a mailbox it fails? Before going further, try "Get-MailboxDatabase | Clean-MailboxDatabase" and wait a few minutes before going on. Let's get the legacyExchangeDN name for the active mailbox (the "Other Alan): $OA = (get-mailbox "the OTHER Alan").legacyexchangedn .. . . and the disconnected mailbox (Disconnected Alan): $DA = (get-mailboxstatistics | where {$_.displayname eq 'org - Alan'}).legacydn Are they the same? $OA -eq $DA If they're the same value then you have to *disconnect* the "Other Alan" mailbox from the user. Now there'll be no user with a connected mailbox that has the legDN value and you should be able to reconnect the mailboxes to different users. Then connect the "org - Alan" mailbox to another user (one without a mailbox) -- this is the mailbox you noted was the one that was disconnected. Lastly, reconnect the "Other Alan" mailbox to Alan's user (this is the mailbox you disconnected from the user). Now that both mailboxes are connected to different users you should be able to open both of them. >would the syntax for the second command be: remove-mailbox -database ServerName\DatabaseName -storemailboxidentity $temp.MailboxGuid That would be correct -- if it works. I suspect that it won't if you have two mailboxs that share a common legDN value. >Or do I need to substitute anything here, I just want to double check as I have obviously been unable to export his messages to a pst or connect the disconnected mailbox to a new user to do it that way. I guess it wouldn't hurt to ask why he can't access the mailbox that's connected to his user? The presence of a disconnected mailbox shouldn't prevent him from using the mailbox that's connected to his user. --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
December 3rd, 2010 10:28pm

Hi Rich, Thanks again. $DA abd $OA were the same value. I disconnected the mailbox from the user and then connected this to a temporary user, I've logged in as this temp user and all his mailbox is there :) I'm currently replicating this to an Outlook account on my PC here at home and will then export this to PST so I at least have a backup. I'll then sort out connecting this mailbox back to the correct user. Simon
December 5th, 2010 4:20am

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

Other recent topics Other recent topics