nav2567
asked on
Powershell script to return the Office 365 license location.
Is it possible to have a PS command to read a CSV file (contains list of UPNs) and returns the product licenses LOCATION of each account?
ASKER
I think I tried something similar but mine only returns the license type but no license location (France/US/....).
Let me try yours. Thx
Let me try yours. Thx
Not sure what you mean by license location. Perhaps the UsageLocation attribute?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Get-MSOLUser -All | select userprincipalname,islicens
For more info
Office 365: Script to get detailed report of assigned licenses