Erwin Bierens

Knowledge is Power

Microsoft 365 - Assign licenses with PowerShell to users

2022-11-28 2 min read Microsoft365

During the working week i get a lot of questions about assigning licenses (mostly the Microsoft Teams Phone Standard license) to users in bulk. This can be easily resolved with PowerShell.

First logon to MSOnline, if you don’t have this module installed use: Install-Module -name MSOnline


Let’s see your active licenses


In order to assign a license to one of your users use the following cmdlet

Set-MsolUserLicense -UserPrincipalName -AddLicenses tenant:mcoev

In this example we’ve assigned the Microsoft Teams Phone Standard license to the user.

Continue reading