SOLVED

Convert E1 to E3 via CSV and powershell

Steel Contributor

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

2 Replies

You may try and use the attached script based on TechNet site and Get-Content in Microsoft PowerShell docs.

best response confirmed by VI_Migration (Silver Contributor)
Solution

Here's a script that does just that, respecting the indivudual service status: https://blogs.technet.microsoft.com/cloudpfe/2014/01/30/how-to-change-office-365-licenses-in-bulk-re...

 

You can adapt it to work with CSV input.

1 best response

Accepted Solutions
best response confirmed by VI_Migration (Silver Contributor)
Solution

Here's a script that does just that, respecting the indivudual service status: https://blogs.technet.microsoft.com/cloudpfe/2014/01/30/how-to-change-office-365-licenses-in-bulk-re...

 

You can adapt it to work with CSV input.

View solution in original post