Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 772 other subscribers


  • LinkedIn
  • RSS Feed for Posts
  • Twitter
  • StumbleUpon

E2010 : Update/Installation ERROR : Database is mandatory on UserMailbox. Property Name: Database [SOLVED]



The following error was generated when “$error.Clear();

if ($RoleIsDatacenter -ne $true)


if (test-ExchangeServersWriteAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue)


# upgrade the discovery mailboxes to R5 version, this will fix the RecipientDisplayType property of the discovery mailbox which was wrong in R4.

get-mailbox -RecipientTypeDetails DiscoveryMailbox -DomainController $RoleDomainController | where {$_.IsValid -eq $false} | set-mailbox -DomainController $RoleDomainController

$name = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxUniqueName;

$dispname = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxDisplayName;

$mbxs = @( get-mailbox -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1 );

if ( $mbxs.length -eq 0)


$dbs = @(get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);

if($dbs.Length -ne 0)


$mbxUser = @(get-user -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);

if ($mbxUser.Length -ne 0)


enable-mailbox -Discovery -identity $mbxUser[0] -DisplayName $dispname -database $dbs[0].Identity;







write-exchangesetuplog -info “Skipping creating Discovery Search Mailbox because of insufficient permission.”




” was run: “Database is mandatory on UserMailbox. Property Name: Database”.


Database is mandatory on UserMailbox. Property Name: Database

Click here for help…




To resolve this problem, follow these steps:

  1. Remove the FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 e-mail account by using the ADSIEDIT tool. To do this, follow these steps:
    • Click Start, click Run, type adsiedit.msc, and then click OK.

    • Locate the Default Naming Context node, and then locate to the CN=Users container.

    • Locate and then right-click the CN=FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 container. Then, clickDelete.

  • Create a new federated e-mail account by using the following command:

New-Mailbox -Arbitration -Name FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 -UserPrincipalName FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042@<Default_Accepted_Domain>



  • Rerun the Exchange Server 2010 Mailbox role setup application.


If the setup fails again, check the following:

  1. Lower the UAC setting to low
  2. Reboot the server
  3. Check the HomeMDB setting by exporting the complete active directory :
  • csvde -m -f c:\scripts\export-AD.csv
  • check the HomeMDB settings for al users
  • If a discoverymail does not have a HomeMDB => copy the setting from a normal user

  1. Check the server with ADSI EDIT for old servers and remove them.
  2. Reboot the server
  3. Restart the setup.