If the MDM profile is unremovable, you must first erase the computer.
- Erase the computer by navigating to , or restore the computer to factory settings following Apple's instructions (see Restoring a Mac to Factory Settings in Apple Device Support Tutorials).
- Re-enroll the computer using either Automated Device Enrollment or, after the first login, Device Enrollment (user-initiated enrollment).