Exchange 2013 not showing the mailbox in "connect a mailbox" after mount and dismount

Dear Sir,

We are currently running Exchange 2013. We had a user who left our company, therefore, we will disable his/her mailbox by ECP. He/she re-enter the company, we mount his/her mailbox to the AD account. He/she left again, therefore, IT support disable his/her mailbox again. But this time have difference, we cannot see his/her mailbox again on the "Connect a mailbox".

Any expert knows where's the mailbox going? And why  this happens?

Thank you very much.

With regards,
Who is Participating?
MAS (MVE)Connect With a Mentor Technical Department HeadCommented:
Please run the below command.
Get-MailboxStatistics -Database databasename | Where { $_.DisconnectReason -ne $null } | ForEach { Update-StoreMailboxState -Database $_.Database -Identity $_.MailboxGuid -Confirm:$false }

Open in new window

Change database name
WatawConnect With a Mentor Author Commented:
Dear MAS,

I have modify the command.
Get-MailboxStatistics -Database "DB NAME" | ForEach { Update-StoreMailboxState -Database $_.Database -Identity $_.MailboxGuid -Confirm:$false }

Open in new window

Thanks a lot.

With regards,
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.