Saturday, April 23, 2016

Guide on How To Set Mailbox Limits In Office 365

Office 365 provides its users with 25 MB of mailbox storage for storing their data. However, if users want to manipulate the storage limit then they can do it by running the discussed commands in Windows PowerShell on their machine.
There is no cost required for doing the manipulation of size limit. In today’s scenario, the 25 MB storage can be increased into any size limit easily without paying any cost.
So we are going to discuss about how to set mailbox limits in Office 365.


  1. Go to Start >> All Programs >> Accessories >> Windows PowerShell >> Windows PowerShell 
  2. An Administrator Windows PowerShell window will display.
  3. In the window write and execute the following command
    Set-ExecutionPolicy RemoteSigned 
  4. After execution of the command an Execution Policy Change message will appear in which you will have to decide that do you want to make changes or not. To continue the procedure type Y and press Enter
  5. To start up with connection of Exchange Online service, Run the following command
    $UserCredential = Get-Credential 
  6. After running the command, a Window PowerShell Credential Request dialog box will appear. Type your Office 365 user id and Password in it & click OK
  7. After mentioning your credentials in dialog box, execute the following command
    $Session = New-PSSession –ConfigurationName Microsoft.Exchange –ConnectionUri -Credential $UserCredential –Authentication Basic –AllowRedirection 
  8. For importing commands from other session into current session, run the following command in PowerShell window
    Import-PSSession $Session 
  9. To know how to set mailbox limits in Office 365, run the following command
    Set-Mailbox -ProhibitSendQuota -ProhibitSendReceiveQuota -IssueWarningQuota
  10. NOTE: In mention the User ID of Office 365 account and in mention the size according to the parameters (in MB, KB, or GB).
    For Example:
    Set Mailbox –ProhibitSendQuota 29GB -ProhibitSendReceiveQuota 30GB -IssueWarningQuota 28GB
  11. For checking the current session list run the following command
    Get-Mailbox | Select *quota | Select *quota 
  12. Up to step 10, the mailbox size limit has been setup now it is time to terminate the PowerShell. However, before you terminate the PowerShell window disconnect the session that you have established in Step 8. For the termination of the session execute the following command:
    Remove-PSSession $Session 


The procedure above shows how to set mailbox limits in office 365. However, remember one thing that if Office 365 customers have customized their settings to 1 GB, then sending and receiving large mails will be up to 1 GB. Therefore, be careful at the time of performing manipulation operation on storage limit in Office 365.


Post a Comment

Post a reply