Issue: User License Type Invalid.
Cause: The user who is trying to enroll the device does not have a valid Intune license.
Go to the Microsoft 365 admin center, and then choose Users> Active Users.
Select the affected user account > Product licenses> Edit.
Verify that a valid Intune license is assigned to this user.
Re-enroll the device.
User Name Not Recognized. This user account is not authorized to use Microsoft Intune. Contact your system administrator if you think you have received this message in error.
Email: email@example.com, firstname.lastname@example.org
Follow us: https://www.linkedin.com/in/hiraniconfigmgr