← cd ~/licences
// licences · sku
Windows_365_S_2vCPU_4GB_128GBWindows 365 Shared Use 2 vCPU 4 GB 128 GB
Windows_365_S_2vCPU_4GB_128GB is the SKU part number Microsoft uses for Windows 365 Shared Use 2 vCPU 4 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 4 GB 128 GB |
|---|---|
| String ID (SkuPartNumber) | Windows_365_S_2vCPU_4GB_128GB |
| GUID (SkuId) | 90369797-7141-4e75-8f5e-d13f4b6092c1 |
| Service plans | 1 |
Service plans included (1)
| Service plan | Name | ID |
|---|---|---|
CPC_S_2C_4GB_128GB | Windows 365 Shared Use 2 vCPU, 4 GB, 128 GB | 51855c77-4d2e-4736-be67-6dca605f2b57 |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "Windows_365_S_2vCPU_4GB_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 = "90369797-7141-4e75-8f5e-d13f4b6092c1" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 90369797-7141-4e75-8f5e-d13f4b6092c1)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalName