Exchange Online|Exchange Server|Office|Office 365

Small Change in Recover Deleted Items. Big Impact for Exchange Users

One Step Forward for Exchange

It’s often the case that a change that seems small and unimportant can have a big impact. Such is the case of the change Microsoft made to OWA’s Recover Deleted Items function to allow Exchange to restore items into the folder from which they were deleted.

You might wonder why this was never the case beforehand. And you are right to wonder because it makes perfect sense to restore an item from whence it came. At least, it makes perfect sense to users but not to the minds of those who originally designed the recovery feature.

Original Thinking

The original decision, implemented in Exchange 2010 when Microsoft introduced “dumpster 2.0”, aka the Recoverable Items folder structure, can be defended. After all, when you use the Recover Deleted Items option (Figure 1) to restore a deleted item, it is reasonable to expect that Exchange might put the recovered items back somewhere sensible. Before now, Microsoft used the “folder type origin” to figure out where items go. For most mailbox items, OWA put them back into the Inbox. For calendar items, it is the Calendar, Contacts go to the Contacts folder, and Tasks go to Tasks.

Sponsored Content

What is “Inside Microsoft Teams”?

“Inside Microsoft Teams” is a webcast series, now in Season 4 for IT pros hosted by Microsoft Product Manager, Stephen Rose. Stephen & his guests comprised of customers, partners, and real-world experts share best practices of planning, deploying, adopting, managing, and securing Teams. You can watch any episode at your convenience, find resources, blogs, reviews of accessories certified for Teams, bonus clips, and information regarding upcoming live broadcasts. Our next episode, “Polaris Inc., and Microsoft Teams- Reinventing how we work and play” will be airing on Oct. 28th from 10-11am PST.

OWA Recover Deleted Items Exchange
Figure 1: OWA’s Recover Deleted Items option (image credit: Tony Redmond)

The advantage of this approach is that is it simple. Far too simple. Which is the point made by customers who attended a spirited debate on the topic at the Ignite conference in 2015. In passing, I note that being able to debate with Microsoft engineers is a very good reason to attend Ignite. That is, if you can identify (or find) the right engineers.

Last Parent Folder Identifiers

The new behavior (called Original Folder Item Recovery) is that when you soft-delete or hard-delete an item (move to Deleted Items or move direct to the Deletions sub-folder in Recoverable Items), Exchange stamps the item with the last parent folder identifier (LAPFID). So, if you delete an item from the “Special Things” folder, the LAPFID is the identifier of the “Special Things” folder. The identifier is not the name of the folder. Instead, it is a pointer that persists even if you rename the folder or move it somewhere else in the folder hierarchy.

If you then use OWA’s Recover Deleted Items feature to recover that item, OWA reads the LAPFID and knows that it should recover the item into the “Special Things” folder – or whatever you currently call that folder. This is exactly what Exchange should have been doing for the last eight years.

On-premises users will see the feature work when the server that hosts their mailbox is upgraded to run Exchange 2016 CU6 (or later). Microsoft released Exchange 2016 CU5 on March 21, 2017, so given the three-monthly cycle for cumulative updates, you can anticipate seeing CU6 around June 20 (updates are released on Tuesdays).

Microsoft has not said whether they will backport this change to Exchange 2013. We have already been through sixteen cumulative updates for Exchange 2013 and I do not expect them to do it at this point, so I would not hold your breath.

Exchange Online Knows about LAPFID now

Microsoft says that Exchange has been silently stamping LAPFID on deleted items since Exchange 2016 CU1, which is good because it means that you can recover any item deleted in the last fifteen months or so to the right place – if the item still exists in your mailbox. If an item does not have a LAPFID in its properties (because it was deleted a long time ago), it is processed as before.

Office 365 users can access the feature now as all Exchange Online servers run the equivalent of Exchange 2016 CU6 (or greater). The cloud is always ahead of on-premises. Or as some would say, the cloud is always smarter than on-premises.

Outlook Needs a Little Time

The downside is that only OWA understands the last parent folder identifier. Outlook for Windows and Outlook for Mac need some brain surgery to upgrade their approach to item recovery. The necessary code update will come in time.

Outlook currently restores items to the Deleted Items folder and ignores even the “folder type origin” half-step to intelligent recovery. In short, users must figure out where items should end up after Outlook restores them. Hopefully, Microsoft will update Outlook soon and place it on an equal footing with OWA.

No Folder Restores

One thing that Exchange still cannot do is to restore deleted folders. Exchange treats items in deleted folders individually and you cannot recover a collection of items to a deleted folder because that folder no longer exists in the folder hierarchy. Instead, you must recreate the folder, restore items, and move the items to the recreated folder.

Towards a State of Perfect Data Protection

I liked Microsoft’s bold statement in their blog post that they “continue to look at ways [to]… minimize the need for third-party backup solutions.” Good luck to them with that goal. Microsoft might succeed in their quest to convince customers that Exchange Online does not need to be backed up, if only because Office 365 backups cover a lot more than just email. But in the on-premises world, I think some administrators will keep taking backups until the last Exchange server is decommissioned, whenever that might be.

Follow Tony on Twitter @12Knocksinna.

Want to know more about how to manage Office 365? Find what you need to know in “Office 365 for IT Pros”, the most comprehensive eBook covering all aspects of Office 365. Available in PDF and EPUB formats (suitable for iBooks) or for Amazon Kindle.


Don't have a login but want to join the conversation? Sign up for a Petri Account

Comments (0)

Leave a Reply

Tony Redmond has written thousands of articles about Microsoft technology since 1996. He covers Office 365 and associated technologies for and is also the lead author for the Office 365 for IT Pros eBook, updated monthly to keep pace with change in the cloud.
External Sharing and Guest User Access in Microsoft 365 and Teams

This eBook will dive into policy considerations you need to make when creating and managing guest user access to your Teams network, as well as the different layers of guest access and the common challenges that accompany a more complicated Microsoft 365 infrastructure.

You will learn:

  • Who should be allowed to be invited as a guest?
  • What type of guests should be able to access files in SharePoint and OneDrive?
  • How should guests be offboarded?
  • How should you determine who has access to sensitive information in your environment?

Sponsored by: