get inactive users with license in powershell

Copper Contributor

Dear all !

 

how to get inactive users with 365 license in powershell

 

and thanks

1 Reply
Use the Active users report: https://admin.microsoft.com/Adminportal/Home?#/reportsUsage/LicenseActivity
You can hit the Choose columns button to add licensing information.