← cd ~/licences
// licences · sku
Windows_365_S_2vCPU_4GB_256GBWindows 365 Shared Use 2 vCPU 4 GB 256 GB
Windows_365_S_2vCPU_4GB_256GB is the SKU part number Microsoft uses for Windows 365 Shared Use 2 vCPU 4 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 4 GB 256 GB |
|---|---|
| String ID (SkuPartNumber) | Windows_365_S_2vCPU_4GB_256GB |
| GUID (SkuId) | 8fe96593-34d3-49bb-aeee-fb794fed0800 |
| Service plans | 1 |
Service plans included (1)
| Service plan | Name | ID |
|---|---|---|
CPC_S_2C_4GB_256GB | Windows 365 Shared Use 2 vCPU, 4 GB, 256 GB | aa8fbe7b-695c-4c05-8d45-d1dddf6f7616 |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "Windows_365_S_2vCPU_4GB_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 = "8fe96593-34d3-49bb-aeee-fb794fed0800" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 8fe96593-34d3-49bb-aeee-fb794fed0800)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalName