Thank you for post!
You can 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.
Hope this helps. Do let us know if you any further queries.
Thanks,
Akhilesh.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.