Office 365 User and License Report
The following will generate a report of all licensed users in Office 365. You will have to connect to Office 365 PowerShell environment prior to being able to run this script to generate your report.
The following will generate a report of all licensed users in Office 365. You will have to connect to Office 365 PowerShell environment prior to being able to run this script to generate your report.
Get-MSOLUser -All | select userprincipalname,islicensed,{$_.Licenses.AccountSkuId} | Export-CSV c:\userlist.csv -NoTypeInformation
Leave a reply
Posted by Admin on November 13, 2017