Sie sind auf Seite 1von 4

10/12/2015

Home

AbetterwaytorecoveramailboxExchangeTeamBlogSiteHomeTechNetBlogs

Library

Forums

Wiki

TechCenter

A better way to recover a mailbox


The Exchange Team 13 Jan 2015 3:03 PM

12

187
Tw eet

40

Update 06/11/2015: We have now disabled the old method of recovering a mailbox which involved using GetRemovedMailbox and NewMailbox
RemovedMailbox and we no longer support the recovery of hard deleted mailboxes.

Like

The process of recovering deleted users or mailboxes in a hybrid or cloudonly organization can be frustrating. When dealing with these scenarios, customers
would sometimes end up with multiple mailboxes for a single user, find that some emails are missing, or even lose data associated with other services. Often,
they would find those situations difficult to troubleshoot and they would call Microsoft support for help.
For a long time now, Exchange Online has had a capability called "soft delete" that allows a user to recover a mailbox with very little effort. Lets take a look at
how a mailbox recovery should be approached.

Scenario: User Is Accidentally Deleted Along with Their Mailbox


First, you need to know if the deleted user was managed onpremises or in the cloud.
If the user was managed in the cloud:
If the source of authority for the user is in the cloud meaning they are not syncd from onpremises Active Directory, you can restore the user from the Admin
Portal at http://portal.office.com. Navigate to Users, and select Deleted Users. There you will see the option to restore the user.

If user was synchronized from onpremises AD:


If the user account was being synchronized from onpremises you should restore the user onpremises. The mailbox will automatically reconnect.
IMPORTANT NOTE: Recreating the user onpremises will not have the same effect because the Globally Unique Identifier GUID used in the recovery process
would be different.
The proper way to restore a deleted user is documented at http://support.microsoft.com/kb/2619308. Thats it! There is no need to take any additional actions.
What If These Actions Do Not Work?
There could still be times when "soft recovery" actions will not fix the user's account. For instance, the user may have a corrupt account or the account may
have been permanently deleted. Another possibility is that the user is no longer with the company, but the mailbox is used as a jobrelated mailbox and needs
to be available to a new user.
For these scenarios we have the NewMailboxRestoreRequest cmdlet. This allows you to merge the data from one user or archive mailbox to another user, or
you can archive the active mailbox. Unlike the recovery process above which is the best approach, NewMailboxRestoreRequest allows you to merge the data
from a softdeleted mailbox into an alternate active mailbox or archive mailbox.
Why Is This a Benefit?
Previously, if you could not recover both the user and the mailbox, you would have to perform an unsupported process of harddeleting a mailbox. This
process was unreliable and sometimes caused a ripple effect on other services such as SharePoint and Lync. If the process failed, you were left with very
limited options, and ultimately had to call support.
What Do I Need To Do To Take Advantage of This New Option?
All you need to do is create a new user with a mailbox and merge the data. The way you create the user with a new mailbox will depend on if you use DirSync
or the Microsoft Online Portal to create users.

http://blogs.technet.com/b/exchange/archive/2015/01/13/abetterwaytorecoveramailbox.aspx

1/4

10/12/2015

AbetterwaytorecoveramailboxExchangeTeamBlogSiteHomeTechNetBlogs

1. Create the user and Mailbox.


Using DirSync:
Create the user and remote mailbox from the onpremises Exchange management tools.
Force a directory synchronization.
Not Using DirSync:
Log into http://portal.office.com.
Create and license the user.
2. Run the cmdlet to merge the accounts. This is done from PowerShell connected to Exchange Online.
A Connect PowerShell to Exchange Online. To do this, see http://technet.microsoft.com/enus/library/jj984289v=exchg.150.aspx
B Run the following Command and retrieve the GUID for the softdeleted mailbox that you want to restore: GetMailboxSoftDeletedMailbox
C Run a cmdlet similar to the following to restore the mailbox: NewMailboxRestoreRequestSourceMailbox<GUIDfromStep2B>
TargetMailbox<GUIDfromStep1>
NOTE 1: If the mailbox source and/or target is an archive, use the following switches SourceIsArchive and/or TargetIsArchive
NOTE 2: The value in Step 2C calls for the account GUIDs, but they can take other values such as an SMTP address or a UPN. The reason we recommend
using GUIDs is to reduce the chances that there will be any confusion or conflict between the source and destination.
Are there limitations?
This merge capability does have some limitations. For instance, you cannot merge data from a source mailbox that is active. Lets say you have a user Jane
who is still licensed and using her mail. You would be unable to merge her data into Toms mailbox with this new approach. This new process is not meant to
be used for backup and duplication purposes; this is a recovery tool only.
Another time when this tool will not work is when the mailbox is harddeleted. If you manually remove a user account in Office 365, and then remove the user
from the Recycle Bin, the mailbox would be harddeleted. This is the potentially damaging scenario that was briefly discussed above. Again, this merge
approach is for recovering softdeleted mailboxes when the normal recovery options are not available to you.
NOTE: Unless you place the mailbox on litigation or inplace hold prior to harddeleting the user account, there is no recovery method available to you from
Exchange Online to restore the mailbox or its contents. If you place the mailbox on hold first, it will be flagged as an inactive mailbox and the New
MailboxRestoreRequest CMDlet will be available to you. For more information on inactive mailboxes see: Manage inactive mailboxes in Exchange Online.

Timothy Heeney

Comments
jpalarchio #

14 Jan 2015 3:32 AM

Great article. Any additional notes you can provide around restore options for "inactive mailboxes" mailboxes on litigation hold or IPH where the user has
since been deleted?

Thomas Stensitzki MCSM MCM MCT #

14 Jan 2015 12:46 PM

The "new" Approach provides a much better/easier way to recover mailboxes. Thanks.

Timothy Heeney MSFT #

14 Jan 2015 2:54 PM

@jpalarchio when you have an inactive mailbox it will essentially be in a soft deleted state meaning the steps similar to what is documented in this post will
work for recovering the data

Timothy Heeney MSFT #

14 Jan 2015 4:36 PM

@jpalarchio The approach documented in this blog will work for inactive mailboxes as well. Inactive Mailboxes should show up in a similar way that soft
deleted mailboxes do.

Ryan Yates 90 #
http://blogs.technet.com/b/exchange/archive/2015/01/13/abetterwaytorecoveramailbox.aspx

14 Jan 2015 6:19 PM

2/4

10/12/2015

AbetterwaytorecoveramailboxExchangeTeamBlogSiteHomeTechNetBlogs
I may be wrong on this but I'm pretty sure that having the AD Recycle Bin enabled stopped DirSync from being able to preform the sync at least that was
the impression i got when using OnRamp for my test environment

15 Jan 2015 5:14 AM

Jeff Guillet [MCM, MVP, Author, Blogger] #


Good stuff, Tim.

What happens to the soft deleted mailbox after the NewMailboxRestoreRequest cmdlet is run? Is it empty? Could it be merged again to another mailbox?

16 Jan 2015 3:44 PM

Timothy Heeney MSFT #

@Jeff sorry for the delay I had to test it to verify, You can only perform the restore using the MailboxRstoreRequest cmdlet to one mailbox, subsequent
restore request of the same soft deleted mailbox to other active mailboxes fail

9 Feb 2015 9:55 PM

vigss #

Is this command available to all tenants in Office 365? I am global admin with Organization Management role however I could not run the command New
MailboxRestoreRequest : The term 'NewMailboxRestoreRequest' is not recognized as the name of a cmdlet, function

17 Mar 2015 10:29 AM

Esterno rozer #

EDB recovery software is an advance and effective third party software, it can easily restore mailbox folders Inbox, Outbox, Sent items, Journals, Notes,
Task, Draft etc. The software can fix edb files error and database corruption issue. http://www.exchangeserver.recoveryfiles.org/

17 Mar 2015 12:19 PM

ThomasWieland #

Hi, nice write. Glad you are recommending this as I work exactly that way already : But maybe allow me to suggest a vital enhancement: In order to restore
the deleted mailbox so that users wont recognize that there is a new mailbox acting as the old one: Do not only takeover the SMTP addresses, also take
over the "old" LegacyExchangeDN as X400 Alias address to the new mailbox leave that LegacyDN as is. This will suppress NDR messages when other
users who wrote to that deleted mailbox before and/or have that mailbox in their contacts folder.

18 Mar 2015 10:40 AM

Esterno rozer #

Exchange edb repair software is capable to instantly restore mailbox from corrupt exchange server database public folder. The software easily fix exchange
server corruption issue and convert corrupt edb to pst format. http://www.edb2pst.net/

7 Apr 2015 12:06 PM

rogermilano #

To repair inaccessible exchange server mailbox you can use Eseutil and Isinteg, It provide soft and hard database recovery, If you want to use third party
software then try edb repair software. http://www.edbtoliveexchange.edbpst.net

Exchange TechNet
Resources

Other Microsoft Team Blogs

Quick Links

Support

Cool Community Links

Exchange Development
Blog

Buy Now

Exchange Server Forums

MSExchange.org

Exchange Online

Exchange Server 2010

Tony Redmond's Blog

Exchange Server 2007

The NextHop Lync


Community

Exchange Server 2007

MSExchangeGuru's Blog

TechNet Library

The Microsoft Windows

Forefront Protection 2010


for Exchange Server
Forefront Online Protection

Exchange Server DevCenter

The Master Blog

Exchange Server Wiki

Ask Perry

Exchange TechCenter
Exchange Server 2010

http://blogs.technet.com/b/exchange/archive/2015/01/13/abetterwaytorecoveramailbox.aspx

3/4

10/12/2015
Forums

AbetterwaytorecoveramailboxExchangeTeamBlogSiteHomeTechNetBlogs
Blog

for Exchange

The Microsoft Office Blog

Microsoft Office 365

More...

Bing Community

2011 Microsoft Corp.


About

Terms of Use

Trademarks

http://blogs.technet.com/b/exchange/archive/2015/01/13/abetterwaytorecoveramailbox.aspx

Privacy Statement

Report Abuse

4/4

Das könnte Ihnen auch gefallen