EdbMails EDB Recovery and Migration software
  • Products
    Exchange EDB / Email Recovery Tools
    • EDB Recovery and MigrationRecover EDB to PST, EDB to Office 365 and Exchange NO Duplicate Migration
    • OST Recovery and MigrationRecover OST to PST, OST to Office 365 and Exchange Migration
    • PST Recovery and MigrationRecover Outlook PST, PST to Office 365 and Exchange Migration
    • MBOX Export and MigrationExport MBOX to PST, MBOX to Office 365 and Exchange Migration
    • NSF Export and MigrationExport NSF to PST, NSF to Office 365 and Exchange Migration
    • EML to PST ExportEML files export to Outlook PST format
    • PST to MSG ExportOutlook PST files export to MSG format
    • MSG to PST ExportExport MSG files Outlook PST files
    Exchange and Office 365 Migration
    • Exchange Server MigrationMigrate Exchange 2007, 2010, 2013, 2016, 2019 to Office 365 tenants. Also, migrate between Exchange servers and PST
    • Office 365 MigrationMigrate Source Office 365 tenants to Destination Office 365 tenants. Also, migrate to Exchange Server and PST
    • IMAP Email Backup & MigrationMigrate all IMAP email servers (Gmail, Zimbra, Zoho, Yahoo etc.), Office 365, Exchange and Backup to Outlook PST
    • SharePoint Online MigrationMigrate documents, files and folders from SharePoint sites
    • OneDrive for Business MigrationMigrate documents, files and folders from OneDrive
    • Microsoft Teams MigrationMigrate Teams, documents, files and folders etc.
    Exchange and Office 365 Backup
    • Office 365 BackupIncremental, Granular, Encrypted and Compressed Office 365 Mailboxes Backup
    • Exchange Server BackupIncremental, Granular, Encrypted and Compressed Exchange Mailboxes Backup
    • SharePoint, OneDrive & Teams BackupBackup Online site collections, Team sites, Office 365 groups, all documents etc.
    • Duplicate Remover - Office 365 & Exchange Remove duplicate emails, calendars, contacts, journal etc. from Office 365 and Exchange
    Go to products
  • Features
  • FAQ
  • Pricing
  • Download
  • Support
  • Sign in
User’s Manual
EDB Recovery and Migration

User Manual

User Manual

  • Overview
  • System Requirements
  • Installation
    • Installation process
    • Reinstall or Upgrade
    • How to uninstall
  • Initial Setup
  • FAQ
    • EDB to PST
    • EDB to Office 365 Migration
    • EDB to Exchange Migration
    • EDB Public Folder to Office 365
    • EDB Archive Mailbox to Office 365
    • EDB Public Folder to Exchange
    • EDB Archive Mailbox to Exchange
  • Videos
    • EDB to PST Converter
    • EDB to Office 365 Migration
    • EDB to Exchange Migration
    • EDB Public Folder to Office 365
    • EDB Archive Mailbox to Office 365
    • EDB Public Folder to Exchange
    • EDB Archive Mailbox to Exchange
  • Screenshots
    • EDB to PST
    • EDB to Office 365 Migration
    • EDB to Exchange Migration
    • EDB Public Folder to Office 365
    • EDB Archive Mailbox to Office 365
    • EDB Public Folder to Exchange
    • EDB Archive Mailbox to Exchange
  • How it works?
    • EDB to PST Converter
    • EDB to Office 365 Migration
    • EDB to Exchange Migration
    • EDB Public Folder to Office 365
    • EDB Public Folder to Exchange
    • EDB Archive Mailbox to Office 365
    • EDB Archive Mailbox to Exchange
  • Connect to Exchange server for multiple mailboxes migration
    • Connect with Global Admin
    • Connect to multiple users using CSV file
    • Connect using full access permission
    • Connect individual users for Single / Specific user Migration
  • Connect to Hosted Exchange for its Migration
    • Connect with Full Access permissions
    • Using multiple user credentials with CSV file
    • Connecting to Individual user for its migration
  • Connect to Office 365
    • Modern Authentication Using OAuth 2.0
      • Microsoft 365 modern authentication
      • Automatic Registration
      • Manual Registration
    • Connect with Global Admin
    • Connect to Office 365 with full access permission
    • Connect to Office 365 with CSV file option
    • Connect to Office 365 as single user mailbox
  • Set Exchange Server Impersonation rights
    • Exchange 2007 and below
    • Exchange 2010, 2013, 2016 and 2019
    • Set using Exchange Server GUI
  • Knowledge Base
    • How to recover Microsoft Exchange server from Jet Errors
    • Repair a corrupted Exchange database (EDB) file
    • Open and view an EDB file without Exchange server
    • Recover data from an Exchange server crash
    • Open and view an Exchange EDB file
    • Export a disconnected Exchange mailbox
    • Resolve Exchange database consistency check failure
    • Import an Exchange database file (.EDB) into a new Exchange
    • Recover deleted Exchange server mailboxes
    • Resolve Dirty Shutdown error of Exchange database
    • Restore an Exchange server database
    • Export Exchange mailboxes to Outlook PST
    • Export Exchange Public folders to Outlook PST
    • Extract mailbox and export EDB to Outlook PST
    • Export Exchange emails to PST by specific date
    • Export Exchange Archive mailbox to PST
    • Resolve Exchange database fails to mount error
    • Fix Content Index State Failed and suspended error
    • Recover emails from a dismounted Exchange database
    • Exchange database is mandatory on UserMailbox
    • Exchange database status unknown error
    • Restore Exchange 2016 mailbox from Recovery database
    • Move Exchange mailbox to another database
    • Check Exchange database health
    • Backup Exchange server database
    • Reduce Exchange database file size
    • Unable to Mount Database (hr=0x80004005, ec=1108)
    • Exchange Server Disaster Recovery Plan
    • Exchange database in clean shutdown fails to mount
    • Offline EDB Recovery
    • Reduce the size of bulky Exchange server
    • Dial Tone Recovery
    • Recover deleted mailboxes
    • Filter Settings
  • Incremental Migration
  • Exchange Throttling Policy
  • Multifactor Authentication
    • Enable MFA in Office 365
    • Map the Mailboxes
    • Create App password for MFA
    • Disable Security Defaults
  1. Home
  2. Product
  3. Exchange database is mandatory on UserMailbox
Download Buy Now

Exchange database is mandatory on UserMailbox

When the ‘Exchange database is mandatory on UserMailbox’ error appears, it prevents users from accessing their mailboxes, leading to significant disruptions in communication and day-to-day business operations. This issue typically arises when the Exchange server database is dismounted, corrupted, or otherwise inaccessible. If not addressed promptly, it can result in the loss of critical data such as emails, contacts, and calendar entries.

Restoring access begins with successfully mounting the Exchange database—but when the database is damaged, manual recovery methods often fall short and demand considerable technical expertise. This is where EdbMails EDB to PST Converter provides a reliable alternative. It enables you to recover mailbox data from dismounted or corrupted Exchange databases with ease. Whether you choose to migrate the restored data to a live Exchange server or export it to PST files, EdbMails ensures complete data recovery without compromising integrity.

Fix Exchange database is mandatory error

In this step-by-step guide, we will walk you through how to resolve the "Exchange database is mandatory on UserMailbox" error using EdbMails. This simple process will help you restore access to user mailboxes quickly, with no downtime, ensuring your business operations resume without disruption.

What is the Exchange database mandatory error?

Exchange server 2019 and 2016 are the latest versions that offer improved features and enhanced security, prompting many businesses to migrate from older Exchange server systems. Upgrading from Exchange server 2013 to either Exchange server 2019 or 2016 allows companies to benefit from these advancements. However, during the upgrade process, you may come across various error messages that can complicate the migration.

The following error was generated when “$error.Clear();
if(($server -eq $null) -and ($RolelsDatacenter -ne $true))
{
Update-RmsSharedIdentity -ServerName $RoleNetBIOSName
}
was run :Microsoft.Exchange.Data.DataValidationException: Database is mandatory on UserMailbox

You might see the following warning message when you navigate to the Exchange admin center (EAC).

This error occurs when a user mailbox is not associated with a database or when the homeDB attribute in Active Directory is not configured properly. In Exchange server 2016 and later versions, every mailbox must be linked to a valid database. If the database is missing or not set correctly, this error message can appear. Another possible cause is corruption of the Exchange database (EDB) file, which prevents it from mounting to the Exchange server properly.

  1. How to resolve the error Exchange server database is mandatory on UserMailbox?

    You can resolve the error with the following three methods

    1. Set the HomeMDB attribute in the Active Directory Services Interface
    2. Move the mailbox to a Database Availability Group (DAG)
    3. Recover and convert the corrupted EDB to PST with EdbMails
    • Method 1: Set the HomeMDB attribute in the ADSI

      • Step 1: Install AD DS on your computer
        1. Install the Active Directory Domain Services (AD DS) on your Windows Server operating system where you have installed the Exchange server.

           See steps to install Active Directory Domain Services
        2. After you install the AD DS, click the 'Start menu' > 'Administrative Tools' > 'ADSI Edit'.
        3. Right click ADSI Edit from the left and select 'Connect to…'
      • Step 2: Open the Connection Settings in ADSI Edit

        The ADSI (Active Directory Services Interface) Editor allows you to view and modify objects within Microsoft Active Directory Domain Services (AD DS). To begin, select the ‘Default Naming Context’ in the Connection Settings window and click OK. This will allow you to access and manage the necessary objects in your Active Directory environment.

      • Step 3: Go to the User Properties and check for the homeMDB value
        1. Expand the ADSI to see all the Organizational units (OU)
        2. Navigate to the user mailbox name which shows the error
        3. Right click on the user > click Properties > homeMDB

        The value for the homeMDB attribute will be shown as . The homeMDB value contains the mailbox database whose object is associated with the mailbox.

      • Step 4: Set the homeMDB value if it shows not set

        Search for a user within the Organizational Unit (OU) whose mailbox is associated with a valid database and is not displaying the error. Right-click on this user and select 'Properties.' In the 'homeMDB' field, copy the value displayed, which should look like this: CN=DB02, CN=Databases, CN=Microsoft Exchange, CN=Services, CN=Configuration, DC=domain_name, DC=local

        Go back to the user whose mailbox shows and paste the value for the homeMDB attribute.

         See steps to set the homeMDB attribute in the String Attribute Editor and steps to fix the inconsistent state of the user mailbox.

      • Step 5: Restart the Exchange server Information Store and check the usermailbox

        Once the changes are made, it may take a few hours for them to take effect. To speed up the process, restart the Microsoft Information Store service. Open the Start menu, go to Services, locate Microsoft Information Store, right-click it, and select Restart. After the service has restarted, log in again and open the Exchange Admin Center. The "Exchange database is mandatory on UserMailbox" error should no longer appear for the user mailbox.

    • Method 2: Move the mailbox to a Database Availability Group

      If your Exchange server is set up with a Database Availability Group (DAG), you'll need to create a new database within the DAG and then move all mailboxes to this new database. Follow the steps below to complete this process:

      • Step 1: Start the Exchange Management Shell (EMS)

        Launch EMS on your Exchange server 2016 or 2019 server as an administrator

      • Step 2: Create a new mailbox database on the DAG

        Type the following command in the EMS to create a new mailbox database
        New-MailboxDatabase -Name -Server -EDB_File_Path -Log_folder_path
        Replace the EDB_File_Path and Log_folder_path with the respective folder path on your computer.

      • Step 3: Move the mailbox to the new database

        Type the following command in the EMS to move the mailbox to the new database you just created.

        New-MoveRequest -Identity 'johndoe@example.com' -TargetDatabase "DB01"

         See steps to move mailbox to a new database

        The methods mentioned above may not be effective when the EDB file of the Exchange server is heavily corrupted or damaged, leaving the database error unresolved. Additionally, moving the mailbox to another database often requires PowerShell scripts and technical expertise. In the next section, we'll outline the most efficient and safe approach to recover the Exchange server database using EdbMails.

    • Method 3: Recover and convert the corrupted EDB to PST with EdbMails

      In this method, we will guide you through the process of converting a corrupted EDB file to PST using the EdbMails EDB to PST converter. As a Microsoft-partnered application, EdbMails simplifies the recovery process by allowing you to directly migrate mailboxes from the EDB to the Exchange server without the need for PowerShell cmdlets.

      Step 1: Download and install EdbMails Exchange recovery tool
      • Download and install EdbMails on any Windows PC—no need for Exchange Server. The software works standalone, making data recovery fast and effortless.

        EdbMails software installation

      • Launch the application and click ‘Login’. If you have not registered yet, click on ‘Start Your Free Trial’ to get started.

        Login to EdbMails application

      • Select the product as ‘EDB Recovery (Offline) and Migration’

        Select EDB Recovery and Migration

      • Select ‘EDB to PST’

        Select EDB to PST

      • Use the default job name or click ‘New Job’ to assign a new job name of your choice.

        Enter export job name

      Step 2: Select the offline EDB file
      • Click ‘Browse for EDB file’

        Browse for EDB file

      • Select the offline EDB file from your computer drive, then click the ‘Next’ button to continue. If the file is on a shared network, make sure you’ve got read and write permissions for a smooth experience.

        Browse for EDB file

      • Click ‘Browse’

        Click Browse

      • Select a location to save your exported PST files, and ensure there’s enough disk space for the export to complete.

        Select PST location

      • EdbMails scans and repairs damaged EDB files from your Exchange server, ensuring complete data recovery and easy access.

        Recovery operation process

      • Once recovery is finished, expand the mailbox and select any folder to see all its details like; emails, contacts, calendars, tasks, journals, and notes in the right side preview pane.
      • Select the mailboxes or folders you want to export, then click ‘Next’ to proceed.

        Select mailboxes and folders

      • You can apply the advanced filter settings to export the Exchange emails to PST by specific Date, Subject, Attachment and so on.
      • EdbMails comes with other additional settings, like splitting a PST file during export and excluding emails that exceed a specified size limit.

        EDB export advanced settings

      Step 3: Convert EDB to PST
      • Check your selected mailboxes and folders to confirm everything’s ready. Ensure the 'Action' is set to 'Export', then click ‘Start Export’ to begin the process.

        Start EDB to PST conversion

      • While exporting, EdbMails displays a real-time progress window with options to pause or resume as needed. After completion, simply click ‘View Log’ to access a detailed summary report.

        EDB to PST conversion progress

      • To restore all your mailboxes and mail items from the corrupted EDB file, add the exported PST file in Outlook. If you have migrated the EDB to Office 365 or Exchange server, add the domain name and configure the MX records to point to the new server.
      • The migration and export operation with EdbMails does not cause downtime or data loss. EdbMails can recover EDB without log files and also does not require an Exchange server for database recovery. It has advanced built-in filter settings for selecting specific folders, emails, and mail items for export and migration.

In Conclusion

The "Exchange database is mandatory" error occurs when the database associated with a user mailbox is either missing or corrupted. The first step in resolving this issue is to set the homeMDB attribute in Active Directory Services. If your Exchange server is part of a Database Availability Group (DAG), you'll need to create a new database and move the mailboxes to it using PowerShell scripts. However, if the EDB file is corrupted or inaccessible, the best option is to use an Exchange repair tool like EdbMails. This tool can help you export all mailboxes and folders from the EDB file to PST, or migrate them directly to a live Exchange server or Office 365 with just a few clicks.


Additional resources

  • Fix Content Index State Failed and suspended error
  • Recover emails from a dismounted Exchange database
  • Exchange database status unknown error
  • Restore exchange 2016 mailbox from Recovery database
lady image

 In this manual

IntroductionDatabase Recovery

EDB Recovery and migration

Just $99 Onwards

Buy Now

Need help?

24/7 Customer support

Contact us on Live chat

Personalized Demo

Book a personalized demo

Still need help?

Email us / Call us

@edbmails.com All rights are reserved Privacy Policy | Terms of Use | GDPR | Security | Press Releases

hidden msg
Live Chat

Hi, May I help you?

Hide Chat Now