Hello
Thank you for your question and reaching out. I can understand you are having issues related to Enrollment.
Intune enrollment becomes required during Azure Active Directory Join if a user is set up to automatically enroll into Microsoft Intune when a device is joined to AAD. In the event that MDM registration fails, the device won't be added to Azure AD.
Please verify that MDM scopes are set up.
To check the settings, go to Endpoint Manager admin centre > Devices > Windows > Automatic Enrollment.
Ensure user has a license assigned that enables Intune access, this is included in the following licenses:
Enterprise Mobility + Security E3
Enterprise Mobility + Security E5
Intune
Ensure that the Intune service is turned on in the license
-----------------------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept as answer--