Office 365 -add Teams trial to all users

If you add the Office 365 Teams trail to you tenant, and you will like to give that license to all users, this is the command you can run:

New-MsolLicenseOptions -accountskuid aarhuslo:TEAMS_COMMERCIAL_TRIAL
Get-AzureADUser | where {$_.UserPrincipalName -like "*@Domain.prefix*"} | Set-MsolUserLicense -AddLicenses $x

Leave a Reply

Your email address will not be published. Required fields are marked *