← cd ~/licences
// licences · sku
WACONEDRIVEENTERPRISEOneDrive for Business (Plan 2)
WACONEDRIVEENTERPRISE is the SKU part number Microsoft uses for OneDrive for Business (Plan 2). You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.
| Product name | OneDrive for Business (Plan 2) |
|---|---|
| String ID (SkuPartNumber) | WACONEDRIVEENTERPRISE |
| GUID (SkuId) | ed01faf2-1d88-4947-ae91-45ca18703a96 |
| Service plans | 2 |
Service plans included (2)
| Service plan | Name | ID |
|---|---|---|
ONEDRIVEENTERPRISE | ONEDRIVEENTERPRISE | afcafa6a-d966-4462-918c-ec0b4e0fe642 |
SHAREPOINTWAC | OFFICE ONLINE | e95bec33-7c88-4a70-8e19-b10bd9d0c014 |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "WACONEDRIVEENTERPRISE" |
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 = "ed01faf2-1d88-4947-ae91-45ca18703a96" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq ed01faf2-1d88-4947-ae91-45ca18703a96)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalName