← cd ~/licences
// licences · sku
Windows_365_S_2vCPU_8GB_256GBWindows 365 Shared Use 2 vCPU 8 GB 256 GB
Windows_365_S_2vCPU_8GB_256GB is the SKU part number Microsoft uses for Windows 365 Shared Use 2 vCPU 8 GB 256 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 256 GB |
|---|---|
| String ID (SkuPartNumber) | Windows_365_S_2vCPU_8GB_256GB |
| GUID (SkuId) | 2eaa4058-403e-4434-9da9-ea693f5d96dc |
| Service plans | 1 |
Service plans included (1)
| Service plan | Name | ID |
|---|---|---|
CPC_S_2C_8GB_256GB | Windows 365 for Shared Use 2 vCPU, 8 GB, 256 GB | 50ef7026-6174-40ba-bff7-f0e4fcddbf65 |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "Windows_365_S_2vCPU_8GB_256GB" |
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 = "2eaa4058-403e-4434-9da9-ea693f5d96dc" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 2eaa4058-403e-4434-9da9-ea693f5d96dc)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalName