Tags


Deleted Mailboxes

Applies to: Office 365 for professionals and small businesses, Office 365 for enterprises, Live@edu

Topic Last Modified: 2011-02-03

If a deleted mailbox is recoverable, it appears on the Deleted Mailboxes page. To access Deleted Mailboxes, in the Exchange Control Panel, select Manage My Organization > Users & Groups > Mailboxes, and click Deleted Mailboxes Deleted Mailboxes.

On the Deleted Mailboxes page, the deleted mailboxes are listed by e-mail address and the date the mailbox was deleted. You can sort the list by clicking on E-mail Address or Date Deleted.

  • To recover a deleted mailbox, select the mailbox and click Recover Recover Deleted Mailbox.
  • To refresh the list of deleted mailboxes, click Refresh.

Why doesn’t a deleted mailbox appear on the list?

If a deleted mailbox isn’t recoverable, it won’t appear on the list. So when isn’t a mailbox recoverable?

  • The deleted mailbox was a resource mailbox. Room and equipment mailboxes aren’t recoverable.
  • The mailbox was deleted more than 30 days ago. Mailboxes can only be recovered within 30 days of deletion.
  • You created a mailbox and deleted it immediately. A mailbox isn’t actually “created” until it is directly accessed in some way as in the following examples:
    • The user signs in to the mailbox or accesses the mailbox using a mail client.
    • An e-mail message is sent to the mailbox.
    • An administrator runs a command that accesses the mailbox, for example: Test-MapiConnectivity <mailbox>.
  • The deleted mailbox was in a federated domain. A federated domain uses on-premises credentials to access mailboxes in a cloud-based organization. You can’t use the Exchange Control Panel to recover federated mailboxes. You have to use Windows PowerShell. For more information, see Recover a Deleted Mailbox in Windows PowerShell.

Recover a Deleted Mailbox in Windows PowerShell

Applies to: Office 365 for professionals and small businesses, Office 365 for enterprises, Live@edu

Topic Last Modified: 2011-11-23

Typically, you can recover a deleted mailbox if the mailbox was deleted less than 30 days ago. For an explanation of when a deleted mailbox isn’t recoverable, see Deleted Mailboxes.

You can recover deleted mailboxes in the Exchange Control Panel. For more information, see Recover a Deleted Mailbox. However, you can use Windows PowerShell if you like. Here are your options:

                                                Before you begin

  • To learn how to install and configure Windows PowerShell and connect to the service, see Use Windows PowerShell in Exchange Online.
  • You can use the Get-RemovedMailbox cmdlet to view the recoverable mailboxes in your organization. If the deleted mailbox isn’t listed, the mailbox isn’t recoverable. If Get-RemovedMailbox returns more than one deleted mailbox for a user, identify the appropriate deleted mailbox in the results, and use the SAMAccountName or GUID value of that deleted mailbox to identify the deleted mailbox using the RemovedMailbox parameter.
  • When a mailbox is deleted, the following mailbox properties aren’t modified, so you can use any of them to identify the deleted mailbox:
    • Name   Note that Name and DisplayName are different mailbox properties that may have the same value, or the values may be completely different.
    • WindowsLiveID for Live@edu organizations
    • MicrosoftOnlineServicesID for Microsoft Office 365 organizations.
    • SAMAccountName
    • Guid

                                                Recover a deleted mailbox and the original Windows Live ID and password in Live@edu

Run the following command:

New-Mailbox -Name <new mailbox> -RemovedMailbox <deleted mailbox> -WindowsLiveID <Windows Live ID> -UseExistingLiveId

For example, suppose you deleted the mailbox for a user named Kim Akers, and you kept the Windows Live ID named kakers@contoso.edu. To recover the mailbox and the original Windows Live ID, run the following command:

New-Mailbox -Name "Kim Akers" -RemovedMailbox "Kim Akers" -WindowsLiveID kakers@contoso.edu -UseExistingLiveId

Note   By using this procedure, you can also associate any unassociated Windows Live ID in your cloud-based domain with the recovered mailbox.

Top of page

                                                Recover a deleted mailbox and the original Windows Live ID with a new password in Live@edu

Run the following command:

New-Mailbox -Name <new mailbox> -RemovedMailbox <deleted mailbox> -WindowsLiveID <Windows Live ID> -Password (ConvertTo-SecureString -String '<password>' -AsPlainText -Force)

For example, suppose you deleted the mailbox for a user named Tamara Johnston, and you didn’t keep the Windows Live ID named tjohnston@contoso.edu. To recover the mailbox and the original Windows Live ID with the new password Pa$$word1, run the following command:

New-Mailbox -Name "Tamara Johnston" -RemovedMailbox "Tamara Johnston" -WindowsLiveID tjohnston@contoso.edu -Password (ConvertTo-SecureString -String 'Pa$$word1' -AsPlainText -Force)

Top of page

                                                Recover a deleted mailbox and create a new Windows Live ID in Live@edu

This procedure uses the same syntax as the previous procedure that recovers the deleted mailbox with the original Windows Live ID and a new password. However, to create a new Windows Live ID for the recovered mailbox, you must specify a completely different Windows Live ID.

For example, suppose you deleted the mailbox for a user named Ayla Kol who had the Windows Live ID akol@contoso.edu. To recover the mailbox and create a new Windows Live ID named aylakol@contoso.edu with the password Pa$$word1, run the following command:

New-Mailbox -Name "Ayla Kol" -RemovedMailbox "Ayla Kol" -WindowsLiveID aylakol@contoso.edu -Password (ConvertTo-SecureString -String 'Pa$$word1' -AsPlainText -Force)

Top of page

                                                Recover a deleted federated mailbox in Live@edu

Run the following command:

New-Mailbox -Name <new mailbox> -RemovedMailbox <deleted mailbox> -WindowsLiveID <Windows Live ID> -FederatedIdentity <Federated Identity>

For example, suppose you deleted the federated mailbox for a user named Ayla Kol who had the Windows Live ID akol@contoso.edu. Suppose your organization uses the objectGUID value of the user’s on-premises Active Directory account for the value of FederatedIdentity, and that value for Ayla’s account is b60f7b72-ac12-4cdf-b2b0-f5106d56456f. To recover Ayla’s mailbox and re-attach it to the original Windows Live ID, run the following command:

New-Mailbox -Name "Ayla Kohl" -RemovedMailbox "Ayla Kohl" -WindowsLiveID akol@contoso.edu -FederatedIdentity b60f7b72-ac12-4cdf-b2b0-f5106d56456f

                                                Recover a deleted mailbox and the original user ID and password in Office 365

Run the following command:

New-Mailbox -Name <new mailbox> -RemovedMailbox <deleted mailbox> -MicrosoftOnlineServicesID <user ID> -UseExistingMicrosoftOnlineServicesId

For example, suppose you deleted the mailbox for a user named Kim Akers who had the user ID named kakers@contoso.com. To recover the mailbox and the original user ID, run the following command:

New-Mailbox -Name "Kim Akers" -RemovedMailbox "Kim Akers" -MicrosoftOnlineServicesID kakers @contoso.com -UseExistingMicrosoftOnlineServicesID

Note   By using this procedure, you can associate any unassociated User ID in your cloud-based domain with the recovered mailbox.

Top of page

                                                Recover a deleted mailbox and create a new user ID in Office 365

Run the following command:

New-Mailbox -Name <new mailbox> -RemovedMailbox <deleted mailbox> -MicrosoftOnlineServicesID <user ID> -Password (ConvertTo-SecureString -String '<password>' -AsPlainText -Force)

For example, suppose you deleted the mailbox for a user named Ayla Kol who had the user ID akol@contoso.com. To recover the mailbox and create a new user ID named aylakol@contoso.com with the password Pa$$word1, run the following command:

New-Mailbox -Name "Ayla Kol" -RemovedMailbox "Ayla Kol" -MicrosoftOnlineServicesID aylakol@contoso.com -Password (ConvertTo-SecureString -String 'Pa$$word1' -AsPlainText -Force)

Top of page

                                                Things to consider

  • You can omit the RemovedMailbox parameter and instead use the command Get-RemovedMailbox <removed mailbox> | New-Mailbox.... The rest of the parameters on the New-Mailbox cmdlet are the same.
  • In Live@edu, if you try to recover the mailbox and associate an existing Windows Live ID with the recovered mailbox, you may accidentally specify an unmanaged Windows Live ID. For more information about unmanaged Windows Live IDs, see Import or Evict Existing Windows Live IDs in Live@edu.

Courtsey-http://help.outlook.com/en-US/140/ms.exch.ecp.DeletedMailboxes.aspx

http://help.outlook.com/en-US/140/ee423634.aspx

 

Advertisements