Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Error upgrading Exchange 2013 to higher CU: unable to resolve user or group

2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Recently, when I was doing a small version upgrade of Exchange, I encountered the following error when I was doing one of them. Let's take a look!

Problem description:

When upgrading Exchange 2013 to a higher Service Pack or installing Exchange 2013, you may find yourself receiving the following error when installing the mailbox role.

The following is the complete error message:

"$error.Clear (); $name = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]:: DiscoveryMailboxUniqueName; $dispname = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]:: DiscoveryMailboxDisplayName; $dismbx = get-mailbox-Filter {name-eq $name}-IgnoreDefaultScope-resultSize 1; if ($dismbx-ne $null) {$srvname = $dismbx.ServerName; if ($dismbx.Database-ne $null-and $RoleFqdnOrName-like" $srvname. * ") {Write-ExchangeSetupLog-info" Setup DiscoverySearchMailbox Permission. " ; $mountedMdb = get-mailboxdatabase $dismbx.Database-status | where {$_ .Mounted-eq $true}; if ($mountedMdb-eq $null) {Write-ExchangeSetupLog-info "Mount the database before discovering DiscoverySearchMailbox permissions."; mount-database $dismbx.Database;} $mountedMdb = get-mailboxdatabase $dismbx.Database-status | where {$_ .Mounted-eq $true}; if ($mountedMdb-ne $null) {$dmRoleGroupGuid = [Microsoft.Exchange.Data.Directory.Management.RoleGroup]:: DiscoveryManagementWkGuid $dmRoleGroup = Get-RoleGroup-Identity $dmRoleGroupGuid-DomainController $RoleDomainController-ErrorAction:SilentlyContinue; if ($dmRoleGroup-ne $null) {Add-MailboxPermission $dismbx-User $dmRoleGroup.Identity-Acce***ights FullAccess-DomainController $RoleDomainController-WarningAction SilentlyContinue;} "run: unable to resolve users or groups" domain.local / Microsoft Exchange Security Group / Discovery Management. If the user or group is an external forest principal, it must have two-way trust or outgoing trust. " . The trust relationship between the primary domain and trusted domain failed. Solution:

There are two ways to solve this problem:

Disable the Discovery Search mailbox and re-enable it after installation.

Disable-Mailbox "DiscoverySearchMailbox {D919BA05-46A6-415f-80AD-7E09334BB852}"

Enter a command

Enable-Mailbox "DiscoverySearchMailbox {D919BA05-46A6-415f-80AD-7E09334BB852}"-Arbitration Add-MailboxPermission-Identity: "domain.local/Users/DiscoverySearchMailbox {D919BA05-46A6-415f-80AD-7E09334BB852}"-User: "Discovery Management"-Acce***ights: "FullAccess" deletes Discoverysearchmailbox found search mailbox users.

Start the Active Directory user and computer and find the Discovery Search mailbox user. By default, this user will be placed in the user organizational unit. Its name is: DiscoverySearchMailbox {D919BA05-46A6-415f-80AD-7E09334BB852}. After removal, you can restart the installation of Exchange Service Pack. It no longer displays errors.

To recreate the user, use: Setup.exe / PrepareAD / OrganizationName: "First Organization" / IAcceptExchangeServerLicenseTerms

So that the installation is complete.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report