Disable MDM on Mac OS Big Sur




There are several ways to disable MDM on Mac OS. If you don't know what they are, you can do a quick search on Google.

Anyway this is what needed to be done: Edit hosts file:

sudo nano /private/etc/hosts

(You might be asked for your password)

Then append these lines: iprofiles.apple.com mdmenrollment.apple.com deviceenrollment.apple.com gdmf.apple.com

And DO NOT append this line: albert.apple.com