SOLVED

Powershell command to check all the users who have office pro plus license assigned

Copper Contributor
I am in search of a powershell customized command by which we can list the office 365 users who has pro plus licenses assigned
5 Replies
please see the following link for reference:

https://docs.microsoft.com/en-us/office365/enterprise/powershell/view-licenses-and-services-with-off...

If you need more help building it I can be of assistance later on!! On a flight right now :)

Adam
best response confirmed by Kashu855 (Copper Contributor)
Solution

Here's a quick example you can use to find any users assigned a given plan/service:

 

Get-MsolUser  | ? {$_.Licenses.ServiceStatus | ? {$_.ServicePlan.ServiceName -eq "OFFICESUBSCRIPTION" -and $_.ProvisioningStatus -eq "Success"}}

 

To get the corresponding ServiceName, use this document: https://docs.microsoft.com/en-us/azure/active-directory/active-directory-licensing-product-and-servi...

Thank you for your help and assistance. I have already followd the article and it only shows the detailed service status but i want to list only those users who has pro plus license assigned..
I hope you understand this.
If you could assist me creating a command i would greatly appreciate this.
Thank you for your help.
The command worked just fine.
Thanks again

@Kashu855 

 

Hello, what powershell command did you use to check for users with Office Pro Plus licenses assigned?

 

Thank-you.

1 best response

Accepted Solutions
best response confirmed by Kashu855 (Copper Contributor)
Solution

Here's a quick example you can use to find any users assigned a given plan/service:

 

Get-MsolUser  | ? {$_.Licenses.ServiceStatus | ? {$_.ServicePlan.ServiceName -eq "OFFICESUBSCRIPTION" -and $_.ProvisioningStatus -eq "Success"}}

 

To get the corresponding ServiceName, use this document: https://docs.microsoft.com/en-us/azure/active-directory/active-directory-licensing-product-and-servi...

View solution in original post