- Configure office 365 onedrive for business update#
- Configure office 365 onedrive for business license#
$Report | Export-CSV -NoTypeInformation c:\temp\OneDriveConsumption.CSV Moving Past Towards Unlimitedįive terabytes are nice, but it’s not unlimited. PercentUsed = (::Round(($Site.StorageUsageCurrent/$Site.StorageQuota),4).ToString("P")) } QuotaGB = ::Round($Site.StorageQuota/1KB,0) # And write out the information about the site $UsedGB = ::Round($Site.StorageUsageCurrent/1024,2) $SiteOwners = $Null $Process = $True $NoCheckGroup = $False $TotalOneDriveStorageUsed = ::Round(($Sites.StorageUsageCurrent | Measure-Object -Sum).Sum /1024,2) $Sites = Get-SPOSite -IncludePersonalSite $true -Limit all -Filter "Url -like '/personal/'" | Sort StorageUsageCurrent -Desc Write-Host "Fetching OneDrive site information." To report on the current OneDrive storage use and quota, you could use a modified version of our Report SharePoint Site Storage script: # Get all OneDrive sites Set-SPOSite -Identity $Site.URL -StorageQuota 5242880 } Write-Host "Setting Quote for OneDrive account:" $Site.Title $ODSites = Get-SPOSite -IncludePersonalSite $true -Limit all -Filter "Url -like '/personal/'" | Select URL, Title, StorageQuota, StorageUsageCurrent With that in mind, we can assign the new 5 TB storage quota to accounts like this: # Assign storage quota to OneDrive sites
Configure office 365 onedrive for business license#
If the account doesn’t have a license which supports the assigned quota, OneDrive will automatically downgrade the available quota to the maximum allowed by the license. The default storage quota is assigned to new accounts. Assigning New Quotas to Existing Accounts OneDrive will blithely ignore your request and the limit will stay at 5 TB. Set-SPOTenant -OneDriveStorageQuota 5242880ĭon’t bother trying to go past 5 TB.
Configure office 365 onedrive for business update#
To set a 5 TB default storage limit in PowerShell, we run: # Update SharePoint default storage quota One thing to be careful about is that the OneDrive admin center uses gigabytes to set storage quotas while the Set-SPOTenant cmdlet uses megabytes. Instead, perhaps because it doesn’t want to offend, OneDrive simply ignores the attempt to set a new storage quota and reverts to the highest possible value for the default (5 TB). You can go higher, but rather bizarrely, the OneDrive admin center doesn’t confirm that a new value is set, nor does it signal an error if you insert a higher value (like 10240 GB). As Figure 1 shows, you can increase it to 5120 GB (5 TB). The minimum default storage quota is 1024 GB (1 TB). The quota can be set in the Settings section of the SharePoint Online admin center (Figure 1) or PowerShell.įigure 1: Setting a tenant default for OneDrive for Business storage quota When someone’s Office 365 account is provisioned and the account has a OneDrive license, the account is assigned the default storage quota set by the tenant. OneDrive’s unlimited quota is practically limited by being doled out in chunks as users need storage. It’s more like an all-you-can-eat buffet where the physical capacity of the human stomach will eventually impose a practical limit. The “unlimited” tag is interesting because it implies that Microsoft will allow a properly licensed user to consume as much OneDrive for Business storage as they want, with the caveats that OneDrive “ is designed to serve the needs of individual users” and “ storage of data other than an individual user’s work files, including system back-ups and departmental and organizational level data, is not supported, nor is the assignment of a per user license to a bot, department, or other non-human entity.” Setting a Default Storage Quota for OneDriveĭocuments, files, and photos can certainly occupy a lot of storage, but “unlimited” really doesn’t mean what normal human beings might think.