← cd ~/licences
// licences · sku
Windows_365_S_2vCPU_4GB_64GBWindows 365 Shared Use 2 vCPU 4 GB 64 GB
Windows_365_S_2vCPU_4GB_64GB is the SKU part number Microsoft uses for Windows 365 Shared Use 2 vCPU 4 GB 64 GB. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.
| Product name | Windows 365 Shared Use 2 vCPU 4 GB 64 GB |
|---|---|
| String ID (SkuPartNumber) | Windows_365_S_2vCPU_4GB_64GB |
| GUID (SkuId) | 1f9990ca-45d9-4c8d-8d04-a79241924ce1 |
| Service plans | 1 |
Service plans included (1)
| Service plan | Name | ID |
|---|---|---|
CPC_S_2C_4GB_64GB | Windows 365 Shared Use 2 vCPU, 4 GB, 64 GB | 64981bdb-a5a6-4a22-869f-a9455366d5bc |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "Windows_365_S_2vCPU_4GB_64GB" |
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 = "1f9990ca-45d9-4c8d-8d04-a79241924ce1" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 1f9990ca-45d9-4c8d-8d04-a79241924ce1)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalName