mavboss

The MavBoss Blog!

  • HOME
  • Utili
  • About
  • DbWebPart

Error upgrading from Exchange 2007/2010 to 2013

Pubblicato da mavboss in luglio 11, 2014
Pubblicato in: Uncategorized.

When you’re upgrading Exchange 2010 to a higher Service Pack  or when installing Exchange 2013, you can find yourself getting the following error when the mailbox role is being installed. This can be during any of the Exchange 2010 Service Pack installations, so Exchange 2010 SP1, Exchange 2010 SP2, Exchange 2010 SP3 or during an installation of Exchange 2013 CU1 .

The following error is generated, this is the full error displayed on screen:

“$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 “Mounting database before stamp DiscoverySearchMailbox Permission…”;
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 -AccessRights FullAccess -DomainController $RoleDomainController -WarningAction SilentlyContinue;
}
}
}
}
” was run: “Couldn’t resolve the user or group “domain.local/Microsoft Exchange Security Groups/Discovery Management.” If the user or group is a foreign forest principal, you must have either a two-way trust or an outgoing trust.”.

The trust relationship between the primary domain and the trusted domain failed.

The installation fails and you cannot continue at this moment.

Resolution

There are 2 ways to resolve this issue:

  1. Disable the Discovery Search mailbox and re-enable it after installation.
    Disable-Mailbox “DiscoverySearchMailbox {D919BA05-46A6-415f-80AD-7E09334BB852}”
    Install Exchange
    Enable-Mailbox “DiscoverySearchMailbox {D919BA05-46A6-415f-80AD-7E09334BB852}” -Arbitration
    Add-MailboxPermission -Identity:”domain.local/Users/DiscoverySearchMailbox {D919BA05-46A6-415f-80AD-7E09334BB852}” -User:”Discovery Management” -AccessRights:”FullAccess”
  2. Delete DiscoverysearchmailboxDelete the  Discovery Search mailbox user from Active Directory.  Start your Active Directory Users and Computers mmc and look for your Discovery Search Mailbox user. Default this user will be placed in the Users organizational unit. It will be named something like: DiscoverySearchMailbox{D919BA05-46A6-415f-80AD-7E09334BB852}. After deletion you can restart the installation of your Exchange Service Pack. It will not show the error anymore.
    To recreate the user use: setup /PrepareAD /IAcceptExchangeServerLicenseTerms

 

http://www.fots.nl/index.php/exchange-2010-or-exchange-2013-couldnt-resolve-the-user-or-group/

Share this:

  • Stampa
  • E-mail
  • Altro
  • Facebook
  • LinkedIn
  • Twitter

Mi piace:

Mi piace Caricamento...

Correlati

Navigazione articoli

← Demote e Promote a Windows Server 2008 R2 DC with replica problems
Relay on Exchange Server 2013 →
  • My Calendar

    luglio: 2014
    L M M G V S D
     123456
    78910111213
    14151617181920
    21222324252627
    28293031  
    « Giu   Ott »
  • Categorie

    • AD e DNS
    • ADFS
    • Azure
    • C#
    • Casa
    • DbWebPart
    • Exchange
    • FTP
    • HTML/CSS
    • Hyper-V
    • JavaScript
    • Lync
    • NetWork
    • Office 365
    • Outlook
    • PowerShell
    • Programmazione
    • Rete
    • Server
    • Sharepoint 2010
    • Skype for Business
    • SQL
    • SW
    • SW Vari
    • Symantec Endpoint Protection
    • System Center 2012 SP1
    • TMG
    • Ubuntu
    • Uncategorized
    • VMWare
    • WAP
    • windows
    • Windows 7
    • Windows 8
    • Windows Client & Server
    • Windows Phone 7
    • Windows Server 2008
    • Windows Server 2008 R2
    • Windows Server 2012
    • Windows Server 2012 Essential
    • Windows Server 2012 R2
    • Windows XP
    • WSUS
Crea un sito o un blog gratuito su WordPress.com.
Annulla

Devi effettuare l'accesso per postare un commento.

Caricamento commenti...
Commento
    ×
    loading Annulla
    L'articolo non è stato pubblicato, controlla gli indirizzi e-mail!
    Verifica dell'e-mail non riuscita. Riprova.
    Ci dispiace, il tuo blog non consente di condividere articoli tramite e-mail.
    Privacy e cookie: Questo sito utilizza cookie. Continuando a utilizzare questo sito web, si accetta l’utilizzo dei cookie.
    Per ulteriori informazioni, anche sul controllo dei cookie, leggi qui: Informativa sui cookie
    %d blogger hanno fatto clic su Mi Piace per questo: