I created a new VM (VM1) and added "AADLoginForWindows" extension to it to make sure that it is AAD joined.
The VM shows up in devices in Azure AD as AAD joined.
Then I gave "IntuneUser" the "Enterprise Mobility + Security E5" license.
In "endpoint.microsoft.com" portal I went to "Enroll devices | Windows enrolment | Automatic enrolment" and changed the MDM scope to "Some" and added "IntuneUsers" group to it.
I was expecting that after logging onto VM1 with the "IntuneUser" account, the device should auto-enrol in Intune.
But this is not happening. What can I check to resolve the issue.