Link to home
Start Free TrialLog in
Avatar of webiis
webiis

asked on

Exchange 2016 install error

I have one exchange 2016 server, one 2012 AD server and I'm trying to install a second Exchange 2016 on server 3(2012 member server) so that I can setup DAG, but I can't get past the install on the second exchange 2016 server. I get the following error:


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.Data.Directory.Recipient.ADRecipientObjectSession.Save(ADRecipient instanceToSave)
   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)".
Avatar of Tom Cieslik
Tom Cieslik
Flag of United States of America image

Did you installed all Prerequisites ?

Here you can find some step by step installation

http://exchangeserverpro.com/installing-an-exchange-server-2016-database-availability-group/
Avatar of webiis
webiis

ASKER

I haven't gotten that far yet. So far I have 1 Exchange Server and one domain controller. I am trying to install the second exchange server and the install of exchange is failing on the second soon to be exchange server.
I understand but
Did you installed all Prerequisites ? or your installation failing there
Exchange 2016 prerequisites

Please fallow this link for instruction
https://technet.microsoft.com/en-us/library/bb691354(v=exchg.160).aspx
Avatar of webiis

ASKER

I installed all the pre-requsites that the install stops on.I The os is a member server joined to the domain. The Exchange install won't let you install until you install the prereqs are installed.
The error "Database is mandatory on UserMailbox" states that "one of the mailboxe on the server is not having a Database" so to check which mailbox is not having database please use below command

Get-mailbox -Arbitration | Format-Table Name, ServerName, Database -Auto

The command will display orphand mailbox which does not have database, may be 2013 arbitration

Now to disable that mailbox use below command

Get-mailbox -Arbitration -Identity “FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042” | Disable-Mailbox -ArbitrationMailboxAllowed

Refer following article which contains more information & fix for this issue

https://ahmadelgendi.wordpress.com/2016/06/28/exchange-2016-error-database-is-mandatory-on-usermailbox/
Avatar of webiis

ASKER

It looks like the FederatedEmail is still trying to point to the old 2010 server(exchange1) that is no longer avaliable. ex2016s1 is the current exchange 2016 server.


----                                                ----------   --------
SystemMailbox{1f05a927-bc6f-4378-b450-400065d47243} exchange1
FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 exchange1
SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9} exchange1
SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c} ex2016s1     Mailbox Database 2051094774
Migration.8f3e7716-2011-43e4-96b1-aba62d229136      ex2016s1     Mailbox Database 2051094774


[PS] C:\Windows\system32>Get-mailbox -Arbitration -Identity "FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042" | Disa
ble-Mailbox -ArbitrationMailboxAllowed
WARNING: The object bc/Users/FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 has been corrupted or
isn't compatible with Microsoft support requirements, and it's in an inconsistent state. The following validation
errors happened:
WARNING: Database is mandatory on UserMailbox.
WARNING: Database is mandatory on UserMailbox.
A parameter cannot be found that matches parameter name 'ArbitrationMailboxAllowed'.
    + CategoryInfo          : InvalidArgument: (:) [Disable-Mailbox], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Disable-Mailbox
    + PSComputerName        : ex2016s1.bc.com

[PS] C:\Windows\system32>
[PS] C:\Windows\system32>
ASKER CERTIFIED SOLUTION
Avatar of Marine Lines
Marine Lines

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of webiis

ASKER

Your solution worked perfectly and was very easy to follow.  Thanks again for your help.