corstorphine
asked on
Exchange 2016 fails at Step 10 of 14; Mailbox Role
I am trying to install Exchange 2016 on a Windows 2016 VM Server but the installation fails at step 10 of 14 with the error shown below:
My domain functional level is Server 2008 R2 and I have an Exchange 2010 server. I have performed all the pre-install steps and and prepared the Schema and AD. I tried creating a new VM and starting the installation again but got the same result. I have attached the ExchangeSetup log
Error:
The following error was generated when "$error.Clear();
if (($RoleIsDatacenter -ne $true) -and ($RoleIsDatacenterDedicate d -ne $true))
{
if (test-ExchangeServersWrite Access -DomainController $RoleDomainController -ErrorAction SilentlyContinue)
{
$sysMbx = $null;
$name = "SystemMailbox{e0dc1c29-89 c3-4034-b6 78-e6c29d8 23ed9}";
$dispname = "Microsoft Exchange";
$mbxs = @( get-mailbox -arbitration -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1 );
if ( $mbxs.length -eq 0)
{
$dbs = @(get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
if ($dbs.Length -ne 0)
{
$arbUsers = @(get-user -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
if ($arbUsers.Length -ne 0)
{
$sysMbx = enable-mailbox -Arbitration -identity $arbUsers[0] -DisplayName $dispname -database $dbs[0].Identity;
}
}
}
else
{
if ($mbxs[0].DisplayName -ne $dispname )
{
set-mailbox -Arbitration -identity $mbxs[0] -DisplayName $dispname -Force;
}
$sysMbx = $mbxs[0];
}
# Set the Organization Capabilities needed for this mailbox
if ($sysMbx -ne $null)
{
Write-ExchangeSetupLog -Info ("Setting mailbox properties.");
set-mailbox -Arbitration -identity $sysMbx -UMDataStorage:$true -Force;
# No RetentionPolicy assigned to E-Discovery arbitration mailbox currently, we need to set it here.
# This can be remove after BUG(O15#2555914) is fixed.
if ($sysMbx.RetentionPolicy -eq $null )
{
$arbitrationRetentionPolic y = @(Get-RetentionPolicy -DomainController $RoleDomainController | where {$_.Name -eq 'ArbitrationMailbox'});
set-mailbox -Arbitration -identity $sysMbx -RetentionPolicy $arbitrationRetentionPolic y[0].Ident ity -Force;
}
}
else
{
Write-ExchangeSetupLog -Info ("Cannot find E-discovery arbitration mailbox with name=$name.");
}
}
else
{
write-exchangesetuplog -info "Skipping creating Discovery Arbitration Mailbox because of insufficient permission."
}
}
" was run: "Microsoft.Exchange.Data.D ataValidat ionExcepti on: Database is mandatory on UserMailbox.".
Error:
The following error was generated when "$error.Clear();
if (($RoleIsDatacenter -ne $true) -and ($RoleIsDatacenterDedicate d -ne $true))
{
if (test-ExchangeServersWrite Access -DomainController $RoleDomainController -ErrorAction SilentlyContinue)
{
$sysMbx = $null;
$name = "SystemMailbox{e0dc1c29-89 c3-4034-b6 78-e6c29d8 23ed9}";
$dispname = "Microsoft Exchange";
$mbxs = @( get-mailbox -arbitration -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1 );
if ( $mbxs.length -eq 0)
{
$dbs = @(get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
if ($dbs.Length -ne 0)
{
$arbUsers = @(get-user -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
if ($arbUsers.Length -ne 0)
{
$sysMbx = enable-mailbox -Arbitration -identity $arbUsers[0] -DisplayName $dispname -database $dbs[0].Identity;
}
}
}
else
{
if ($mbxs[0].DisplayName -ne $dispname )
{
set-mailbox -Arbitration -identity $mbxs[0] -DisplayName $dispname -Force;
}
$sysMbx = $mbxs[0];
}
# Set the Organization Capabilities needed for this mailbox
if ($sysMbx -ne $null)
{
Write-ExchangeSetupLog -Info ("Setting mailbox properties.");
set-mailbox -Arbitration -identity $sysMbx -UMDataStorage:$true -Force;
# No RetentionPolicy assigned to E-Discovery arbitration mailbox currently, we need to set it here.
# This can be remove after BUG(O15#2555914) is fixed.
if ($sysMbx.RetentionPolicy -eq $null )
{
$arbitrationRetentionPolic y = @(Get-RetentionPolicy -DomainController $RoleDomainController | where {$_.Name -eq 'ArbitrationMailbox'});
set-mailbox -Arbitration -identity $sysMbx -RetentionPolicy $arbitrationRetentionPolic y[0].Ident ity -Force;
}
}
else
{
Write-ExchangeSetupLog -Info ("Cannot find E-discovery arbitration mailbox with name=$name.");
}
}
else
{
write-exchangesetuplog -info "Skipping creating Discovery Arbitration Mailbox because of insufficient permission."
}
}
" was run: "Microsoft.Exchange.Data.D ataValidat ionExcepti on: Database is mandatory on UserMailbox.
at Microsoft.Exchange.Configu ration.Tas ks.Task.Th rowError(E xception exception, ErrorCategory errorCategory, Object target, String helpUrl)
at Microsoft.Exchange.Configu ration.Tas ks.Task.Wr iteError(E xception exception, ErrorCategory category, Object target, Boolean reThrow)
at Microsoft.Exchange.Configu ration.Tas ks.DataAcc essTask`1. Validate(T DataObject dataObject)
at Microsoft.Exchange.Configu ration.Tas ks.SetTask Base`1.Int ernalValid ate()
at Microsoft.Exchange.Configu ration.Tas ks.SetReci pientObjec tTask`3.In ternalVali date()
at Microsoft.Exchange.Managem ent.Common .SetMailEn abledRecip ientObject Task`3.Int ernalValid ate()
at Microsoft.Exchange.Managem ent.Recipi entTasks.S etUserBase `3.Interna lValidate( )
at Microsoft.Exchange.Managem ent.Recipi entTasks.S etMailboxB ase`3.Inte rnalValida te()
at Microsoft.Exchange.Managem ent.Recipi entTasks.S etMailbox. InternalVa lidate()
at Microsoft.Exchange.Configu ration.Tas ks.Task.<P rocessReco rd>b__c()
at Microsoft.Exchange.Configu ration.Tas ks.Task.In vokeRetrya bleFunc(St ring funcName, Action func, Boolean terminatePipelineIfFailed) ".
Error:
The following error was generated when "$error.Clear();
if (($RoleIsDatacenter -ne $true) -and ($RoleIsDatacenterDedicate d -ne $true))
{
if (test-ExchangeServersWrite Access -DomainController $RoleDomainController -ErrorAction SilentlyContinue)
{
$sysMbx = $null;
$name = "SystemMailbox{e0dc1c29-89 c3-4034-b6 78-e6c29d8 23ed9}";
$dispname = "Microsoft Exchange";
$mbxs = @( get-mailbox -arbitration -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1 );
if ( $mbxs.length -eq 0)
{
$dbs = @(get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
if ($dbs.Length -ne 0)
{
$arbUsers = @(get-user -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
if ($arbUsers.Length -ne 0)
{
$sysMbx = enable-mailbox -Arbitration -identity $arbUsers[0] -DisplayName $dispname -database $dbs[0].Identity;
}
}
}
else
{
if ($mbxs[0].DisplayName -ne $dispname )
{
set-mailbox -Arbitration -identity $mbxs[0] -DisplayName $dispname -Force;
}
$sysMbx = $mbxs[0];
}
# Set the Organization Capabilities needed for this mailbox
if ($sysMbx -ne $null)
{
Write-ExchangeSetupLog -Info ("Setting mailbox properties.");
set-mailbox -Arbitration -identity $sysMbx -UMDataStorage:$true -Force;
# No RetentionPolicy assigned to E-Discovery arbitration mailbox currently, we need to set it here.
# This can be remove after BUG(O15#2555914) is fixed.
if ($sysMbx.RetentionPolicy -eq $null )
{
$arbitrationRetentionPolic y = @(Get-RetentionPolicy -DomainController $RoleDomainController | where {$_.Name -eq 'ArbitrationMailbox'});
set-mailbox -Arbitration -identity $sysMbx -RetentionPolicy $arbitrationRetentionPolic y[0].Ident ity -Force;
}
}
else
{
Write-ExchangeSetupLog -Info ("Cannot find E-discovery arbitration mailbox with name=$name.");
}
}
else
{
write-exchangesetuplog -info "Skipping creating Discovery Arbitration Mailbox because of insufficient permission."
}
}
" was run: "Microsoft.Exchange.Data.D ataValidat ionExcepti on: Database is mandatory on UserMailbox.".
Error:
The following error was generated when "$error.Clear();
if (($RoleIsDatacenter -ne $true) -and ($RoleIsDatacenterDedicate d -ne $true))
{
if (test-ExchangeServersWrite Access -DomainController $RoleDomainController -ErrorAction SilentlyContinue)
{
$sysMbx = $null;
$name = "SystemMailbox{e0dc1c29-89 c3-4034-b6 78-e6c29d8 23ed9}";
$dispname = "Microsoft Exchange";
$mbxs = @( get-mailbox -arbitration -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1 );
if ( $mbxs.length -eq 0)
{
$dbs = @(get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
if ($dbs.Length -ne 0)
{
$arbUsers = @(get-user -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
if ($arbUsers.Length -ne 0)
{
$sysMbx = enable-mailbox -Arbitration -identity $arbUsers[0] -DisplayName $dispname -database $dbs[0].Identity;
}
}
}
else
{
if ($mbxs[0].DisplayName -ne $dispname )
{
set-mailbox -Arbitration -identity $mbxs[0] -DisplayName $dispname -Force;
}
$sysMbx = $mbxs[0];
}
# Set the Organization Capabilities needed for this mailbox
if ($sysMbx -ne $null)
{
Write-ExchangeSetupLog -Info ("Setting mailbox properties.");
set-mailbox -Arbitration -identity $sysMbx -UMDataStorage:$true -Force;
# No RetentionPolicy assigned to E-Discovery arbitration mailbox currently, we need to set it here.
# This can be remove after BUG(O15#2555914) is fixed.
if ($sysMbx.RetentionPolicy -eq $null )
{
$arbitrationRetentionPolic y = @(Get-RetentionPolicy -DomainController $RoleDomainController | where {$_.Name -eq 'ArbitrationMailbox'});
set-mailbox -Arbitration -identity $sysMbx -RetentionPolicy $arbitrationRetentionPolic y[0].Ident ity -Force;
}
}
else
{
Write-ExchangeSetupLog -Info ("Cannot find E-discovery arbitration mailbox with name=$name.");
}
}
else
{
write-exchangesetuplog -info "Skipping creating Discovery Arbitration Mailbox because of insufficient permission."
}
}
" was run: "Microsoft.Exchange.Data.D ataValidat ionExcepti on: Database is mandatory on UserMailbox.
at Microsoft.Exchange.Configu ration.Tas ks.Task.Th rowError(E xception exception, ErrorCategory errorCategory, Object target, String helpUrl)
at Microsoft.Exchange.Configu ration.Tas ks.Task.Wr iteError(E xception exception, ErrorCategory category, Object target, Boolean reThrow)
at Microsoft.Exchange.Configu ration.Tas ks.DataAcc essTask`1. Validate(T DataObject dataObject)
at Microsoft.Exchange.Configu ration.Tas ks.SetTask Base`1.Int ernalValid ate()
at Microsoft.Exchange.Configu ration.Tas ks.SetReci pientObjec tTask`3.In ternalVali date()
at Microsoft.Exchange.Managem ent.Common .SetMailEn abledRecip ientObject Task`3.Int ernalValid ate()
at Microsoft.Exchange.Managem ent.Recipi entTasks.S etUserBase `3.Interna lValidate( )
at Microsoft.Exchange.Managem ent.Recipi entTasks.S etMailboxB ase`3.Inte rnalValida te()
at Microsoft.Exchange.Managem ent.Recipi entTasks.S etMailbox. InternalVa lidate()
at Microsoft.Exchange.Configu ration.Tas ks.Task.<P rocessReco rd>b__c()
at Microsoft.Exchange.Configu ration.Tas ks.Task.In vokeRetrya bleFunc(St ring funcName, Action func, Boolean terminatePipelineIfFailed) ".
ExchangeSetup.txt
My domain functional level is Server 2008 R2 and I have an Exchange 2010 server. I have performed all the pre-install steps and and prepared the Schema and AD. I tried creating a new VM and starting the installation again but got the same result. I have attached the ExchangeSetup log
Error:
The following error was generated when "$error.Clear();
if (($RoleIsDatacenter -ne $true) -and ($RoleIsDatacenterDedicate
{
if (test-ExchangeServersWrite
{
$sysMbx = $null;
$name = "SystemMailbox{e0dc1c29-89
$dispname = "Microsoft Exchange";
$mbxs = @( get-mailbox -arbitration -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1 );
if ( $mbxs.length -eq 0)
{
$dbs = @(get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
if ($dbs.Length -ne 0)
{
$arbUsers = @(get-user -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
if ($arbUsers.Length -ne 0)
{
$sysMbx = enable-mailbox -Arbitration -identity $arbUsers[0] -DisplayName $dispname -database $dbs[0].Identity;
}
}
}
else
{
if ($mbxs[0].DisplayName -ne $dispname )
{
set-mailbox -Arbitration -identity $mbxs[0] -DisplayName $dispname -Force;
}
$sysMbx = $mbxs[0];
}
# Set the Organization Capabilities needed for this mailbox
if ($sysMbx -ne $null)
{
Write-ExchangeSetupLog -Info ("Setting mailbox properties.");
set-mailbox -Arbitration -identity $sysMbx -UMDataStorage:$true -Force;
# No RetentionPolicy assigned to E-Discovery arbitration mailbox currently, we need to set it here.
# This can be remove after BUG(O15#2555914) is fixed.
if ($sysMbx.RetentionPolicy -eq $null )
{
$arbitrationRetentionPolic
set-mailbox -Arbitration -identity $sysMbx -RetentionPolicy $arbitrationRetentionPolic
}
}
else
{
Write-ExchangeSetupLog -Info ("Cannot find E-discovery arbitration mailbox with name=$name.");
}
}
else
{
write-exchangesetuplog -info "Skipping creating Discovery Arbitration Mailbox because of insufficient permission."
}
}
" was run: "Microsoft.Exchange.Data.D
Error:
The following error was generated when "$error.Clear();
if (($RoleIsDatacenter -ne $true) -and ($RoleIsDatacenterDedicate
{
if (test-ExchangeServersWrite
{
$sysMbx = $null;
$name = "SystemMailbox{e0dc1c29-89
$dispname = "Microsoft Exchange";
$mbxs = @( get-mailbox -arbitration -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1 );
if ( $mbxs.length -eq 0)
{
$dbs = @(get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
if ($dbs.Length -ne 0)
{
$arbUsers = @(get-user -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
if ($arbUsers.Length -ne 0)
{
$sysMbx = enable-mailbox -Arbitration -identity $arbUsers[0] -DisplayName $dispname -database $dbs[0].Identity;
}
}
}
else
{
if ($mbxs[0].DisplayName -ne $dispname )
{
set-mailbox -Arbitration -identity $mbxs[0] -DisplayName $dispname -Force;
}
$sysMbx = $mbxs[0];
}
# Set the Organization Capabilities needed for this mailbox
if ($sysMbx -ne $null)
{
Write-ExchangeSetupLog -Info ("Setting mailbox properties.");
set-mailbox -Arbitration -identity $sysMbx -UMDataStorage:$true -Force;
# No RetentionPolicy assigned to E-Discovery arbitration mailbox currently, we need to set it here.
# This can be remove after BUG(O15#2555914) is fixed.
if ($sysMbx.RetentionPolicy -eq $null )
{
$arbitrationRetentionPolic
set-mailbox -Arbitration -identity $sysMbx -RetentionPolicy $arbitrationRetentionPolic
}
}
else
{
Write-ExchangeSetupLog -Info ("Cannot find E-discovery arbitration mailbox with name=$name.");
}
}
else
{
write-exchangesetuplog -info "Skipping creating Discovery Arbitration Mailbox because of insufficient permission."
}
}
" was run: "Microsoft.Exchange.Data.D
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
Error:
The following error was generated when "$error.Clear();
if (($RoleIsDatacenter -ne $true) -and ($RoleIsDatacenterDedicate
{
if (test-ExchangeServersWrite
{
$sysMbx = $null;
$name = "SystemMailbox{e0dc1c29-89
$dispname = "Microsoft Exchange";
$mbxs = @( get-mailbox -arbitration -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1 );
if ( $mbxs.length -eq 0)
{
$dbs = @(get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
if ($dbs.Length -ne 0)
{
$arbUsers = @(get-user -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
if ($arbUsers.Length -ne 0)
{
$sysMbx = enable-mailbox -Arbitration -identity $arbUsers[0] -DisplayName $dispname -database $dbs[0].Identity;
}
}
}
else
{
if ($mbxs[0].DisplayName -ne $dispname )
{
set-mailbox -Arbitration -identity $mbxs[0] -DisplayName $dispname -Force;
}
$sysMbx = $mbxs[0];
}
# Set the Organization Capabilities needed for this mailbox
if ($sysMbx -ne $null)
{
Write-ExchangeSetupLog -Info ("Setting mailbox properties.");
set-mailbox -Arbitration -identity $sysMbx -UMDataStorage:$true -Force;
# No RetentionPolicy assigned to E-Discovery arbitration mailbox currently, we need to set it here.
# This can be remove after BUG(O15#2555914) is fixed.
if ($sysMbx.RetentionPolicy -eq $null )
{
$arbitrationRetentionPolic
set-mailbox -Arbitration -identity $sysMbx -RetentionPolicy $arbitrationRetentionPolic
}
}
else
{
Write-ExchangeSetupLog -Info ("Cannot find E-discovery arbitration mailbox with name=$name.");
}
}
else
{
write-exchangesetuplog -info "Skipping creating Discovery Arbitration Mailbox because of insufficient permission."
}
}
" was run: "Microsoft.Exchange.Data.D
Error:
The following error was generated when "$error.Clear();
if (($RoleIsDatacenter -ne $true) -and ($RoleIsDatacenterDedicate
{
if (test-ExchangeServersWrite
{
$sysMbx = $null;
$name = "SystemMailbox{e0dc1c29-89
$dispname = "Microsoft Exchange";
$mbxs = @( get-mailbox -arbitration -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1 );
if ( $mbxs.length -eq 0)
{
$dbs = @(get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
if ($dbs.Length -ne 0)
{
$arbUsers = @(get-user -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
if ($arbUsers.Length -ne 0)
{
$sysMbx = enable-mailbox -Arbitration -identity $arbUsers[0] -DisplayName $dispname -database $dbs[0].Identity;
}
}
}
else
{
if ($mbxs[0].DisplayName -ne $dispname )
{
set-mailbox -Arbitration -identity $mbxs[0] -DisplayName $dispname -Force;
}
$sysMbx = $mbxs[0];
}
# Set the Organization Capabilities needed for this mailbox
if ($sysMbx -ne $null)
{
Write-ExchangeSetupLog -Info ("Setting mailbox properties.");
set-mailbox -Arbitration -identity $sysMbx -UMDataStorage:$true -Force;
# No RetentionPolicy assigned to E-Discovery arbitration mailbox currently, we need to set it here.
# This can be remove after BUG(O15#2555914) is fixed.
if ($sysMbx.RetentionPolicy -eq $null )
{
$arbitrationRetentionPolic
set-mailbox -Arbitration -identity $sysMbx -RetentionPolicy $arbitrationRetentionPolic
}
}
else
{
Write-ExchangeSetupLog -Info ("Cannot find E-discovery arbitration mailbox with name=$name.");
}
}
else
{
write-exchangesetuplog -info "Skipping creating Discovery Arbitration Mailbox because of insufficient permission."
}
}
" was run: "Microsoft.Exchange.Data.D
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
ExchangeSetup.txt
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.