Quantcast
Channel: Exchange Server 2013 - General Discussion forum
Viewing all articles
Browse latest Browse all 4521

EX2013 CU14 upgrading to CU15 error

$
0
0

Putting CU15 on Exchange 2013 CU14 breaked with this errror (see bellow).

Any suggestions?

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: "Microsoft.Exchange.Management.Tasks.SetArchivePermissionException: Setting the permission on the archive mailbox failed for 'DiscoverySearchMailbox {D919BA05-46A6-415f-80AD-7E09334BB852}'. Run the command again after resolving the issue. Exception: An error "MapiExceptionMdbOffline: Unable to clear Absent In DS flag on mailbox object (hr=0x80004005, ec=1142)
Diagnostic context:
    Lid: 65256 
    Lid: 1911    StoreEc: 0x476    
    Lid: 1494    ---- Remote Context Beg ----
    Lid: 38525   StoreEc: 0x476    
    Lid: 17512   StoreEc: 0x476    
    Lid: 34221   StoreEc: 0x476    
    Lid: 1750    ---- Remote Context End ----
    Lid: 9698    StoreEc: 0x476     " occurred while refreshing the following mailbox. Specified mailbox: "8fbeb377-44aa-423b-829a-e3fd058dfcfb".
   at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
   at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target, Boolean reThrow)
   at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(LocalizedException exception, ExchangeErrorCategory category, Object target)
   at Microsoft.Exchange.Management.Common.PermissionTaskHelper.SaveArchiveSecurityDescriptor(ADUser mailbox, IConfigDataProvider writableAdSession, RawSecurityDescriptor rawSd, TaskVerboseLoggingDelegate logVerbose, ErrorLoggerDelegate logError)
   at Microsoft.Exchange.Management.Common.PermissionTaskHelper.SaveMailboxSecurityDescriptor(ADUser mailbox, ActiveDirectorySecurity adSecurity, IConfigDataProvider writableAdSession, MapiMessageStoreSession& storeSession, TaskVerboseLoggingDelegate logVerbose, ErrorLoggerDelegate logError)
   at Microsoft.Exchange.Management.RecipientTasks.AddMailboxPermission.ApplyModification(ADUser modifiedObject, ActiveDirectoryAccessRule[] modifiedAces, IConfigDataProvider modifyingSession)
   at Microsoft.Exchange.Management.RecipientTasks.SetMailboxPermissionTaskBase.InternalEndProcessing()
   at Microsoft.Exchange.Configuration.Tasks.Task.<EndProcessing>b__8()
   at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".


bostjanc


Viewing all articles
Browse latest Browse all 4521

Trending Articles