Automated Device Enrollment + SSO (Microsoft Entra)
Hello,
All three Apple devices (2 iMacs and 1 MacBook) are personally owned by me and were purchased new directly (not second-hand). They are registered under my personal Apple ID.
However, after signing in with my Apple ID, **every device** eventually displays a mandatory Microsoft Entra ID (formerly Azure AD) sign-in prompt. In recent macOS versions, this prompt appears immediately after user login and blocks all further interaction until completed.
I suspect the devices — despite being bought new and registered to me — were inadvertently enrolled into an external organization’s Apple Business Manager (ABM) and are now subject to Automated Device Enrollment (ADE) with SSO configured via Microsoft Entra ID.
My questions:
— How can I check which ABM organization a device is assigned to (via serial number, UDID, or locally on the device)?
— How can I remove a device from ABM/ADE if I have no access to that organization and am the sole legal owner of the hardware?
— Is there an official, non-destructive way to clear the forced enrollment policy without full device erasure (e.g., DFU restore)?
As a temporary workaround, I’ve added the following entries to `/etc/hosts`:
0.0.0.0 deviceenrollment.apple.com
0.0.0.0 mdmenrollment.apple.com
0.0.0.0 ipprofiles.apple.com
0.0.0.0 iprofiles.apple.com
This suppresses the enrollment prompts but also breaks legitimate MDM and configuration profile functionality.
Thank you for your support.
MacBook Pro 16″, macOS 15.7