Offboard a device from Microsoft Defender for Business
As devices are replaced or retired, or your business needs change, you can offboard devices from Defender for Business. Offboarding a device causes the device to stop sending data to Defender for Business. However, data received prior to offboarding is retained for up to six (6) months.
The procedures in this article describe how to remove a device from monitoring by Defender for Business. If you're using Microsoft Intune to manage devices, and you prefer to remove the device from Intune, see Remove devices by using wipe, retire, or manually unenrolling the device.
What to do
Select a tab:
- Windows 10 or 11
- Servers (Windows Server or Linux Server)
- Mobile (for iOS/iPadOS or Android devices)
Follow the guidance on the selected tab.
Proceed to your next steps.
Windows 10 or 11
Go to the Microsoft 365 Defender portal (https://security.microsoft.com) and sign in.
In the navigation pane, choose Settings, and then choose Endpoints.
Under Device management, choose Offboarding.
Select an operating system, such as Windows 10 and 11, and then, under Offboard a device, in the Deployment method section, choose Local script.
In the confirmation screen, review the information, and then choose Download to proceed.
Select Download offboarding package. We recommend saving the offboarding package to a removable drive.
Run the script on each device that you want to offboard.