Category: Microsoft 365 Administration · View source ↗
Microsoft 365 Administration
Stale Device Cleanup
Clean up stale Entra device objects on a last-activity threshold with BitLocker-key-loss warnings, Autopilot exclusions, and disable-before-delete.
Runs as: Skill — you run it in Super Magic and confirm each write; there’s no Flow trigger for this one.
Connectors: IT GlueHudu
Role: Technician
Outcome: Time & Cost Savings (Capacity), Risk & Compliance
When to use: “Entra has <hundreds of> devices that haven’t checked in for a year,” a periodic device-hygiene pass for a managed tenant, device-count-based licensing or reporting skewed by dead records, or pre-cleanup before a tenant migration or management-tool change. Deleting a device object is the rare hygiene task that can destroy data recovery — BitLocker keys stored on the Entra device object die with it — so this skill sequences the cleanup so keys are preserved first, Autopilot devices are excluded, and nothing is deleted that was merely asleep.
Run it: as an on-demand sweep across every device object in the tenant — you prepare and sequence the cleanup, a technician exports, disables, and deletes (not a Flow: no schedule trigger, and changes need a human at the console).
Related topics
Meet Super Magic: Your AI Agent in InboxConfigure Reminder AgentService Team Performance & AI Usage DashboardWas this page helpful?