Clearing the Entra ID “Ghost” List
A Guide to Device De-registration
When a device is “Entra Joined” or “Registered,” it’s tied to your organization’s identity. Simply wiping the hard drive doesn’t tell Microsoft that the relationship is over. You need to officially “break up” with the hardware in the portal.
1. The “Quick Search” (Single Device)
Best for one-off replacements or small batches.
- Log in to the Microsoft Entra admin center.
- Go to Identity > Devices > All devices.
- Use the Search bar to find the device by its Serial Number or Device Name.
- Select the device and click Delete at the top of the menu.
- Note: “Disable” just pauses access; “Delete” is what we need for recovery!
2. The “Bulk Cleanup” (Microsoft Entra Portal)
Best for medium-sized batches (up to 50 devices at a time).
- Go to the All devices list as mentioned above.
- Use the checkboxes on the left to select multiple units.
- Once your list is selected, hit the Delete button.
- Pro-Tip: You can use the “Add filters” button to filter by OS, Version, or Registered date to find your “retirement-ready” fleet faster.
3. The “Power User” Method (PowerShell)
Best for large estates or if you have a CSV list of Serial Numbers from us. This is the fastest way to handle hundreds of assets without getting “click-fatigue.”
Using the Microsoft Graph PowerShell module:
- Connect:
Connect-MgGraph -Scopes "Device.ReadWrite.All" - The Command: You can run a script to loop through your CSV and remove the devices.
- Example command for a single ID:
Remove-MgDevice -DeviceId [Device_Object_ID]
- Example command for a single ID:
⚠️ The “Golden Rule” of Microsoft Offboarding
Delete in Intune first, then Entra ID.
If you are using Microsoft Intune (Endpoint Manager), there is a specific order of operations to keep your records clean:
- Retire or Wipe the device in Intune. This removes corporate data and the MDM management profile.
- Delete the device record from the Intune portal.
- Wait a few minutes, then Delete the record from Entra ID.
Why the extra step? If you delete it from Entra ID first, the “orphaned” record might linger in Intune, making your compliance reports look messy.
Need a list of Device IDs to get started? If you’ve already sent your gear to us, just ask! We can provide a list of Object IDs or Serial Numbers to help you automate the clean-up and keep your Entra environment lean and mean.