Commands › SharePoint Online

Set-SPOGeoStorageQuota

SharePoint Online Microsoft.Online.SharePoint.PowerShell Set-*

This cmdlet sets the storage quota on a multi-geo tenant.

Quick start script

# Set-SPOGeoStorageQuota — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-SPOService -Url https://$org-admin.sharepoint.com

# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-SPOGeoStorageQuota
$before | Format-List

# 3. Make the change
Set-SPOGeoStorageQuota -GeoLocation <String> -StorageQuotaMB <Int64>

# 4. Verify and diff
$after = Get-SPOGeoStorageQuota
Compare-Object ($before | Out-String) ($after | Out-String)

Syntax

Set-SPOGeoStorageQuota -GeoLocation <String> -StorageQuotaMB <Int64> [<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-GeoLocation String yes The desired Geo Location to set.
-StorageQuotaMB Int64 yes SharePoint Online Storage Quota in MegaBytes.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.