Sometimes when you want to enroll an endpoint into Intune you can get some errors about the terms of use url.
“looks like we can’t connect to the URL for your organization’s MDM terms of use. Try again, or contact your system administrator with the problem information from this page”
When you get this error you have to remove previous enrollments from the registry path “HKLM\Software\Microsoft\Enrollments”
The key you have to remove must have look like the screenshot below