none
Update Exchange 2016 - Exchange 2016 Cu1 -- Mailbox - Role Service RRS feed

  • Allgemeine Diskussion

  • Hi, i have an error when in will make the Update.

    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.Data.Directory.SystemConfiguration.TenantConfigurationCache`1.GetValue(OrganizationId orgId)

    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__b()

    at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".

    Freitag, 8. April 2016 10:21

Alle Antworten

  • Moin,

    der Fehler ist das hier:

    Microsoft.Exchange.Data.DataValidationException: Database is mandatory on UserMailbox

    Führe in der EMS einen "Get-Mailbox -resultsize unlimited  ft Identity,Database" aus.

    Du wirst dann bei mindestens einer Mailbox einen Fehlermeldung bekommen, dass "Database" nicht gefüllt ist.

    Je nach Mailbox kannst Du dann entscheiden, ob Du sie löschst oder mit "Set-Mailbox IDENTITY -Database XXX" eine neue Mailbox einträgst.

    Es scheint so, als hätte es mal einen anderen Exchange gegeben und hier wurde die Migration nicht korrekt bis zum Ende durchgezogen.


    Gruesse aus Berlin schickt Robert - MVP Office Servers and Services (Exchange Server)

    Freitag, 8. April 2016 10:55
  • Hallo,

    Danke,

    ich komme irgendwie nicht weiter, jetzt kommt das

    Database is mandatory on UserMailbox.
        + CategoryInfo          : NotSpecified: (:) [Get-Mailbox], DataValidationException
        + FullyQualifiedErrorId : [Server=DE06SR067,RequestId=66c6847c-ec2e-4e43-a1a6-4d918782a2f2,TimeStamp=08.04.2016 12
       :12:50] [FailureCategory=Cmdlet-DataValidationException] B15CF5D8,Microsoft.Exchange.Management.RecipientTasks.Get
      Mailbox
        + PSComputerName        : de06sr067.epg.global

    Freitag, 8. April 2016 12:15