Office 365 Script: Assign Office 365 licenses

So, you have some users that are now using Office 365, and you need to assign licenses to those users. The following script will enable you to license the users by referencing a CSV file, by identifying all unlicensed users, or by identifying only those users that need license reconciliation. If you have migrated some users, but not all, then you may want to use the option to license only those that require license reconciliation so that you do not assign a license to everyone. If, however, you want to license everyone at once (that does not already have a license), then you may want to use the option to license all unlicensed users. In order for the script to work, you will need to download and install the Microsoft Online Services Module for Windows PowerShell.

Read the help information for details on how to execute the script.

Get-help .\SetMsolUserLicense_AddLicense.ps1 -full

A copy of the script can be downloaded by clicking on the link below.

 

SetMsolUserLicense_AddLicense.ps1