Forum Discussion
Exchange 2010 to 2019 problems
If you do that, you might then be able to work from Exchange 2010 Powershell to mail-enable.
I had to recently do the opposite, where I changed a 2010-versioned user to be 2016's version number (did it via Attribute Editor tab in ADUC). This allowed me to do Enable-RemoteMailbox -Archive from an Exchange 2016 PowerShell which was failing prior to the change due to the Exchange version of the recipient being 2010. I only state this recent experience because it was a successful trick that Exchange was fooled by. So I'm hopeful you might get lucky too.
Setup was almost done but than this popped up :
I tried this https://docs.microsoft.com/en-us/exchange/architecture/mailbox-servers/recreate-arbitration-mailboxes?view=exchserver-2019
Get-Mailbox "SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}" -Arbitration | Set-Mailbox -Arbitration -UMGrammar $true -OABGen $true -GMGen $true -ClientExtensions $true -MessageTracking $true -PstProvider $true -MaxSendSize 1GB -Force3
$OABMBX = Get-Mailbox "SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}" -Arbitration; Set-ADUser $OABMBX.SamAccountName -Add @{"msExchCapabilityIdentifiers"="40","42","43","44","47","51","52","46"}
But i cant do this 2 commands i get this error instead on the powershell :
This task does not support recipients of this type. The specified recipient office.local/Users/SystemMailbox{bb558c35-9
7f1-4cb9-8ff7-d53741dc928c} is of type UserMailbox. Please make sure that this recipient matches the required recipient
type for this task.
A positional parameter cannot be found that accepts argument 'True'.
Exchange install error :
Error:
The following error was generated when "$error.Clear();
if ($RoleIsDatacenter -ne $true -and $RoleIsDatacenterDedicated -ne $true)
{
if (Test-ExchangeServersWriteAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue)
{
$sysMbx = $null;
$name = "SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}";
$dispName = "Microsoft Exchange";
Write-ExchangeSetupLog -Info ("Retrieving mailboxes with Name=$name.");
$mbxs = @(Get-Mailbox -Arbitration -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1 );
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=$name.");
$arbUsers = @(Get-User -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
if ($arbUsers.Length -ne 0)
{
Write-ExchangeSetupLog -Info ("Enabling mailbox $name.");
$sysMbx = Enable-Mailbox -Arbitration -Identity $arbUsers[0] -DisplayName $dispName -database $dbs[0].Identity;
}
}
}
else
{
if ($mbxs[0].DisplayName -ne $dispName )
{
Write-ExchangeSetupLog -Info ("Setting DisplayName=$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)
{
# We need 1 GB for uploading large OAB files to the organization mailbox
Write-ExchangeSetupLog -Info ("Setting mailbox properties.");
set-mailbox -Arbitration -identity $sysMbx -UMGrammar:$true -OABGen:$true -GMGen:$true -ClientExtensions:$true -MailRouting:$true -MessageTracking:$true -PstProvider:$true -MaxSendSize 1GB -Force;
Write-ExchangeSetupLog -Info ("Configuring offline address book(s) for this mailbox");
Get-OfflineAddressBook | where {$_.ExchangeVersion.CompareTo([Microsoft.Exchange.Data.ExchangeObjectVersion]::Exchange2012) -ge 0 -and $_.GeneratingMailbox -eq $null} | Set-OfflineAddressBook -GeneratingMailbox $sysMbx.Identity;
}
else
{
Write-ExchangeSetupLog -Info ("Cannot find arbitration mailbox with name=$name.");
}
}
else
{
Write-ExchangeSetupLog -Info "Skipping creating E15 System Mailbox because of insufficient permission."
}
}
" was run: "Microsoft.Exchange.Data.DataValidationException: Database is mandatory on UserMailbox.
at Microsoft.Exchange.Data.Directory.SystemConfiguration.TenantConfigurationCacheableItem`1.TryRunADOperation(ADOperation operation, Boolean throwExceptions)
at Microsoft.Exchange.Data.Directory.SystemConfiguration.TenantConfigurationCacheableItem`1.Initialize(OrganizationId organizationId, CacheNotificationHandler cacheNotificationHandler, Object state)
at Microsoft.Exchange.Data.Directory.SystemConfiguration.TenantConfigurationCache`1.InitializeAndAddPerTenantSettings(OrganizationId orgId, Boolean allowExceptions, TSettings& perTenantSettings, Object state)
at Microsoft.Exchange.Data.Directory.SystemConfiguration.TenantConfigurationCache`1.TryGetValue(OrganizationId orgId, Boolean allowExceptions, TSettings& perTenantSettings, Boolean& hasExpired, Object state)
at Microsoft.Exchange.Management.RecipientTasks.GetMailbox.ConvertDataObjectToPresentationObject(IConfigurable dataObject)
at Microsoft.Exchange.Configuration.Tasks.GetRecipientObjectTask`2.WriteResult(IConfigurable dataObject)
at Microsoft.Exchange.Configuration.Tasks.GetTaskBase`1.WriteResult[T](IEnumerable`1 dataObjects)
at Microsoft.Exchange.Configuration.Tasks.GetTaskBase`1.InternalProcessRecord()
at Microsoft.Exchange.Configuration.Tasks.GetObjectWithIdentityTaskBase`2.InternalProcessRecord()
at Microsoft.Exchange.Configuration.Tasks.GetRecipientObjectTask`2.InternalProcessRecord()
at Microsoft.Exchange.Management.RecipientTasks.GetRecipientWithAddressListBase`2.InternalProcessRecord()
at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__91_1()
at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".
- JeremyTBradshawJul 09, 2021Steel Contributor
DutchAdmin12 I'm still in guessing mode on this one but I'm hoping you can update msExchRecpientTypeDetails via AD to be 8388608 (Arbitration mailbox) and msExchRecipientDisplayType to 10.
Here's my Exchange 2019's same arbitration mailbox's mxExch* properties:
[PS] C:\Windows\system32>Get-ADUser 80ac15b9-b6ae-4ca2-94e0-8d4db0d86023 -Properties * |fl Name, msExch* Name : SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c} msExchAddressBookFlags : 1 msExchApprovalApplicationLink : {CN=ModeratedRecipients,CN=Approval Applications,CN=<removed>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<removed>, CN=AutoGroup,CN=Approval Applications,CN=<removed>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<removed>} msExchArchiveQuota : 104857600 msExchArchiveWarnQuota : 94371840 msExchBypassAudit : False msExchCalendarLoggingQuota : 6291456 msExchCapabilityIdentifiers : {46, 52, 51, 47, 44, 43, 42, 40} msExchDumpsterQuota : 31457280 msExchDumpsterWarningQuota : 20971520 msExchELCMailboxFlags : 130 msExchGroupSecurityFlags : 0 msExchHideFromAddressLists : True msExchHomeServerName : /o=<removed>/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=<removed> msExchMailboxAuditEnable : False msExchMailboxAuditLogAgeLimit : 7776000 msExchMailboxFolderSet : 0 msExchMailboxGuid : {234, 11, 88, 249, 80, 254, 202, 79, 182, 215, 137, 18, 105, 218, 216, 57} msExchMailboxSecurityDescriptor : System.DirectoryServices.ActiveDirectorySecurity msExchMailboxTemplateLink : CN=ArbitrationMailbox,CN=Retention Policies Container,CN=<removed>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<removed> msExchMasterAccountSid : S-1-5-10 msExchModerationFlags : 6 msExchOABGeneratingMailboxBL : {<removed>} msExchPoliciesIncluded : {e77cacd8-09b2-4104-bc84-4be9f4420965, {26491cfc-9e50-4857-861b-0cb8df22b5d7}} msExchProvisioningFlags : 0 msExchRecipientDisplayType : 10 msExchRecipientSoftDeletedStatus : 0 msExchRecipientTypeDetails : 8388608 msExchRequireAuthToSendTo : True msExchTextMessagingState : {302120705, 16842751} msExchTransportRecipientSettingsFlags : 0 msExchUMDtmfMap : {emailAddress:797836624526922558235973142298337353741329282, lastNameFirstName:797836624526922558235973142298337353741329282, firstNameLastName:797836624526922558235973142298337353741329282} msExchUMEnabledFlags2 : -1 msExchUserAccountControl : 2 msExchVersion : 88218628259840 msExchWhenMailboxCreated : 6/23/2020 3:08:47 PM
msExchMailboxTemplateLink looks potentially-important, but I wouldn't change it until you test after only changing msExchRecipientTypeDetails to be 8388608 and msExchRecipientDisplayType to 10.
- DutchAdmin12Jul 12, 2021Copper Contributor
JeremyTBradshaw Thank you for the reply.
I checked the atrributes and there exactly the same. Looks like my AD or something is corrupted or not accesible.
Deleted my previous post because I got it working somewhat on one thing.
I reinstalled a new server and tried some new things and now my powershell in 2016 is working.
The last error i am getting is this :
Get-Mailbox "SystemMailbox{bb558c35-97f1-4cb
9-8ff7-d53741dc928c}" -Arbitration | Set-Mailbox -Arbitration -UMGrammar $true -OABGen $true -GMGen $true -ClientExtensions $true -Me
ssageTracking $true -PstProvider $true -MaxSendSize 1GB -Force
Database is mandatory on UserMailbox.
+ CategoryInfo : NotSpecified: (:) [Get-Mailbox], DataValidationException
+ FullyQualifiedErrorId : [Server=SERVER4,RequestId=c55077e4-93e6-419b-b0eb-8c3b7b5c2b01,TimeStamp=7/13/2021 8:17:17 AM] [Failu
reCategory=Cmdlet-DataValidationException] 58A4C656,Microsoft.Exchange.Management.RecipientTasks.GetMailbox
+ PSComputerName : server4.office.localHomeDB is filled in on BB558 arbitration mailbox.
I am so close to fixing it 🙂