Practical guide
What to do if your Intune tenant is compromised
If an attacker controls an Intune administrator account, stop the access first, then work out what changed, then recover. Intune can wipe devices, change policies and run scripts and apps on every device it manages, so a compromise is a tier 0 incident. TenuVault helps with one part of the recovery: it restores Intune configuration from a backup you control. It cannot undo a device wipe and it does not repair Entra accounts.
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
- Disabling an account and revoking its sessions in Microsoft Entra stops new tokens, but Microsoft notes that existing access tokens stay valid until they expire, one hour by default.
- Microsoft describes the Intune Wipe action as a factory reset that removes personal and organizational data, apps and configurations, and states that data cannot be recovered after a wipe.
- Multi Admin Approval can hold wipe, retire and delete device actions for a second administrator, and it applies to Microsoft Graph calls made with an application identity as well as to admin actions, but only once an access policy exists.
- A TenuVault backup stored on the admin's device or a network share is encrypted and sits outside the tenant, so Intune and Graph actions cannot delete it.
- TenuVault restores Intune configuration, and Conditional Access when it is turned on. It does not restore wiped devices or Entra users.
What should I do in the first hour?
Containment comes before any restore. A restore into a tenant where the attacker still has access can be undone by the attacker, and every change you make while they are active muddies the audit trail you need later.
- Name one person to lead the response and ask other administrators to pause changes, so the audit log shows only what the attacker and the response did.
- Disable the suspected account in Microsoft Entra and revoke its sessions. Microsoft's guidance also covers disabling the user's registered devices, and it warns that tokens already issued remain valid until they expire.
- List who holds Intune and Microsoft Entra administrator roles right now and look for accounts or role assignments you did not create.
- Check app registrations and enterprise applications that have Microsoft Graph permissions for Intune, and remove client secrets or certificates you do not recognise. A stolen application credential keeps working after the user account is disabled.
- Open the Intune audit log, find the actor and the device actions (wipe, retire, delete) and note the time of the first change you did not expect. Ask Microsoft support for help early if device actions are still running, because Microsoft's wipe page does not describe cancelling a wipe that was already sent.
- Back up the current state of the tenant with TenuVault before you change anything, and choose the Everything scope. The default scope leaves out apps, so an app the attacker added would not appear in it. This backup is your evidence of what the attacker left behind.
- Turn on Multi Admin Approval if it is not already on, so that device actions, role changes and script deployments need a second administrator from now on.
Why is Intune a tier 0 service?
Whoever controls Intune controls the devices it manages. Microsoft's privileged access guidance lists Intune with Microsoft Entra ID and Defender for Endpoint as part of the control plane, which it says should be reached only from a privileged access workstation. Security teams call that tier 0, and an Intune administrator account deserves the protection of an identity administrator account.
Research shows how far that reach goes. A Mandiant red team used a service principal that could write device management configuration to change an Intune PowerShell script that ran on privileged workstations, and IBM X-Force describes how an Intune administrator can run code as SYSTEM on enrolled hosts with a Win32 app or a script.
What can an attacker do with Intune administrator rights?
Match each action to what a configuration backup can and cannot do about it, so the response team knows where recovery needs another tool.
| Action | Effect | Restoring configuration |
|---|---|---|
| Wipe a device | Factory reset that removes data, apps and configuration; Microsoft states the data cannot be recovered | No help. The device has to be enrolled again |
| Delete a device record | The managed device record is removed from Intune | No help. A deleted managed device record cannot be restored, and TenuVault does not restore managed devices |
| Delete or change a policy | Settings change or disappear on devices at their next check-in | Restore the policy from a backup, as a copy or in place, with or without its assignments |
| Deploy a script or an app | Code runs on enrolled devices | A restore never deletes what the attacker added. The comparison lists new scripts and apps as added, so find them there and in the audit log and delete them by hand |
| Add a role assignment | Gives the attacker lasting access | Review Intune role assignments in Intune and Entra. TenuVault saves custom roles with their assignments, but not the assignments on built-in roles |
Has this happened to a real company?
Public reports describe an attack on the medical technology company Stryker on 11 March 2026, in which an administrator account was compromised and Intune was used to wipe devices. A Glueckkanja analysis published on 20 March 2026 cites press reporting of roughly 80,000 devices wiped between 05:00 and 08:00 UTC, notes that the attacking group claimed more than 200,000, and says no malware was reported.
Those counts and the attribution come from press reports and from the attacker's own claim, not from Stryker or Microsoft, so treat them as approximate. On 13 March 2026 Microsoft published its best practices for securing Intune, which recommend placing Intune role management, device wipe and script deployment behind Multi Admin Approval.
How do I find out what the attacker changed?
The Intune audit log records who changed what and when. Microsoft documents that Graph returns up to two years of audit events, and that audit logs can be sent to Log Analytics from Reports, then Diagnostics settings, by choosing the AuditLogs category. Turn that on now if it is off, because it gives you searchable history and alerting for the next incident.
TenuVault adds a second view. View Changes compares a backup with the one before it, and Drift Detection lets you pick two backups, a baseline and a newer one. A backup from before the first malicious change and a backup of the current state show each policy, script or app that was changed, added or removed between them, and a changed assignment shows as the old and new group ID. The comparison runs between backups, not against the live tenant, which is why the first-hour list includes a fresh backup.
Neither source is a verdict. The audit log shows who acted, and a comparison shows what differs, but only you know which changes were the attacker's. A role assignment on a built-in Intune role does not appear in a TenuVault comparison at all, so check those assignments in Intune.
How do I recover Intune configuration once the account is contained?
Recover in an order you can explain afterwards. The same steps apply whether the attacker deleted policies, changed them or both.
- Choose the last backup from before the first malicious change. A backup is only known-good if its date is earlier than that change, so use the audit log to date it and keep enough backup history to reach back past a long period of undetected access.
- Compare that backup with the backup of the current state and list what differs.
- Restore the affected policies as unassigned copies first and inspect them. Then restore in place, with assignments if their targeting must come back. Replace in place and Restore assignments need Pro or MSP.
- Restore dependencies such as scope tags and assignment filters in the same selection as the policies that use them.
- Delete the scripts, apps and role assignments the attacker added, and check every Intune role assignment against what you expect.
- Enroll wiped devices again and complete what Graph cannot export, such as installers and Apple tokens.
- Run a fresh backup of the recovered state and record the timeline, the backup used and the IDs of anything recreated.
Where should the backup live so an attacker cannot reach it?
A backup on the admin's device or on a network share is encrypted by TenuVault and cannot be reached through Intune or Graph. It is outside the tenant, not offline, so the admin computer itself must be protected and the recovery key kept in a separate secret store.
A backup in Azure storage is a different case. TenuVault writes it as plain JSON that Azure encrypts at rest, and anyone with data access to the storage account can read it. TenuVault restores what it finds in the container, so treat write access to the container like Intune administrator access, and keep the storage account where the administrators of the Intune tenant cannot write to it.
Whatever the location, keep one export outside the usual places. The ZIP export is plain JSON, so it needs the same protection as the tenant configuration it holds.
What can a backup not fix?
A backup restores configuration. It does not carry the rest of the incident.
- Wiped devices and their data: Microsoft states that data cannot be recovered after a wipe, so enrollment and data restore are separate work.
- Entra accounts, sessions and role assignments: TenuVault does not back up Entra users, and Entra roles and sessions are handled in Entra.
- Detection: TenuVault has no mass-wipe detector. Its change alerts on Pro and MSP check the Intune audit log every 15 minutes by default while the app runs and is signed in, a wipe arrives as a general device change rather than a named wipe, and the recommended deletion alerts do not send wipes.
- Prevention: Multi Admin Approval is an Intune feature that TenuVault does not enforce.
- Masked secrets: a value that Graph returns masked cannot be restored, so run a new backup while the profile still exists.
How do I make a repeat harder?
Microsoft's best practices for Intune ask for least privilege with scope tags, Conditional Access and phishing-resistant sign-in for admin portals, time-bound roles, privileged access workstations and Multi Admin Approval for the destructive actions. Add at least two emergency access accounts that are excluded from Conditional Access policies that block sign-in, so a lockout during the incident does not stop you.
Multi Admin Approval has limits you should know: requests expire after three days, and Intune sends no notification when one is created. It also does nothing until an access policy covers the object.
Read the technical guides
Product scope reviewed . Check your installed release and the current plan table before using a workflow.
Frequently asked questions
What should I do first if my Intune tenant is compromised?+
Disable the compromised account and revoke its sessions in Microsoft Entra, then list administrator roles and app credentials for anything you did not create. Take a backup of the current tenant state before you restore anything, and use the audit log to find the first change you did not expect.
Can an Intune mass wipe be undone?+
No. Microsoft states that data cannot be recovered after a wipe, and a deleted device record cannot be restored. Restoring configuration brings back policies and assignments, and the devices have to be enrolled again.
Does Multi Admin Approval stop a compromised administrator?+
It stops a single account from completing an action that an access policy protects, such as wipe, retire or delete device actions. It does not protect objects without a policy, and requests expire after three days without notification.
Can TenuVault recover my Intune configuration after an attack?+
It restores Intune configuration from a backup you choose, as unassigned copies on every plan or in place with assignments on Pro and MSP. It does not undo device wipes, restore Entra users, remove what the attacker added or detect the attack.
