Forum Discussion
Marvin Oco
Oct 10, 2017Steel Contributor
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
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-respecting-the-license-options/
You can adapt it to work with CSV input.
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-respecting-the-license-options/
You can adapt it to work with CSV input.
- Aljohn BonifacioSteel Contributor
You may try and use the attached script based on TechNet site and Get-Content in Microsoft PowerShell docs.