Thank you for posting this in Microsoft Q&A.
You an try below steps,
Go to portal.azure.com > Microsoft Entra ID > Mobility (MDM and WIP) > Microsoft Intune
Set "Windows Information Protection (WIP) user scope" to "None"
Or you can try below solution as well.
This refers to some issue with the DNS service running on the machine, check if you are able to resolve to enrollment.manage.microsoft.com site.
These are mostly seen if you manage your own DNS and when the machine is not able to reach that site for some reason, I would start with DNS troubleshooting towards this.
Let me know if you have any further questions.