← cd ~/licences
// licences · sku
SHAREPOINTSTORAGEOffice 365 Extra File Storage
SHAREPOINTSTORAGE is the SKU part number Microsoft uses for Office 365 Extra File Storage. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.
| Product name | Office 365 Extra File Storage |
|---|---|
| String ID (SkuPartNumber) | SHAREPOINTSTORAGE |
| GUID (SkuId) | 99049c9c-6011-4908-bf17-15f496e6519d |
| Service plans | 1 |
Service plans included (1)
| Service plan | Name | ID |
|---|---|---|
SHAREPOINTSTORAGE | Office 365 Extra File Storage | be5a7ed5-c598-4fcd-a061-5e6724c68a58 |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "SHAREPOINTSTORAGE" |
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 = "99049c9c-6011-4908-bf17-15f496e6519d" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 99049c9c-6011-4908-bf17-15f496e6519d)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalName