We help IT Professionals succeed at work.

error when installing Exchange 2013 server

John Water
John Water asked
on
I am attempting to install a new Exchange 2013 server in our environment, (we already have 3 Exchange 2013 servers).
The server is an exchange 2012 r2 and all prerequisites were installed. I selected mail and CAS roles to be installed. I get the following error:

The following error was generated when "$error.Clear();
          if ( ($server -eq $null) -and ($RoleIsDatacenter -ne $true) )
          {
            Update-RmsSharedIdentity -ServerName $RoleNetBIOSName
          }
        " was run: "Microsoft.Exchange.Data.DataValidationException: Database is mandatory on UserMailbox.
   at Microsoft.Exchange.Data.Directory.ADDataSession.Save(ADObject instanceToSave, IEnumerable`1 properties, Boolean bypassValidation)
   at Microsoft.Exchange.Management.Deployment.UpdateRmsSharedIdentity.Link()
   at Microsoft.Exchange.Management.Deployment.UpdateRmsSharedIdentity.InternalProcessRecord()
   at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
   at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".

Any assistance you can provide will be very much appreciated.

Thank you,
Comment
Watch Question

IvanSystem Engineer
Commented:
Hi,

you should check you arbitration mailboxe's, since this error "Database is mandatory on UserMailbox" usually means something is wrong with it.

try with: Get-Mailbox -Arbitration |fl name, alias
or: Get-Mailbox -Arbitration |Format-Table ServerName, Database

If there is some warning, about some mailbox, then you need to assign it some database.

Command goes something like: Set-Mailbox “SystemMailbox{<guid>}” -Arbitration -Database “YourDatabase”

Try to install after this.

Regards,
Will SzymkowskiSenior Solution Architect
Most Valuable Expert 2015
Top Expert 2015

Commented:
If this is a fresh install, I would start by removing Exchange 2013>delete the c:\programfiles\exchange folder and perform a clean install of Exchange 2013 again. Ensure that you have the correct permissions (Organization Management) before you start the install.

Also check to ensure that you have in fact got all of the pre-reqs installed.
https://technet.microsoft.com/en-us/library/bb691354%28v=exchg.150%29.aspx

Will.
We found that two of the Arbitration mailboxes were in an inconsistent state.
These two were deleted and AD prep was run again. Following web site https://technet.microsoft.com/en-us/library/gg588318(v=exchg.150).aspx.
Exchange was removed and reloaded without an issue.

Author

Commented:
While the one expert did begin the discussion on the arbitration mailboxes, the solution I posted was more complete with the solution.