This is a Powershell script to get a list of users in the organization who are not blocked for signing in but does not have any license assigned.
- If
AzureAD
module is not yet installed, start Powershell with administrative permissions. - Use the command
'.\Get Unlicensed and Unblocked Users.ps1'