@Amandeep Dua, Thanks for posting in Q&A. In Fact, DEM enrollment is mainly used for the devices are good for point-of-sale or utility apps, but not for users who need to access email or company resources.
For your situation, windows device can choose other enrollment method like:
Automatic enrollment via MDM: Joins the device with Azure Active Directory and enables users to sign in to Windows with their Azure AD credentials. If Auto Enrollment is enabled, the device is automatically enrolled in Intune.
Windows Autopilot: Set up and pre-configure new devices, getting them ready for productive use
https://learn.microsoft.com/en-us/mem/intune/fundamentals/deployment-guide-enrollment-windows
For MacOS device, you can choose ADE enrollment. Here is a link with more details for your reference:
https://learn.microsoft.com/en-us/mem/intune/fundamentals/deployment-guide-enrollment-macos
Hope the above information can help.
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.