Microsoft 365 Mailbox Quota Management with PowerShell

A woman holds her phone up in front of her face while a gray-bearded colleague in a tie looks at a laptop in a busy office.
AI-generated illustration

Updated November 14, 2026 with AI assistance. Vendor references are linked below. Command examples require review for your environment.

Check the licensed limit first

Exchange Online primary-mailbox capacity depends on the mailbox type and assigned license. Common licensed ceilings are 50 GB or 100 GB; use the current service limits for the actual subscription. Setting a quota above the licensed ceiling does not buy more storage. Archive capacity, including eligible auto-expanding archives, is separate from the primary mailbox.

Inspect the mailbox

Install-Module ExchangeOnlineManagement -Scope CurrentUser
Connect-ExchangeOnline
Get-EXOMailbox -Identity "[email protected]" -Properties IssueWarningQuota,ProhibitSendQuota,ProhibitSendReceiveQuota |
  Format-List DisplayName,IssueWarningQuota,ProhibitSendQuota,ProhibitSendReceiveQuota
Get-EXOMailboxStatistics -Identity "[email protected]" |
  Format-List TotalItemSize,ItemCount

Set thresholds within the actual capacity

The following example uses a warning at 45 GB, a send restriction at 48 GB and a send/receive restriction at 50 GB. It is appropriate only after confirming that the mailbox supports these thresholds and that the user’s current size and business requirements permit them. For a 100 GB licensed mailbox, choose thresholds within that ceiling instead. Never use 105 GB, 155 GB or Unlimited as a way to bypass service limits.

Set-Mailbox -Identity "[email protected]" -IssueWarningQuota 45GB -ProhibitSendQuota 48GB -ProhibitSendReceiveQuota 50GB -WhatIf

Handle growth deliberately

Review retention and archive eligibility before removing content. Lowering a quota below current usage can restrict mail flow. Preview, approve and test a small set of mailboxes before bulk changes; keep an export of the original settings. These examples require Exchange permissions and do not establish that every mailbox can use the same quota.

Sources