Exchange 2013 Install fails on fresh server during the mailbox role - migration mailbox issue?

On a time crunch and my window of opportunity to get my client off of pop email is slowly coming to a close for the next month. Any help would me greatly appreciated.

This is the error that Exchange 2013 on a fresh server 2013 VM is giving me during the  "mailbox service" install. I installed all updates and don't have any other issues with this machine.


Set 1 of 5: Mailbox Role: mailbox Service
Error:
The following error was generated when "$error.Clear(); 
          if (!$RoleIsDatacenter -and !$RoleIsDatacenterDedicated)
          {
          $mailboxId = [Microsoft.Exchange.Management.Migration.MigrationBatchIdParameter]::MigrationMailboxName;
          $dispName = "Microsoft Exchange Migration";
          $mbxs = @(Get-Mailbox -Arbitration -DomainController $RoleDomainController -Filter {Name -eq $mailboxId});
          $migrationMailbox = $null;

          if ($mbxs.Length -eq 0)
          {
          Write-ExchangeSetupLog -Info ("Retrieving mailbox databases on Server=$RoleFqdnOrName.");
          $dbs = @(Get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
          if ($dbs.Length -ne 0)
          {
          Write-ExchangeSetupLog -Info ("Retrieving users with Name=$mailboxId.");
          $arbUsers = @(Get-User -Filter {Name -eq $mailboxId} -IgnoreDefaultScope -ResultSize 1);
          if ($arbUsers.Length -ne 0)
          {
          Write-ExchangeSetupLog -Info ("Enabling mailbox $mailboxId.");
          $migrationMailbox = Enable-Mailbox -Arbitration -Identity $arbUsers[0] -DisplayName $dispName -database $dbs[0].Identity;
          }
          }
          }
          else
          {
          $migrationMailbox = $mbxs[0];
          }

          # Set the Organization Capabilities and quotas needed for this mailbox
          if ($migrationMailbox -ne $null)
          {
          Set-Mailbox -Arbitration -Identity $migrationMailbox -ProhibitSendReceiveQuota 300MB -ProhibitSendQuota 300MB -IssueWarningQuota 150MB -RecoverableItemsQuota 30GB -RecoverableItemsWarningQuota 20GB -UseDatabaseQuotaDefaults $false -SCLDeleteEnabled $false -SCLJunkEnabled $false -SCLQuarantineEnabled $false -SCLRejectEnabled $false -HiddenFromAddressListsEnabled $true -DisplayName $dispName -Management:$true -Force;
          }
          else
          {
          Write-ExchangeSetupLog -Info ("Cannot find migration mailbox with name=$mailboxId.");
          }
          }
        " was run: "Microsoft.Exchange.Data.DataValidationException: Database is mandatory on UserMailbox.".

Error:
The following error was generated when "$error.Clear(); 
          if (!$RoleIsDatacenter -and !$RoleIsDatacenterDedicated)
          {
          $mailboxId = [Microsoft.Exchange.Management.Migration.MigrationBatchIdParameter]::MigrationMailboxName;
          $dispName = "Microsoft Exchange Migration";
          $mbxs = @(Get-Mailbox -Arbitration -DomainController $RoleDomainController -Filter {Name -eq $mailboxId});
          $migrationMailbox = $null;

          if ($mbxs.Length -eq 0)
          {
          Write-ExchangeSetupLog -Info ("Retrieving mailbox databases on Server=$RoleFqdnOrName.");
          $dbs = @(Get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
          if ($dbs.Length -ne 0)
          {
          Write-ExchangeSetupLog -Info ("Retrieving users with Name=$mailboxId.");
          $arbUsers = @(Get-User -Filter {Name -eq $mailboxId} -IgnoreDefaultScope -ResultSize 1);
          if ($arbUsers.Length -ne 0)
          {
          Write-ExchangeSetupLog -Info ("Enabling mailbox $mailboxId.");
          $migrationMailbox = Enable-Mailbox -Arbitration -Identity $arbUsers[0] -DisplayName $dispName -database $dbs[0].Identity;
          }
          }
          }
          else
          {
          $migrationMailbox = $mbxs[0];
          }

          # Set the Organization Capabilities and quotas needed for this mailbox
          if ($migrationMailbox -ne $null)
          {
          Set-Mailbox -Arbitration -Identity $migrationMailbox -ProhibitSendReceiveQuota 300MB -ProhibitSendQuota 300MB -IssueWarningQuota 150MB -RecoverableItemsQuota 30GB -RecoverableItemsWarningQuota 20GB -UseDatabaseQuotaDefaults $false -SCLDeleteEnabled $false -SCLJunkEnabled $false -SCLQuarantineEnabled $false -SCLRejectEnabled $false -HiddenFromAddressListsEnabled $true -DisplayName $dispName -Management:$true -Force;
          }
          else
          {
          Write-ExchangeSetupLog -Info ("Cannot find migration mailbox with name=$mailboxId.");
          }
          }
        " was run: "Microsoft.Exchange.Data.DataValidationException: Database is mandatory on UserMailbox.
   at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
   at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target, Boolean reThrow)
   at Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.Validate(TDataObject dataObject)
   at Microsoft.Exchange.Configuration.Tasks.SetTaskBase`1.InternalValidate()
   at Microsoft.Exchange.Configuration.Tasks.SetRecipientObjectTask`3.InternalValidate()
   at Microsoft.Exchange.Management.Common.SetMailEnabledRecipientObjectTask`3.InternalValidate()
   at Microsoft.Exchange.Management.RecipientTasks.SetUserBase`2.InternalValidate()
   at Microsoft.Exchange.Management.RecipientTasks.SetMailboxBase`2.InternalValidate()
   at Microsoft.Exchange.Management.RecipientTasks.SetMailbox.InternalValidate()
   at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
   at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".

August 6th, 2015 3:35pm

Hi, It shows that there is an entry of an old exchange server installation on the activedirectory. Can you remove the system mailboxes associated with that exchange and try again?
Free Windows Admin Tool Kit Click here and download it now
August 6th, 2015 4:01pm

Can you point me to a resource that would outline that process?
August 6th, 2015 4:18pm

An example document (Remove Exchange 2010 entries) I found is here:

http://blog.dargel.at/2012/02/23/remove-legacy-exchange-server-using-adsi/

Free Windows Admin Tool Kit Click here and download it now
August 6th, 2015 4:32pm

Thank you I will give this a try and get back to you
August 6th, 2015 4:33pm

Hi,

I am working with Kent on this. All System Mailboxes have been deleted from the ADSI prior to the reinstall of Exchange and there are no entries of the bad Exchange server.

After a clean uninstall of the old Exchange (separate VM), I deleted the Exchange entries in the ADSI, removed the AD user accounts and deleted the Exchange server from the AD.

The installation of the Exchange (which is giving the errors above) is on a brand new VM with a different name. 

Any help on this would be highly appreciated.

Thanks,

Ali

Free Windows Admin Tool Kit Click here and download it now
August 6th, 2015 4:45pm

Do you see Migration.GUID mailbox in AD? Search with Migration.

Also if you have other Exchange server or database in the orginzation... : https://exchangeshare.wordpress.com/2014/05/16/exchange-2013-sp1-install-error-database-is-mandatory-on-arbitration-mailboxes/

August 6th, 2015 10:16pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics