Forum Discussion

Marvin Oco's avatar
Marvin Oco
Steel Contributor
Oct 10, 2017
Solved

Convert E1 to E3 via CSV and powershell

Hi,

 

Currently using script below to convert E1 to E3 (per user)

 

1. Remove E1 license
Set-MsolUserLicense -UserPrincipalName juancruz@contoso.com -RemoveLicenses "contoso:STANDARDPACK"
2. Assign E3 license
Set-MsolUserLicense -UserPrincipalName "juancruz@contoso.com" -AddLicenses "contoso:ENTERPRISEPACK"

 

Is there a way to do this in bulk via a csv file?

 

thanks

Resources