Link to home
Start Free TrialLog in
Avatar of Mahesh babu
Mahesh babu

asked on

List of all licensed users without error

We have more than 1.5L users, and I want to get the list of all licensed o365 users in our tenant (more than 1,50,000), how can I get it without error?
Avatar of James Bunch
James Bunch
Flag of United States of America image

You can export your user list from Admin Center and then bring it into a CSV file and from there find and replace those items that are unlicensed.

Or you can connect a powershell to your tenant and from there run a query to export to a text file but this is more clunky.
Avatar of Mahesh babu
Mahesh babu

ASKER

I just executed:
(Get-MsolUser -All | Where-Object { $_.isLicensed -eq “TRUE” } ).count


let's see if this works
ASKER CERTIFIED SOLUTION
Avatar of Mahesh babu
Mahesh babu

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial