Summary: Use Windows PowerShell to get a list of users who are licensed in Office 365.
How can I get a list of all users that are licensed in Office 365?
Use the Get-Msoluser cmdlet from the MSOnline module and filter on the IsLicensed property:
Get-Msoluser | Where { $_.Islicensed }