Practical guide
Recover Entra ID groups before Intune policies and assignments
After an Entra ID loss, recover identity first and Intune second, because every Intune assignment points at an Entra group by its object ID. A group restored from Entra's recycle bin is the same object and its assignments work again. A group that is recreated gets a new ID, and each assignment that pointed at the old one has to be pointed at the new group. This guide gives the order and shows which parts TenuVault covers.
Also for Mac: Apple silicon · Intel
For Apple silicon Macs.Intel Mac? Get the Intel build
Also for Windows: direct download · Microsoft Store
Send yourself the link and install TenuVault on your computer.
Windows: direct download · Microsoft Store
Mac: Apple silicon · Intel
For Apple silicon Macs.Intel Mac? Get the Intel build
Free to download. Every new tenant starts with 14 days of Pro, with no card and no email. Plans and features
At a glance
- An Intune assignment stores the object ID of an Entra group, not its name, so a new group with the same display name does not receive the assignment.
- Microsoft Entra keeps soft-deleted Microsoft 365 groups and cloud security groups for 30 days and can restore them, and it cannot recover hard-deleted objects.
- Microsoft Entra Backup and Recovery takes a daily backup of supported objects, keeps up to seven days of history on its Standard plan and needs Entra ID P1 or P2. Its pages do not say whether a recovered object keeps its original ID.
- A TenuVault 0.5.4 backup saves the group IDs that assignments point to, not the groups, so a restored policy can only be assigned to a group that still exists.
- Entra Backup and Recovery lists no Intune configuration among its supported objects, so Intune policies need their own backup and a tenant rebuild is done in order: identity, then configuration, then devices.
Why does an Intune assignment point at nothing after an Entra loss?
Intune and Microsoft Entra ID meet at the object ID of a group. Policies, apps and Conditional Access policies name the groups they target by that ID, and the display name is only a label read from Entra when you look.
If a group is deleted and a new group with the same name is created, the new group has a different object ID, so the original assignment has to be removed and created again. A Patch My PC troubleshooting page for its own deployments describes exactly this, and the same rule holds for Intune assignments.
That is why a restore that brings back policies without their groups achieves little: the policies exist, and nothing is targeted.
In what order do I recover Entra ID and Intune?
Work down the table. Each step needs the one before it, and the notes say what to check before moving on.
| Step | What you recover | Where | Check before moving on |
|---|---|---|---|
| 1 | An administrator account that works, and an emergency access account | Microsoft Entra | Someone with the Intune and Entra roles you need can sign in |
| 2 | Groups that were deleted in the last 30 days | Microsoft Entra, deleted groups | The group is back with its original object ID |
| 3 | Groups that are permanently gone | Entra Backup and Recovery if you had it on, otherwise recreate them | Write down the old and new object ID of every group you recreate |
| 4 | Intune configuration: scope tags, filters and policies | TenuVault restore, or your own export | Policies exist and use the dependencies they need |
| 5 | Assignments | TenuVault with Restore assignments for groups that kept their ID, the Intune admin center for recreated groups | Every assignment shows a group that exists |
| 6 | Conditional Access policies that target groups | Microsoft Entra, or the TenuVault Conditional Access restore | Group targets and exclusions resolve, including emergency access exclusions |
| 7 | Installers, tokens and certificates | Their original sources | Apps install and tokens are valid |
| 8 | Devices | Intune and the device itself | Devices check in and receive the assigned policies |
What does Microsoft restore, and what does it not say?
A soft-deleted Microsoft 365 group or cloud security group can be restored for 30 days, and Microsoft states in its Intune release notes that when a soft-deleted group is restored, its previous assignments are reinstated automatically. That is the smallest and best fix, so look in Entra's deleted groups before you rebuild anything.
Entra Backup and Recovery covers users, groups, applications, service principals, Conditional Access policies, named locations and authentication policies. Dynamic groups can be restored, but changes to their membership rule are not in scope, and objects that were hard deleted cannot be recovered.
Microsoft's pages do not state whether an object recovered from a backup keeps its original object ID. Test that in a non-production tenant before your recovery plan depends on it.
What if the whole tenant is gone?
A total loss is a rebuild, not a restore. Intune configuration is not among the objects Entra Backup and Recovery supports, so the replacement tenant needs identity first, then configuration from a backup you kept outside the old tenant, then enrolled devices.
Every group in the new tenant has a new object ID, so no saved assignment can apply. Plan to recreate the groups, record which old group each one replaces, and assign the restored policies yourself. Copying a TenuVault backup into another tenant needs MSP on both tenants, creates unassigned copies and does not enroll devices.
What does TenuVault save about groups?
A TenuVault 0.5.4 backup keeps each assignment as Intune returns it, with the group IDs and the include or exclude choice. It does not keep the groups themselves, their members or their owners.
- Restore assignments applies the saved IDs, so it works for groups that still exist or were restored with the same ID, and it cannot target a group that was recreated with a new one.
- Restoring a policy as a copy leaves it unassigned, which is the safe first step when you are unsure about your groups.
- Keep your own list of the groups that matter most: name, object ID, type, owners and membership rule. Export it from Entra on a schedule, so you can match old IDs to new groups after a recreation.
How do I rehearse the order?
Use a test tenant. Create a test group, assign a test policy to it, then delete the group and restore it from Entra's deleted groups, and confirm the assignment works again. Repeat with a permanent delete followed by a new group of the same name, and note that the new group has a different object ID and receives nothing.
Write the result into your recovery plan next to the time each step took.
Read the technical guides
Product scope reviewed . Check your installed release and the current plan table before using a workflow.
Frequently asked questions
Why does Intune show a group as missing after I recreated it?+
Intune assignments reference the object ID of a group, and a recreated group has a new ID even when its name is the same. Remove the old assignment and assign the new group, or restore the original group from Entra's deleted groups within 30 days.
Does restoring a deleted Entra group bring its Intune assignments back?+
Microsoft states that restoring a soft-deleted group reinstates its previous Intune assignments automatically. This applies to the original group object restored from Entra's deleted groups within 30 days, not to a new group with the same name.
In what order do I restore Entra ID and Intune?+
Restore administrator access and groups in Microsoft Entra first, then Intune configuration, then assignments, Conditional Access targets, installers and devices. Assignments can only land on groups that exist.
Does TenuVault back up Entra groups?+
Not in version 0.5.4. A backup saves the group IDs that assignments point to. The groups themselves, with their members, belong in Entra Backup and Recovery or your own export.
