If the device was purchased second-hand, the original owner or company can often remove the MDM profile remotely via their management console.
: If you have the authorization, the most secure way to remove MDM is through the Device Administrator
Even after a full factory reset via recovery mode, the device will to the company’s MDM as soon as it connects to Wi-Fi—thanks to Knox’s persistent attestion.
Unlocking Freedom: A Guide to Samsung MDM Removal with Rajaminus Tool
Always pursue official channels first. If the device is abandoned e-waste with no owner, consider recycling it rather than using undocumented third-party tools.