Good morning, I hope you are doing well,
You can read a little bit more about this here https://learn.microsoft.com/en-us/defender-endpoint/offboard-machines
Also I made this guide for you;
To offboard VMs from Defender for Servers Plan 2, follow these steps:
Uninstall the MDE.Windows extension:
- In the Azure portal, navigate to the VM.
- Select Extensions under Settings.
- Find MDE.Windows and select Uninstall 1.
- In the **Microsoft Defender portal**, go to **Settings** > **Offboard**. - Select the operating system of the VM and follow the prompts to complete the offboarding process **1** **2**. **Verify the offboarding**: - Check the **Event Viewer** on the VM for events from the **WDATPOnboarding** source to confirm successful offboarding **2**. **Remove policies and configurations**: - If you used **Group Policy**, **Configuration Manager**, or **Mobile Device Management (MDM)** tools for onboarding, ensure you remove any policies or configurations related to Defender **1** **2**.
- Select Extensions under Settings.
These steps should help ensure that the VMs are fully offboarded from Defender for Servers Plan 2. If you encounter any issues or need further assistance, you can refer to the official documentation
😊 If my answer helped you resolve your issue, please consider marking it as the correct answer. This helps others in the community find solutions more easily. Thanks!