This article describes considerations for migrating mailboxes with quotas enabled.
Mailbox quotas are stored in 4 Active Directory attributes:
| Exchange Option | AD Attribute | Value |
|---|---|---|
| Issue Warning at (KB) | mDBStorageQuota | Quota in KB |
| Prohibit Send at (KB) | mDBOverQuotaLimit | Quota in KB |
| Prohibit Send and Receive at(KB) | mDBOverHardQuotaLimit | Quota in KB |
| Use Mailbox Database Defaults | mDBUseDefaults | True - use store settings False - use per user Settings See: Important note |
The Directory Sych (DSA) will synchronize all 4 of these attributes by default.
Important note: It has been observed that how mDBUseDefaults is interpreted when it is differs between Exchange versions. Exchange 2007 and 2010 will treat it as equivalent to TRUE whereas Exchange 2013 will treat it as FALSE.
Some points to remember:
If you need to reset a users quota, the following powershell command will work (note you can replace unlimited with a quota size in KB):
Set-Mailbox -UseDatabaseQuotaDefaults:$False -issuewarningQuota “UNLIMITED” -ProhibitSendQuota “UNLIMITED” -ProhibitSendReceive “UNLIMITED”
to retrieve users not using database defaults
get-mailbox -filter {usedatabasequotadefaults -eq $false -AND recipientTypeDetails -eq 'usermailbox'}
Cmdlet to set/remove use storage defaults
get-mailbox -filter { usedatabasequotadefaults -eq $false -AND recipientTypeDetails -eq 'usermailbox'} | set-mailbox -UseDatabaseQuotaDefaults $true/$false