MacOS - eekbot/public GitHub Wiki

Blocking Device Enrollment Notficiation

Source: https://apple.stackexchange.com/questions/297293/turning-off-device-enrollment-notifications-on-macbook-pro

Add these lines to your /etc/hosts file:

# Block Mac from reaching the domain iprofiles.apple.com
0.0.0.0 iprofiles.apple.com

Then, check the current enrollment profile:

sudo profiles show -type enrollment