TechnologyNov 16, 202613 min read

Automated Entra ID Restitching for M365: Recovering Access, Not Just the Account


Most Entra ID recovery plans rest on a reasonable assumption that once an account is restored, the user’s access comes back with it. 

For a soft-deleted account the assumption holds, because the user is still in the recycle bin with their original object ID, and restoring them reconnects their mailbox, OneDrive, and everything else tied to that ID. 

This assumption falls apart when an object is hard-deleted. The identity has already been purged, so recovering it means recreating the identity. When this happens, the directory issues the new object with a new object ID. Exchange Online and OneDrive recognize an owner by that identifier, so the user’s mailbox and files survive intact (until purged) but stay bound to an account that no longer exists. The recovered user can sign in again, yet they still can’t reach their email or files.

It’s tempting to treat hard deletes as rare. But as more attacks target identities directly, a hard delete is often the attacker’s goal, because purging an account from the recycle bin puts it beyond native recovery. In one case Microsoft reported, the threat actor Storm-0501 used a compromised Global Admin account to destroy cloud data and backups. A misconfigured AD sync, or an insider excessive privileges can produce the same outcome. So after an identity incident, the identity team can restore every account and the business still isn't running, because the people behind those accounts can't open their email or files.

Rubrik Automated Entra ID Restitching for M365 reconnects each restored user to their mailbox and OneDrive as part of Entra ID recovery, or restores that data from backup when it's gone or can't be trusted. The solution is scheduled for general availability in December 2026.

 

The Current State of Reconnecting Identities to M365 Data

Reconnecting hard deleted users is possible today, but it takes skilled, manual work which can mean days before all accounts have full access. For each user, an administrator retrieves the mailbox’s ExchangeGuid through Exchange Online PowerShell (since Microsoft Graph doesn’t expose it), links it to the new account, and then runs a separate procedure to reconnect OneDrive. 

The order of those steps is strict. If the license is assigned before the link is in place, Exchange treats the user as new and provisions an empty mailbox, and OneDrive can fall into a conflict that only Microsoft Support can resolve. One misstep, repeated across hundreds of users, turns a recovery into a painful support escalation.

Purged data adds a second recovery on top of the first. Microsoft keeps deleted mailboxes for 30 days by default, so a deliberate purge or a late discovery can leave a backup as the only copy. Restoring from that backup means running a separate recovery and mapping each old account to its new identifier by hand, because the backup still knows each user by their old ObjectId. Microsoft Entra Backup and Recovery keeps directory backups for seven days, so it only helps when a purge is caught quickly, and even then it restores the directory objects without reconnecting their M365 resources.

The work also rarely sits with one team. Identity administrators restore the accounts, and M365 administrators own the mailboxes and files, so every affected user passes between the two before they're fully back. Across hundreds of accounts, that hand-off stretches recovery into days. The pressure to get people working again also pushes teams to reconnect first and inspect later, which can return users to mailboxes that still carry the attacker’s forwarding rules or tampered files.

 

One Recovery for the Account and its Data

Fixing this means treating the account and its data as one recovery, run in the order Microsoft requires, with a deliberate choice about which data to trust. Rubrik Automated Entra ID Restitching for M365 does that inside Rubrik’s Entra ID recovery, so the identity team can finish what it starts. The administrator selects the affected users and a recovery point, chooses which M365 resources to bring back, and decides whether to keep or overwrite existing data. Rubrik handles the rest in a single run.

Rubrik decides the path user by user. At run time, it checks whether each user’s mailbox and OneDrive still exist, then applies the administrator’s choice to keep or overwrite the existing data. A single recovery can reconnect one person’s mailbox while it restores another person’s from backup, so the administrator doesn’t need to sort users by situation first.

Accounts come back first. Soft-deleted users return with their original object ID and stay connected to their data. Hard-deleted users are recreated under a new object ID. Accounts the attacker changed without deleting have those changes reverted, including the MFA and federation changes an attacker makes to keep a way back in.

 

Reconnect What Survived

When a mailbox and OneDrive survive intact, Rubrik reconnects them to the restored account and holds the license until every link is in place, which keeps Exchange from provisioning an empty mailbox. The identity team runs the whole sequence from Rubrik, with no PowerShell and no hand-off to the Exchange team.

Rubrik holds the M365 backup, so every user’s mailbox and OneDrive can be restored from this source. When the original data survived, though, reconnection is the better path because it keeps the data current. Users get back exactly what they had, including mail and files that arrived after the last backup, so no work is lost and they pick up where they left off. Rubrik falls back to a restore only when the data is gone or the administrator chooses to overwrite it.

 

Restore What's Missing or Untrusted

When the data is gone, the order reverses. Rubrik assigns the license first to provision a new mailbox or OneDrive, then restores the contents from backup.

A restore also covers a second case, where the data survived but can’t be trusted. An attacker can plant a mailbox rule that forwards mail outside the company, or encrypt the files in OneDrive. In those cases the administrator chooses to overwrite and Rubrik returns the mailbox or OneDrive to its backed-up state.

Either way, Rubrik restores from the most recent M365 backup taken before the identity recovery point. The account and its data return to the same moment, which keeps anything the attacker changed during the intrusion out of the recovery. Overwriting does give up anything newer than that backup, so the choice stays with the administrator, who knows which data they can trust.

Rubrik’s M365 permissions can be granted at setup or elevated just in time. With just-in-time access, the permissions exist only while a recovery runs, so there’s no standing access to mailboxes and files for an attacker to abuse between incidents.

 

The Path to Unified Hybrid Identity Recovery

Rubrik Automated Entra ID Restitching for M365 is one piece of a larger recovery vision. In a hybrid environment, identity and data form a chain. Users might be created in on-premises Active Directory, synced into Entra ID through Entra Connect, and given access to their mailboxes and files in Microsoft 365. An attack can break that chain at any link, so getting the business running again means recovering every link in the right order, from the same point in time.

Rubrik already protects Active Directory, Entra ID, and Microsoft 365 on one platform, and it understands how each layer depends on the next. That foundation is what makes an orchestrated recovery possible. Operationally, it replaces a series of separate restores, run by separate teams, with one workflow. For security, it lets every layer return to the same clean point, so no system comes back carrying changes the attacker made while the others are rolled back. Rubrik Automated Entra ID Restitching for M365 delivers the link between Entra ID and Microsoft 365.

 

Availability

Automated Identity Restitching for M365 is planned for general availability in December 2026. It covers Exchange Online mailboxes and OneDrive within the same Microsoft 365 tenant. It requires both Rubrik's Identity and Microsoft 365 protection products. SharePoint and Teams are next on the roadmap.

Reach out to your Rubrik sales teams to get a custom demo.

Disclaimer: Any unreleased services or features referenced in this document are not currently available and may not be made generally available on time or at all, as may be determined in our sole discretion. Any such referenced services or features do not represent promises to deliver, commitments, or obligations of Rubrik, Inc. and may not be incorporated into any contract. Customers should make their purchase decisions based upon services and features that are currently generally available. 

 

Related Articles

Blog by This Author