Knowledge Base

Addressing exceeded quota problem in Exchange Server

Problem:

You have been reported the following error in Exchange Sync logs:

Error: Failed to copy an item "<item_name>" to folder "<folder_name>". Failed to save changes. MAPI_E_CALL_FAILED(0x80004005). 

Solution:

If you see this error logged by CodeTwo Exchange Sync, probably one or more of the Exchange mailboxes’ or Public Folders’ quotas have been exceeded. However the error may not explicitly point to the quota issue. If you are not sure which quota has been exceeded just extend RPC logging of your Exchange server to verify that. After changing the logging mode you will see a following error string inside the RPC log: [QuotaExceededException] in the case any quota has been exceeded.

To extend RPC logging on your Exchange server please be guided with the following KB article.

Once you confirm the error is associated with the exceeded quota, change it in your Exchange Server configuration.

Exchange Server 2013 mailboxes

  1. Log in to Exchange Admin Center (ECP).
  2. Select the Recipients tab and next choose Mailboxes from the top ribbon.
  3. Select a desired user and hit Edit 497-6 
  4. In the new window select Mailbox Usage.
  5. You will be displayed information about the actual mailbox size and usage (Fig. 1.):

    497-7
    Fig. 1. Mailbox size and usage.

  6. To change the Quota, click the More options button.
  7. Out of two options, choose the second one (Customize…) and apply new values meeting the requirements (Fig. 2.), i.e.:

    497-8
    Fig. 2. Mailbox quotas for Exchange 2013.

    Pay a special attention to Issue a warning at parameter to be set lower than next two parameters. The values above are only an example and you need to apply own that meet your requirements.
  8. Hit the Save button to apply changes.
  9. Create a new item in the source folder and check if it was synchronized. Also, review the log files to see if there are no new errors logged.

Exchange Server 2010 mailboxes

  1. Open 497-9 Exchange Management Console.
  2. Browse the main tree in the Microsoft Exchange On-Premises/Recipient Configuration/Mailbox (Fig. 3.):

    497-4
    Fig. 3. EMC Recipient Configuration.

  3. Select and double click on the desired mailbox in the users list.
  4. In the new window select the Mailbox Settings tab and double click the Storage Quotas (or select it and click Properties - Fig. 4.):

    497-1
    Fig. 4. Mailbox settings for Exchange 2010.

  5. In the next window uncheck “Use mailbox database defaults” and check the following options:
    1. Issue warning at (MB)
    2. Prohibit send at (MB)
    3. Prohibit send and receive at (MB)

      497-2
      Fig. 5. Mailbox quotas for Exchange 2010.

      For each option apply your own values, paying a special attention to Issue a warning at parameter that should be lower than next two parameters.  All the values above are just examples and you need to provide your own.
  6. Hit the OK button to apply changes.
  7. Create a new item in the source folder and check if it was synchronized. Also, review the log files to see if there are no new errors logged.

Exchange Server 2013 public folders

  1. ​​Log on to Exchange Admin Center (ECP).
  2. Select public folders in the main ribbon.
  3. In the right hand side panel make sure public folders section is selected. If not, select it.
  4. On the mailbox list, choose the public folder to be changed and click on Edit option 497-6
  5. In the new window select Limits option.
  6. Uncheck “Use organization quota defaults” and check the following options (Fig. 6.):

    497-10
    Fig. 6. Public Folders quotas for Exchange 2013.

    For each option apply own values, paying a special attention to Issue a warning at parameter that should be lower than next two parameters.  All the values above are just examples and you need to provide own meeting your particular requirements.
  7. Hit the Save button to apply changes.
  8. Force the synchronization process adding an item in the source folders to verify if now it synchronizes well. From now on there also should be no error message in the program logs.

Exchange Server 2010 public folders

  1. Open 497-9 Exchange Management Console .
  2. Under the Exchange On-Premises tree select Toolbox branch.
  3. On the right hand side panel double click on Public Folder Management Console.
  4. In the new window select the desired folder and with a right click option choose Properties (Fig. 7.):

    497-5
    Fig. 7. Accessing Public Folders quota settings for Exchange 2010.

  5. In the next window showing up select Limits tab (Fig. 8.):

    497-3
    Fig. 8. Public Folders quotas for Exchange 2010.

    For each option apply own values, paying a special attention to Issue a warning at parameter that should be lower than next two parameters. Please note, that first two parameters are given in MB and the last one in KB.  All the values above are just examples and you need to provide you own.