Mailbox role: Mailbox service error

When installing exchange 2013, I am getting the following error...

            

Error:
The following error was generated when "$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]::DiscoveryManagement_InitInfo.WellKnownGuid;
          $dmRoleGroup = Get-RoleGroup -Identity $dmRoleGroupGuid -DomainController $RoleDomainController -ErrorAction:SilentlyContinue;
          if( $dmRoleGroup -ne $null )
          {
            trap [Exception]
            {
              Add-MailboxPermission $dismbx -User $dmRoleGroup.Name -AccessRights FullAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue;
              continue;
            }

            Add-MailboxPermission $dismbx -User $dmRoleGroup.Identity -AccessRights FullAccess -DomainController $RoleDomainController -WarningAction SilentlyContinue;
          }
          }
          }
          }
        " was run: "Couldn't resolve the user or group "bartlett.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.".

Any help would be greatly appreciated

September 10th, 2015 4:45pm

Is this the first Exchange 2013 server being installed?

Does the group mentioned actually exist?

Simon.

Free Windows Admin Tool Kit Click here and download it now
September 10th, 2015 5:52pm

Hi,

Check this similar thread:

https://social.technet.microsoft.com/forums/exchange/en-US/8ddb22c5-0ed8-47bf-9519-b8eb66f61841/exchange-2013-coexistence-2010-problem

Best Regards.

September 11th, 2015 5:52am

It is, and it does. I have actually found and corrected the issue. 

The answer was to delete the DiscoverySearchMailbox user and continue the process. Once it was completed, rerun the adprep , Which put the user back in. 

It is all working now. 

Free Windows Admin Tool Kit Click here and download it now
September 11th, 2015 10:09am

The answer was to delete the DiscoverySearchMailbox user and continue the process. Once it was completed, rerun the adprep , Which put the user back in. 

It is all working now. 

September 11th, 2015 10:10am

The answer was to delete the DiscoverySearchMailbox user and continue the process. Once it was completed, rerun the adprep , Which put the user back in. 

It is all working now. 

Free Windows Admin Tool Kit Click here and download it now
September 11th, 2015 2:09pm

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

Other recent topics Other recent topics