@Dion Staring, Thanks for posting in Q&A. For the error, you can try the following steps to see if it can fix the issue:
- Disable windows Firewall on the affected device.
- Enable Automatic Enrollment MDM user scope as ALL and Windows information Protection user scope as None.
- Try to download the latest Company Portal.
- Check if the user has both Microsoft Intune and Microsoft Entra ID license assigned to.
- Remove registry keys under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Enrollments
After that, enroll the device to see if it can work.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.