Restore a Mailbox to a Deleted User – Office 365

If you’re using Directory Synchronization then use the PowerShell method below. If you’re not using Directory Synchronization then you can reconnect the mailbox via the Exchange Control Panel (ECP) or through PowerShell.

Exchange Control Panel (ECP) Method

  1.  

  2. Open the Exchange Control Panel

     

  3. Click Users & Groups

     

  4. Click Mailboxes

     

  5. Click ‘Deleted Mailboxes’

    Restore

     

  6. Select the mailbox that you want to restore

     

  7. Click Recover

     

  8. Recover Deleted Mailbox window enter the First Name, Initial, Last Name and Display Name

     

  9. Click Recover

     

Give it some time to restore and replicate across the Microsoft Exchange backend. (15 minutes)

  1. Open Microsoft Online portal (MOP)

     

  2. Select the user that you just restored the mailbox for

     

  3. Click Edit.

     

  4. Assign the User a license that includes Exchange

     

  5. Set User location

     

  6. Set the country

     

  7. Click Save

PowerShell Method

  • Connect to Exchange Online by using Remote PowerShell.

     

  • Click Start

     

  • Click Administrative Tools

     

  • Right Click Windows PowerShell Modules and Run as administrator

     

  • Set the Execution Policy on the local computer
    • Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

    • Press “Y” for yes when/if prompted

       

  • Specify remote credentials through a variable
    • $cred=Get-Credential

     

  • Enter Global Admin Account

     

  • Enter password

     

  • Set a session variable and connect to Exchange Online, enter command
    • $s =New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic –AllowRedirection

       

  • Import the session with the variable set in previous step.
    • $importresults =Import-PSSession $s

       

  • Restore the Mailbox with this command

Give it some time to restore and replicate across the Microsoft Exchange backend. (15 minutes)

  1. Open Microsoft Online portal (MOP)

     

  2. Select the user that you just restored the mailbox for

     

  3. Click Edit

     

  4. Assign the User a license that includes Exchange

     

  5. Set User location

     

  6. Set the country

     

  7. Reset the user password

     

  8. Click Save

Thanks for visiting and reading my posts. I am always looking for more ideas. Please comment or email me with what you would like to see.

Kelsey Epps

Office 365 MVP

Email Me Follow me on Twitter Connect with me on LinkedIN Facebook Me

Leave a Reply