Thank you for posting your query on Microsoft Q&A, from above description I could understand that you are trying to enroll a windows server VM to Intune followed by Entra ID joining them.
Please do correct me if this is not the ask.
Kindly share what documentation are you following to achieve this:
Please ensure the following pre-requisites are met:
- To onboard a windows server OS to Intune you must use configuration manager client as automatic enrollment without client is not supported on Windows server:
- For Entra ID joining a server OS it must be a Windows Server 2019 and newer Virtual Machines running in Azure (Server core isn't supported).
If you don't have any further queries and the suggestion works as per your business need. Please "Accept the answer (Yes)" and "share your feedback ". This will help us and others in the community as well.
Thanks,
Akshay Kaushik