Name and type of O365 license

Brass Contributor


How can I export number and type of license per each users?

I want to make a report (using Powershell script) to get a list of licenses on all users. 


Thanks in advance 


1 Reply
There's a built-in report you can use in the M365 admin center, where you can also export the data to CSV. You can also access the report programmatically or use any of the dozen of sample scripts available online that does the same thing - do a quick search.