The Get-MgUser cmdlet (in version 2.3.0 of Microsoft.Graph.Users) does not return the isLicensed property unless you ask for it.
Replace:
Verify that the list of users from your tenant is displayed. Also take note of which users have a license assigned. Any user with the isLicensed value of False has not been assigned a license.
With:
Verify that the list of users from your tenant is displayed.
Practice Lab: Managing Identities in Azure AD
Exercise 1
Task 2
Step 9
The Get-MgUser cmdlet (in version 2.3.0 of Microsoft.Graph.Users) does not return the isLicensed property unless you ask for it.
Replace:
Verify that the list of users from your tenant is displayed. Also take note of which users have a license assigned. Any user with the isLicensed value of False has not been assigned a license.
With:
Verify that the list of users from your tenant is displayed.
-Or-
Replace the PowerShell code in step 9 with:
Get-MgUser -Property DisplayName, UserPrincipalName, AssignedLicenses, AssignedPlans, LicenseAssignmentStates, LicenseDetails | Select-Object DisplayName, UserPrincipalName, AssignedLicenses, AssignedPlans, LicenseAssignmentStates, LicenseDetails