← cd ~/licences
// licences · sku
Windows_365_S_2vCPU_8GB_128GBWindows 365 Shared Use 2 vCPU 8 GB 128 GB
Windows_365_S_2vCPU_8GB_128GB is the SKU part number Microsoft uses for Windows 365 Shared Use 2 vCPU 8 GB 128 GB. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.
| Product name | Windows 365 Shared Use 2 vCPU 8 GB 128 GB |
|---|---|
| String ID (SkuPartNumber) | Windows_365_S_2vCPU_8GB_128GB |
| GUID (SkuId) | 2d21fc84-b918-491e-ad84-e24d61ccec94 |
| Service plans | 1 |
Service plans included (1)
| Service plan | Name | ID |
|---|---|---|
CPC_S_2C_8GB_128GB | Windows 365 for Shared Use 2 vCPU, 8 GB, 128 GB | 057efbfe-a95d-4263-acb0-12b4a31fed8d |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "Windows_365_S_2vCPU_8GB_128GB" |
Select-Object SkuPartNumber, ConsumedUnits, @{ n = "Purchased"; e = { $_.PrepaidUnits.Enabled } }Assign it to a user
For more than a handful of people, use group-based licensing instead. The user needs a usage location set first.
Connect-MgGraph -Scopes "User.ReadWrite.All"
Set-MgUserLicense -UserId "jane.doe@contoso.com" `
-AddLicenses @{ SkuId = "2d21fc84-b918-491e-ad84-e24d61ccec94" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 2d21fc84-b918-491e-ad84-e24d61ccec94)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalName