Exchange 2013 Setup fails with ” Database is mandatory on UserMailbox.”

Symptoms:

Exchange 2013 setup fails with folowing error in Setup log :

11.05.2015 15:49:33.0205] [2] Preparing to output objects. The maximum size of the result set is “1”.

[11.05.2015 15:49:34.0049] [2] [WARNING] The object datadirect.de/Users/SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c} has been corrupted, and it’s in an inconsistent state. The following validation errors happened:

[11.05.2015 15:49:34.0080] [2] [WARNING] Database is mandatory on UserMailbox.

[11.05.2015 15:49:34.0080] [2] [WARNING] Database is mandatory on UserMailbox.

[11.05.2015 15:49:34.0080] [2] Ending processing Get-Mailbox

[11.05.2015 15:49:34.0111] [2] Beginning processing Write-ExchangeSetupLog

[11.05.2015 15:49:34.0111] [2] Setting mailbox properties.

Cause:

When running get-mailbox –arbitration we see that the some of the arbitration mailboxes are in inconsistent state or corrupted.

Additionaly they mey reside on exchange server which is no longer active.

Solution:

Delete all 3 system mailboxes from User OU.

Delete Federation mailbox and Migration mailbox

Run setup /preparead /IacceptExchangeServerLicenseTerms in cmd for the folder were the exchange setup is located.

Mailboxes will be recreated.

Enable them with

Enable-Mailbox -Arbitration -Identity “FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042”

Enable-Mailbox -Arbitration -Identity “SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}”

Enable-Mailbox -Arbitration -Identity “SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}”

Enable-Mailbox -Arbitration -Identity “Migration.8f3e7716-2011-43e4-96b1-aba62d229136”

Set-Mailbox “Migration.8f3e7716-2011-43e4-96b1-aba62d229136” -Arbitration –Management:$true

There will be one more System mailbox which name can vary. Copy and paste the name in the enable-mailbox command to enable it.

User get-mailbox –monitoring to check if all the health mailboxes are OK.

If they are also corrupted. Delete them from the Microsoft exchange system Objects /monitoring and restart MSexchange Health Manager service to recreate them.

NOTE: In German this services is name “MSExchange -Integritaetsdienst” 😀

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s