Enable-Mailbox after Disable-Mailbox

Hi everybody,

I disabled a mailbox by giving "Disable-Mailbox" command and then enabled it using "Enable-Mailbox" command. Prior to giving "Enable-Mailbox" command, that mailbox had emails. After running "Enable-Mailbox", it is empty. Can you suggest any way to have the emails back into the mailbox?

Thanks & regards,

Amit Jha



May 15th, 2015 9:13am

Hi ManU,

Result of 

Get-MailboxDatabase | Get-MailboxStatistics | ? {$_.DisconnectReason -ne $null} | ft Displayname, Database, Disconnectreason -Auto

is

DisplayName                  Database                    DisconnectReason
-----------                  --------                    ----------------
exchange e.j.. journalingBox Mailbox Database 0767329207         Disabled

when when I did "Enable-Mailbox" on it after "Disable-Mailbox".

I created another AD User journalingBox2@domain.com and ran 

Connect-Mailbox -Identity 'journalingBox' -Database 'db name' -User 'journalingBox2'

Result is:

Mailbox "journalingBox" doesn't exist on database "db name".
    + CategoryInfo          : NotSpecified: (journalingBox:StoreMailboxIdParameter) [Connect-Mailbox], MdbAdminTaskExc
   eption
    + FullyQualifiedErrorId : [Server=RB-EX2,RequestId=efeb59ff-9a13-4242-998f-01806cb76d15,TimeStamp=18.05.2015 09:36
   :06] [FailureCategory=Cmdlet-MdbAdminTaskException] 314B555F,Microsoft.Exchange.Management.MapiTasks.ConnectMailbo
  x
    + PSComputerName        : fqdn

Note: journalingBox was the mailbox which was disabled and enabled.

Free Windows Admin Tool Kit Click here and download it now
May 18th, 2015 5:50am

Hi ManU,

Result of 

Get-MailboxDatabase | Get-MailboxStatistics | ? { $_.DisconnectReason -ne $null } | fl DisplayName, Database, DisconnectReason -Auto

is

DisplayName                  Database                    DisconnectReason
-----------                  --------                    ----------------
exchange e.j.. journalingBox Mailbox Database 0767329207         Disabled

when when I did "Enable-Mailbox" on it after "Disable-Mailbox".

I created another AD User 'journalingBox2@domain.com" and ran 

Connect-Mailbox -Identity 'journalingBox' -Database 'mailbox database name' -User 'journalingBox2'

Result is:

Mailbox "journalingBox" doesn't exist on database "db name".
    + CategoryInfo          : NotSpecified: (journalingBox:StoreMailboxIdParameter) [Connect-Mailbox], MdbAdminTaskExc
   eption
    + FullyQualifiedErrorId : [Server=RB-EX2,RequestId=efeb59ff-9a13-4242-998f-01806cb76d15,TimeStamp=18.05.2015 09:36
   :06] [FailureCategory=Cmdlet-MdbAdminTaskException] 314B555F,Microsoft.Exchange.Management.MapiTasks.ConnectMailbo
  x
    + PSComputerName        : fqdn

Note: journalingBox was the mailbox which was disabled and enabled.





May 18th, 2015 9:50am

Hi ManU,

I ran

Get-MailboxDatabase | Get-MailboxStatistics | ? { $_.DisconnectReason -ne $null } | fl
to get "Identity", & gave this parameter and value in
Connect-Mailbox -Identity 'identity' -Database 'mailbox database name' -User 'AD Username'
Now the emails are back, but they are in mailbox of newly created AD User. Can we have all the emails to the original mailbox?
Free Windows Admin Tool Kit Click here and download it now
May 26th, 2015 7:27am

Hi,

Create outlook profile of the user, import all emails, export as pst, import it to new user

May 26th, 2015 7:43am

Hi ManU,

New-MailboxExportRequest and New-MailboxImportRequest are the commands. Other than this is there some other way, like is there a way to have some parameters in Connect-Mailbox cmdlet to have the emails in the same mailbox? Or some other cmdlet?


Free Windows Admin Tool Kit Click here and download it now
May 26th, 2015 8:46am

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

Other recent topics Other recent topics