To remove a device that has been accidentally enrolled in your Microsoft Entra ID tenant, you will need to deregister the device. Since Intune and Autopilot are not enabled, you can follow these steps:
- Delete the device object from Microsoft Entra ID: You can do this through the Microsoft 365 admin center. Sign in to the admin center, navigate to Devices > All devices, select the device you want to remove, and choose the option to delete it.
- Ensure the device is not registered elsewhere: If the device was previously registered in any other services, ensure those registrations are also removed to prevent any conflicts.
- Release ownership: Once the device is deleted from Microsoft Entra ID, it should no longer be associated with your tenant, effectively releasing ownership.
If you encounter any issues or if the device remains locked, you may need to contact Microsoft support for further assistance.
References: