Table of Content
    Exchange to Office 365

    How to Fix Error “Mailbox size exceeds target quota” while Migrating to Cloud?


    Table of Content

      Summary: While migrating to Office 365, you may encounter an error “mailbox size exceeds target quota.” In this post, you’ll learn some troubleshooting tips to resolve the issue. Also, you’ll get to know about an Exchange Migration tool that can directly migrate mailboxes from on-premises Exchange to Office 365, without any issue.

      Exchange Server on-premises to Office 365 migrations are happening a lot, specifically in small and medium businesses. However, migrations can be a headache, especially when you have issues. Also, you have to ensure the consistency of data and confirm that all the data has been migrated with no loss. Sometimes, you encounter issues during migration. One of the common issues is the quota error. This can happen to specific or all the users.

      Error: Mailbox size 6.527 GB (6,834,336,719 bytes) exceeds target quota 2 GB (2,147,483,648 bytes).

      The error is quite straightforward. You can see that the quota has been exceeded for the specific migration.

      Investigate Following to Troubleshoot ‘Mailbox size exceeds target quota‘ Issue

      1. Check if the mDBUseDefaults attribute is enabled

      This can be checked from the on-premises Exchange Server or the Active Directory server by using the Active Directory Users and Computers. For this,

      • Open the Administrative Tools.
      • Open the Active Directory Users and Computers.

      Here you need to change the view to Advanced to see the object’s attributes. To do so, follow these steps:

      • Click on View.
      • Click on Advanced Features.
      advance features active directory and computers
      • Find the affected user, right-click on it, and select Properties. In the Properties window, click on the Attribute Editor tab.
      attribute editor
      • Find the mDBUseDefaults attribute and make sure the value is FALSE. This can be done by highlighting the attribute and clicking on the Edit button.
      mDBUseDefaults set to false
      • Click on False.
      • Click on OK.
      choose false boolean  attribute editor

      After this action, retry the import of the mailbox.

      • Migrate the affected mailbox to another database on on-premises Exchange Server
        • Once you have loaded the Exchange Admin Center (EAC) and logged in with the necessary user, click on recipients and then click on migration.
      exchange admin center migration
      • Click on the arrow near the + button and click on Move to a different database.
      • Select the users to move and click Next.
      • Give the migration a name in the new migration batch name button.
      • Select if you are moving just the mailbox, archive, or both.
      • Select the target database where you want to move the mailbox and the target archive database for the mailbox archive.
      move primary mailbox and archive mailbox

      Once this is done, retry the mailbox import.

      • Check if there is any limit on actual mailbox in Office 365 environment

      This can be checked using the command Get-Mailbox (as given below). This will list any quotas that might be imposed on the mailbox/s. This would need to be done after you connect to the Exchange Online PowerShell.

      Get-Mailbox <email address> | FL

      This will show all the details of the mailbox. Some of the fields to look into are:

      • Issuewarningquota
      • Prohibitsendquota
      • Prohibitsendreceivequota

      If there is a quota set on the mailbox, you can use the Set-Mailbox command in the Exchange Online PowerShell to increase the quota accordingly (see the below example).

      Set-mailbox <email address> -prohibitsendquota <size in GB example 10GB> -prohibitsendreceivequota <size in GB example 10GB> -issuewarningquota <size in GB example 10GB>
      • Check the subscription and license assigned to the user

      If you have an Office 365 Business Basic and Standard, the limit is 50 GB. The Enterprise licenses have a limit of 100 GB and the smaller subscriptions have a 2 GB of size limit.

      Wrap Up

      Working with Exchange Server is great. However, migration to Office 365 can be a little bit troublesome. Therefore, it is important to plan well and see all the possibilities to ensure a smooth migration. Things can go bad if there is no planning and the consequences could be devastating to the business.

      To avoid complications associated with complex hybrid migrations or manual interventions, Stellar Migrator for Exchange offers a simple and reliable alternative. This powerful tool facilitates smooth and direct migration from on-premises Exchange Server (from Exchange 2010 to 2019) to Office 365 or another live Exchange environment. With Stellar Migrator for Exchange, you can perform bulk mailbox migrations with ease, ensuring minimal downtime and data integrity. The software supports advanced features such as automatic and manual mailbox mapping, priority-based migration, parallel processing, and migration resumption in case of any interruptions. Additionally, it allows seamless migration of both user mailboxes and public folders, making it an ideal solution for organizations planning a hassle-free Exchange to Office 365 migration.

      Was this article helpful?

      No NO

      About The Author

      Ravi Singh linkdin

      Ravi Singh is a Senior Writer at Stellar®. He is an expert Tech Explainer, IoT enthusiast, and a passionate nerd with over 7 years of experience in technical writing. He writes about Microsoft Exchange, Microsoft 365, Email Migration, Linux, Windows, Mac, DIY Tech, and Smart Home. Ravi spends most of his weekends working with IoT (DIY Smart Home) devices and playing Overwatch. He is also a solo traveler who loves hiking and exploring new trails.

      Related Posts

      WHY STELLAR® IS GLOBAL LEADER

      Why Choose Stellar?

      • 0M+

        Customers

      • 0+

        Years of Excellence

      • 0+

        R&D Engineers

      • 0+

        Countries

      • 0+

        PARTNERS

      • 0+

        Awards Received

      ×