Blog Post

Exchange Team Blog
3 MIN READ

Announcing Original Folder Item Recovery

Ross Smith IV's avatar
Ross Smith IV
Former Employee
Jun 13, 2017

Cumulative Update 6 (CU6) for Exchange Server 2016 will be released soonTM, but before that happens, I wanted to make you aware of a behavior change in item recovery that is shipping in CU6.  Hopefully this information will aid you in your planning, testing, and deployment of CU6.

Item Recovery

Prior to Exchange 2010, we had the Dumpster 1.0, which was essentially a view stored per folder. Items in the dumpster stayed in the folder where they were soft-deleted (shift-delete or delete from Deleted Items) and were stamped with the ptagDeletedOnFlag flag. These items were special-cased in the store to be excluded from normal Outlook views and quotas. This design also meant that when a user wanted to recover the item, it was restored to its original folder. With Exchange 2010, we moved away from Dumpster 1.0 and replaced it with the Recoverable Items folder. I discussed the details of that architectural shift in the article, Single Item Recovery in Exchange 2010. The Recoverable Items architecture created several benefits: deleted items moved with the mailbox, deleted items were indexable and discoverable, and facilitated both short-term and long-term data preservation scenarios. As a reminder, the following actions can be performed by a user:
  • A user can perform a soft-delete operation where the item is deleted from an Inbox folder and moved to the Deleted Items folder. The Deleted Items folder can be emptied either manually by the user, or automatically via a Retention Policy. When data is removed from the Deleted Items folder, it is placed in the Recoverable Items\Deletions folder.
  • A user can perform a hard-delete operation where the item is deleted from an Inbox folder and moved to the Recoverable Items\Deletions folder, bypassing the Deleted Items folder entirely.
  • A user can recover items stored in the Recoverable Items\Deletions folder via recovery options in Outlook for Windows and Outlook on the web
However, this architecture has a drawback – items cannot be recovered to their original folders. Many of you have voiced your concerns around this limitation in the Recoverable Items architecture, through various feedback mechanisms, like at Ignite 2015 in Chicago where we had a panel that included the Mailbox Intelligence team (those who own backup, HA, DR, search, etc.). Due to your overwhelming feedback, I am pleased to announce that beginning with Exchange 2016 CU6, items can be recovered to their original folders!

How does it work?

  1. When an item is deleted (soft-delete or hard-delete) it is stamped with the LastActiveParentEntryID (LAPEID) MAPI property (property ID 348A). By using the folder ID, it does not matter if the folder is moved in the mailbox’s hierarchy or renamed.
  2. When the user attempts a recovery action, the LAPEID is used as the move destination endpoint.
The LAPEID stamping mechanism has been in place since Exchange 2016 Cumulative Update 1. This means that as soon as you install CU6, your users can recover items to their original folders! Soft-Deletion: ItemRecovery   Hard-Deletion ItemHardRecovery

Are there limitations?

Yes, there are limitations. First, to use this functionality, the user’s mailbox must be on a Mailbox server that has CU6 installed. The user must also use Outlook on the web to recover to the original folder; neither Outlook for Windows or Outlook for Mac support this functionality, today. If an item does not have an LAPEID stamped, then the item will be recovered to its folder type origin – Inbox for mail items, Calendar for calendar items, Contacts for contact items, and Tasks for task items. How could an item not have an LAPEID? Well, if the item was deleted before CU1 was installed, it won’t have an LAPEID. And lastly, this feature does not recover deleted folders. It only recovers items to folders that still exist within the user’s mailbox hierarchy. Once a folder is deleted, recovery will be to the folder type origin for that item.

Summary

We hope you can take advantage of this long sought-after feature. We continue to look at ways we can improve user recovery actions and minimize the need for third-party backup solutions. If you have questions, please let us know. Ross Smith IV Principal Program Manager Office 365 Customer Experience
Updated Jul 01, 2019
Version 2.0

16 Comments

  • wad11656's avatar
    wad11656
    Copper Contributor

    This just ruined my life. I thought all 700+ Recoverable items would recover to the Deleted Items, just like on Desktop. Why would the SAME FEATURE behave RADICALLY differently on the web vs. on Desktop?? It's been 7+ years!! How do I undo a bulk Recovery...

  • If I have a 2016 exchange server - would it be possible to use this feature on databases held on a 2010 exchange server?

    If not - what if I moved the mailbox to the 2016 server - would it be able to restore the folder if it was deleted prior to the move?

  • Nice!!!! ExO considerations;ETA?
    • Deleted's avatar
      Deleted
      Nevermind, just tested with an O365 tenant and it works. This will help a lot! Thank you.
  • That's great. thank you for heading up. Do you know if the CU6 has fixed the meeting auto forward issue triggered by IOS activesync devices

    https://social.technet.microsoft.com/Forums/office/en-US/e6cbcf55-6d96-4b15-9386-b8713fd168d0/exchange-recurring-meetings-got-forwarded-automatically-to-attendees?forum=Exch2016CM

    https://support.microsoft.com/en-us/help/4014990/meeting-invites-are-forwarded-by-an-attendee

    Thanks again.

  • Will this be ported to Exchange 2013 with a future CU?

    Thanks

      • Deleted's avatar
        Deleted
        Hi Ross,

        Is there any particular reason why this functionality couldn't be made available to those running Exchange 2013? The product is still in mainstream support after all.

        Thanks.

  • Happy, Happy, Joy, Joy! is there any idea as to when this feature will be exposed in the outlook desktop clients. (Months , Years)...
  • Awesome! Next stop: folder recovery :-) Cheers Christian Schindler
    • Deleted's avatar
      Deleted
      +1 for folder recovery ;)

      regards

      Barna

  • Is this an on-premises only feature?
    • Deleted's avatar
      Deleted
      Gavin, this feature is already available in Office 365.