Exchange 2013 disconnected mailbox not showing in connect a mailbox list

After disabling mailboxes, they take a long time to show in "connect a mailbox" list in EAC or in the shell, or do not show at all.

I can find the old mailbox by using Get-MailboxStatistics | Where { $_.DisplayName -eq "<display name>"

Is this a bug or by design and there is a problem our setup?

February 2nd, 2015 5:54pm

I found answer after posting.

I had used:

Get-MailboxDatabase | Get-MailboxStatistics | Where { $_.DisconnectReason -ne $null} | ForEach {Update-StoreMailboxState -Database $_.Database -Identity $_.MailboxGuid -Confirm:$False}

but this failed in my case as Disconnect was null.

What fixed it was this more broad command:

Get-MailboxStatistics -Database "DBName" | ForEach { Update-StoreMailboxState -Database $_.Database -Identity $_.MailboxGuid -Confirm:$false }

I will have a look at Maintenance Schedule next...

Free Windows Admin Tool Kit Click here and download it now
February 2nd, 2015 9:52pm

I found answer after posting.

I had used:

Get-MailboxDatabase | Get-MailboxStatistics | Where { $_.DisconnectReason -ne $null} | ForEach {Update-StoreMailboxState -Database $_.Database -Identity $_.MailboxGuid -Confirm:$False}

but this failed in my case as Disconnect was null.

What fixed it was this more broad command:

Get-MailboxStatistics -Database "DBName" | ForEach { Update-StoreMailboxState -Database $_.Database -Identity $_.MailboxGuid -Confirm:$false }

I will have a look at Maintenance Schedule next...

February 3rd, 2015 5:51am

Hi,

Thanks for your sharing. Generally, if the mailbox state is not updated immediately, we can use the following cmdlet to update it manually.

Get-MailboxStatistics -Database xxx | ForEach { Update-StoreMailboxState -Database $_.Database -Identity $_.MailboxGuid -Confirm:$false }

For more information, here is an  article for your reference.

Update-StoreMailboxState

https://technet.microsoft.com/en-us/library/jj860462(v=exchg.150).aspx

Hope this can be helpful to you.

Best regards,

If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

Free Windows Admin Tool Kit Click here and download it now
February 5th, 2015 2:25am

Hi,

Is there any update with your issue?

Best regards,

If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

February 8th, 2015 9:32pm

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

Other recent topics Other recent topics