Link to home
Start Free TrialLog in
Avatar of David Barman
David BarmanFlag for United States of America

asked on

Recover deleted Exchange 2016 user

A Exchange 2016 mailbox/user was deleted and needs to be recovered.  I was able to restore the mailbox in ECP and I was able to restore the AD user using ldp.  However, when I try to reconnect the mailbox in ECP the recovered AD user does not appear.  

Any advice would be appreciated.
SOLUTION
Avatar of Valentina Perez
Valentina Perez
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of David Barman

ASKER

Yes.  The mailbox is there but when I try to connect it to the AD user, the restored AD user is not listed as an available user.
Hi David,

Maybe after restoring AD object, the mailbox was restored too.

Run the following command:

Get-MailboxStatistics -Server <server> | where { $_.DisconnectDate -ne $null } | select DisplayName,DisconnectDate

Regards
Valentina
It shows the 4 mailboxes that were deleted including the one I am trying to recover
Hi David,

You have to only reconnect.

Please could you log in ECP, navigate to Recipients  > Mailboxes.Click More More Options icon, and then click Connect a mailbox. You should see the mailbox there. Click the disabled mailbox that you want to reconnect, and then click Connect

Regards
Valentina
Yes. That is the issue from the beginning. When I select the mailbox the AD user is not listed as an available user to connect the mailbox to.
Hi David,

Ok I understand. Do you remember the database where the user was located before. Tried to run the following command:

Get-MailboxStatistics -Database "name"| foreach {Update-StoreMailboxState -Database $_.Database-Identity $_.MailboxGuid -Confirm:$False

After running this command, do you see the user?

Regards
Valentina
The mailbox is not the issue. It is the AD user that doesn't appear for me to connect to.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi David,

Perfect that the issue is solved.

Regards
Valentina
Solved the issue.