How to Remove Test Computers from Microsoft Defender Portal
Question details
The user needs to remove unused test computers from the Microsoft Defender portal that are not syncing or visible in Intune.
- Product
- Microsoft Defender for Endpoint
- Device & OS
- not provided
- Scenario
- Attempting to clean up the business device inventory after completing a Microsoft Defender deployment test.
- Observed behavior
- Two unused test computers remain visible in the Microsoft Defender portal inventory but do not appear in Intune, making standard removal difficult.
Ensure you have global administrator or security administrator permissions in your Microsoft 365 tenant, and take note of the exact hostnames of the test devices you wish to manage.
Consult the Microsoft Defender for Endpoint Community
Since device removal and retention heavily depend on exactly how the endpoints were initially onboarded, seeking specialized support from Microsoft experts is the most effective approach.
Microsoft Defender for Endpoint does not always provide a straightforward 'delete' button for devices, especially if they are not synced with Intune. The retention behavior is tied to your tenant's data retention policies and the specific onboarding scripts used during testing.
Open your web browser and navigate to the official Microsoft Tech Community website.
Search for and enter the 'Microsoft Defender for Endpoint' community forum, which is actively monitored by Microsoft engineers and specialized support staff.
Click 'Start a New Discussion' and provide your scenario. Be sure to specify that the devices were used for testing, how they were onboarded, and that they currently do not appear in your Intune admin center.
Looking for a Lightweight Office Suite? Try WPS Office
While managing enterprise tools like Microsoft Defender and Intune can be complex, your daily document creation shouldn't be. WPS Office is a free, lightweight, and incredibly powerful alternative to Microsoft Office that is easy to deploy and use without extensive IT administration.
- 1. Download the Installer: Visit the WPS Office website and click the free download button for your operating system.
- 2. Install the Software: Run the downloaded setup file and follow the simple on-screen instructions.
- 3. Start Creating: Open WPS Office to immediately start editing Word, Excel, and PowerPoint documents without complicated sign-ins.

Frequently Asked Questions
How long do inactive devices stay in the Microsoft Defender portal?
By default, inactive devices are retained in the Microsoft Defender portal based on your configured data retention period, which is typically set to 180 days. After this period of inactivity, they will automatically drop off the device inventory list.
Is there a direct delete button for devices in Microsoft Defender?
No, Microsoft Defender for Endpoint currently does not offer a manual 'delete' or 'remove' button for devices in the inventory. Devices must either be properly offboarded or left offline until they age out of the retention period.
How do I correctly offboard a test machine from Defender?
To offboard a machine, go to Settings > Endpoints > Offboarding in the Microsoft Defender portal. Select your operating system, download the provided offboarding package, and run the script locally on the test machine with administrator privileges.




