License & Subscription Issues

Enable Skype for Business License Options in Bulk with Microsoft 365 PowerShell

Adam DavisAdam Davis Nov 25, 2026 868 views

Question details

An administrator wants to enable the Skype for Business service plan for multiple users who already have an Office 365 Education license.

Enable Skype for Business License Options in Bulk with Microsoft 365 PowerShell
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.
Before you start

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.

Solution 1Recommended

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.

1
Install and connect to Microsoft Graph

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.

2
Identify the SKU and service plan

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.

3
Prepare the user list

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.

4
Update the existing license options

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" } }

5
Verify the results

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.

Update directly assigned license options with Microsoft Graph PowerShell
Original MSOnline approach: For the retired MSOnline module, the original correction was to remove -AddLicenses from Set-MsolUserLicense when updating LicenseOptions for an already assigned license. Microsoft Graph uses different parameters.
Free Microsoft Office alternative

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.

Review CSV user lists in a spreadsheet before running a bulk license updateCompatible with Microsoft Excel XLSX, Word DOCX, and PowerPoint PPTX filesFamiliar interface for a straightforward move from Microsoft OfficeFree, lightweight tools for everyday office work
microsoft office alternative - wps office

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.