Enable Skype for Business License Options in Bulk with Microsoft 365 PowerShell
Question details
An administrator wants to enable the Skype for Business service plan for multiple users who already have an Office 365 Education license.

- Product
- Microsoft 365 and Skype for Business Online
- Device & OS
- not provided
- Scenario
- Update an existing license's service-plan options for users listed in a CSV file.
- Observed behavior
- The users already have the relevant license assigned, so the administrator needs to change its service-plan options rather than assign another license.
Skype for Business Online was retired in 2021, so enabling a license option will not restore that service; consider Microsoft Teams for online communications. Check whether the relevant service plan still appears in your subscription and whether each license is assigned directly or through a group.
Update directly assigned license options with Microsoft Graph PowerShell
Use this method to update an existing service-plan setting for users with directly assigned licenses, while preserving their other disabled plans.
The older MSOnline PowerShell module and its Connect-MsolService and Set-MsolUserLicense commands are retired. In Microsoft Graph, the AddLicenses parameter can update the disabled plans on an existing SKU; it does not mean you must assign a second copy of the license.
This changes license configuration only. It cannot bring back Skype for Business Online.
In PowerShell, run Install-Module Microsoft.Graph if needed, then run Connect-MgGraph -Scopes 'Organization.Read.All','User.Read.All','LicenseAssignment.ReadWrite.All'. Sign in with an account authorized to manage licenses and grant the requested consent.
Run Get-MgSubscribedSku -All | Select-Object SkuPartNumber,SkuId to find the Education SKU. Set $sku = Get-MgSubscribedSku -All | Where-Object SkuPartNumber -eq 'YOUR_SKU_PART_NUMBER', then run $sku.ServicePlans | Select-Object ServicePlanName,ServicePlanId. Note the Skype for Business plan ID if it is present.
Create a CSV file such as C:\users.csv with a UserPrincipalName header and one user sign-in name per row. The script skips users whose SKU is missing or has a group-based assignment; handle those users separately.
Replace YOUR_SERVICE_PLAN_ID and the CSV path, then run: $planId = [guid]'YOUR_SERVICE_PLAN_ID'; Import-Csv 'C:\users.csv' | ForEach-Object { $u = Get-MgUser -UserId $_.UserPrincipalName -Property 'assignedLicenses,licenseAssignmentStates'; $states = @($u.LicenseAssignmentStates | Where-Object { $_.SkuId -eq $sku.SkuId }); $license = @($u.AssignedLicenses | Where-Object { $_.SkuId -eq $sku.SkuId }) | Select-Object -First 1; if ($license -and $states.Count -gt 0 -and -not ($states | Where-Object { $_.AssignedByGroup })) { $disabled = @($license.DisabledPlans | Where-Object { $_ -ne $planId }); Set-MgUserLicense -UserId $u.Id -AddLicenses @(@{SkuId=$sku.SkuId; DisabledPlans=$disabled}) -RemoveLicenses @() } else { Write-Warning "Skipped $($_.UserPrincipalName): check license assignment" } }
Run Get-MgUserLicenseDetail -UserId 'user@example.com' and inspect the service plans for a sample user. Review PowerShell warnings and errors, then check skipped users' license assignments in the Microsoft 365 admin center.

Review group-based license options in the Microsoft 365 admin center
Use the group licensing settings when the user's license is inherited from a group instead of assigned directly.
Manage Your User List with WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface and support for common Microsoft Office formats, making it easier to move everyday document and spreadsheet work. Use WPS Spreadsheets to review a CSV user list; Microsoft 365 license changes still require Microsoft administration tools.

Frequently Asked Questions
Can I still enable Skype for Business Online for Microsoft 365 users?
Skype for Business Online was retired in 2021. Changing a license option cannot restore it; review Microsoft Teams licensing and migration options instead.
Why does the Graph command use AddLicenses for an existing license?
Set-MgUserLicense uses AddLicenses to submit the SKU and its updated DisabledPlans list, including when the SKU is already assigned. Preserve the other disabled plan IDs so you do not unintentionally enable other apps.
Where can I find the service plan ID?
In Microsoft Graph PowerShell, select the subscription with Get-MgSubscribedSku, then inspect its ServicePlans property for the plan name and ServicePlanId. If the plan is absent, there is no matching option in that SKU to update.
What if a user's license comes from a group?
Review the group's product and app settings in the Microsoft 365 admin center under Billing > Licenses. A group setting affects users who inherit that license, so check the impact before saving.
Can WPS Office make the Microsoft 365 license change?
No. WPS Spreadsheets can help you review the CSV user list, but use Microsoft Graph PowerShell or the Microsoft 365 admin center to manage licenses.




