![]() To export all licensed users in Office 365, run the script as follows. 1.Export all Licensed Users in Office 365: You can choose any one of the below methods based on your need. You can use this script to either export all licensed users or export list of licensed users in Office 365. Office 365 User License Report with MS Graph – Execution Methods: If you are not sure about the answer, you can check Office 365 subscription expiry date report. Note: As an admin, it’s essential to know when your subscriptions are going to expire or when Microsoft will charge for renewal. The simple Office 365 user license report contains user’s Display Name, User Principal Name, and Friendly-name of assigned license with their respective services. Detailed Office 365 User License Report:ĭetailed Office 365 users’ assigned license report contains user’s Display Name, User Principal Name, License Plan, Friendly-name of License Plan, Service Name, Friendly-name of Service, and Service Status. Office 365 License Report – Sample Outputs:Įxported report shows list of licensed users and their assigned licenses. One with the detailed report of O365 Licensed users another with the simple details. The script can be executed with MFA enabled account too.License Name is shown with its friendly name like ‘Office 365 Enterprise E3’ rather than ‘ENTERPRISEPACK’.You can choose to either “export license report for all office 365 users” or pass an input file to get license report of specific users alone.Exports Office 365 user license report to CSV file.It can be executed with certificate-based authentication (CBA) too.The script uses MS Graph PowerShell and installs MS Graph PowerShell SDK (if not installed already) upon your confirmation.Download Script: O365UserLicenseReport Script Highlights: So! Let’s jump into the script right away. It reports all licensed users with their country, assigned licenses, services, and its status. We have created a PowerShell script that will get you the detailed license usage report covering all the above cases. License subscription names are not user-friendly by default.Some services might be enabled or disabled based on user needs. ![]() A user might not have access to all services.Each license gives access to a set of services. ![]() If the required data is not available in the cmdlet, you need to use Microsoft Graph beta module cmdlet Get-MgBetaUser. So, you need to switch to MS Graph PowerShell and the Get-MgUser cmdlet. Msol PowerShell module is under deprecation. ![]() Get-Msoluser will get the details of all Office 365 users and Where condition used to filter out licensed users alone.ĭo you think it’s easy? Definitely not! Because we need to consider following things before jumping right away. To manage Office 365 licenses, you can use PowerShell commands. Using the O365 admin portal, you can get user’s license information, but you need to click each user to know about their license subscriptions and service status which is a cumbersome task. As an Office 365 Administrator, often you are in the situation to get all licensed users with their assigned licenses and services. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |