Get-ExMailboxQuotaInfo
SYNOPSIS
Reports the effective mailbox quota of each user against the storage their licenses entitle them to, including the new 100 GB entitlement of the Microsoft 365 Business suites.SYNTAX
DESCRIPTION
Since the 2026 Microsoft 365 packaging updates (rolled out June-September 2026), Business Basic, Business Standard and Business Premium include an additional 50 GB of primary mailbox storage, bringing the entitlement from 50 GB to 100 GB. The increase is delivered through a dedicated service plan: the Business Exchange plan (BPOS_S_STANDARD) grants 50 GB, and the add-on plan EXCHANGE_STORAGE_50GB adds the other 50 GB. Both must be enabled for the mailbox to reach 100 GB. This function crosses two sources, one row per mailbox:- Exchange Online: the effective quotas (IssueWarningQuota, ProhibitSendQuota, ProhibitSendReceiveQuota)
- Microsoft Graph: the assigned SKUs and the enabled Exchange service plans of the user
- StorageAddOnNotProvisioned: Business suite license but the EXCHANGE_STORAGE_50GB plan is not enabled (disabled in the license options, or provisioning not completed yet)
- QuotaBelowEntitlement: the add-on is there but ProhibitSendReceiveQuota is still below the entitlement (custom quota set by an administrator, preserved by design, or provisioning pending)
- QuotaAboveEntitlement: ProhibitSendReceiveQuota exceeds what the current licenses entitle the user to (backfill applied on top of an already raised quota, or a 100 GB license since removed). Informational: the mailbox has more than its entitlement, not less
- EntitlementUnknown (<plans>): the user holds an Exchange service plan whose quota is not in the internal map: the row is NOT evaluated (report it so the map can be extended)
- NoExchangeLicense: user mailbox without any Exchange service plan
EXAMPLES
EXAMPLE 1
EXAMPLE 2
EXAMPLE 3
EXAMPLE 4
EXAMPLE 5
PARAMETERS
-ExportPath
(Optional) Output directory for the Excel export. Defaults to the user profile.-ExportToExcel
(Optional) If specified, exports the results to an Excel file in the user’s profile directory.-ForceNewToken
Switch parameter to force getting a new token from Microsoft Graph.-Identity
(Optional) One or more user principal names. When omitted, every user, shared, room and equipment mailbox of the tenant is evaluated.-IncludeUsage
(Optional) Also retrieves the current mailbox usage (Get-EXOMailboxStatistics): columns TotalItemSize, TotalItemSizeGB and UsagePercent (against ProhibitSendReceiveQuota). One extra call per mailbox: noticeably slower on large tenants.-OnlyIssues
(Optional) Returns only the mailboxes with a non-empty Issue column.CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.INPUTS
System.String[]
Not documented.OUTPUTS
System.Collections.Generic.List[PSCustomObject]
Not documented.System.Collections.Generic.List`1[[System.Management.Automation.PSObject, System.Management.Automation, Version=7.5.0.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]
Not documented.NOTES
OUTPUT PROPERTIES- UserPrincipalName : the mailbox owner
- DisplayName : display name of the mailbox
- RecipientTypeDetails : UserMailbox, SharedMailbox…
- ProhibitSendQuota : effective send quota reported by Exchange
- ProhibitSendReceiveQuota : effective maximum size reported by Exchange
- IssueWarningQuota : warning threshold reported by Exchange
- UseDatabaseQuotaDefaults : whether the database defaults apply
- TotalItemSize : current mailbox size (with -IncludeUsage, empty otherwise)
- TotalItemSizeGB : current mailbox size in GB (with -IncludeUsage)
- UsagePercent : TotalItemSizeGB / ProhibitSendReceiveQuota (with -IncludeUsage)
- LicenseLookupStatus : Success or UserNotFoundInGraph
- Licenses : SKU part numbers assigned to the user, or None
- ExchangeServicePlans : enabled Exchange service plans (BPOS_S_STANDARD, EXCHANGE_STORAGE_50GB…), or None
- HasBusinessSuite : the user holds Business Basic, Business Standard or Business Premium
- HasStorageAddOn : the EXCHANGE_STORAGE_50GB service plan is enabled
- ExpectedMaxQuotaGB : maximum quota the licenses entitle the user to (empty when unknown)
- Issue : StorageAddOnNotProvisioned, QuotaBelowEntitlement, QuotaAboveEntitlement, EntitlementUnknown, NoExchangeLicense, or empty (evaluated and consistent)
- User.Read.All
- Organization.Read.All