Quantcast
Channel: Exchange Server 2013 - Setup, Deployment, Updates, and Migration forum
Viewing all articles
Browse latest Browse all 7129

Migrating from Exchange 2010 to 2013. Step 10 of 14: Mailbox Role. Mailbox Service

$
0
0

I get the error below when installing exchange 2013 in my Exchange 2010 Environment.

Error:
The following error was generated when "$error.Clear();
          if (!$RoleIsDatacenter)
          {
              $mailboxId = [Microsoft.Exchange.Management.Migration.MigrationBatchIdParameter]::MigrationMailboxName;
              $dispName = "Microsoft Exchange Migration";
              $mbxs = @(Get-Mailbox -Arbitration -DomainController $RoleDomainController -Filter {Name -eq $mailboxId});
              $migrationMailbox = $null;

              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=$mailboxId.");
                      $arbUsers = @(Get-User -Filter {Name -eq $mailboxId} -IgnoreDefaultScope -ResultSize 1);
                      if ($arbUsers.Length -ne 0)
                      {
                          Write-ExchangeSetupLog -Info ("Enabling mailbox $mailboxId.");
                          $migrationMailbox = Enable-Mailbox -Arbitration -Identity $arbUsers[0] -DisplayName $dispName -database $dbs[0].Identity;
                      }
                  }
              }
              else
              {
                  $migrationMailbox = $mbxs[0];
              }

              # Set the Organization Capabilities and quotas needed for this mailbox
              if ($migrationMailbox -ne $null)
              {
                  Set-Mailbox -Arbitration -Identity $migrationMailbox -ProhibitSendReceiveQuota 300MB -ProhibitSendQuota 300MB -IssueWarningQuota 150MB -RecoverableItemsQuota 30GB -RecoverableItemsWarningQuota 20GB -UseDatabaseQuotaDefaults $false -SCLDeleteEnabled $false -SCLJunkEnabled $false -SCLQuarantineEnabled $false -SCLRejectEnabled $false -HiddenFromAddressListsEnabled $true -DisplayName $dispName -Management:$true -Force;
              }
              else
              {
                  Write-ExchangeSetupLog -Info ("Cannot find migration mailbox with name=$mailboxId.");
              }
          }
        " was run: "Database is mandatory on UserMailbox.".

Error:
The following error was generated when "$error.Clear();
          if (!$RoleIsDatacenter)
          {
              $mailboxId = [Microsoft.Exchange.Management.Migration.MigrationBatchIdParameter]::MigrationMailboxName;
              $dispName = "Microsoft Exchange Migration";
              $mbxs = @(Get-Mailbox -Arbitration -DomainController $RoleDomainController -Filter {Name -eq $mailboxId});
              $migrationMailbox = $null;

              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=$mailboxId.");
                      $arbUsers = @(Get-User -Filter {Name -eq $mailboxId} -IgnoreDefaultScope -ResultSize 1);
                      if ($arbUsers.Length -ne 0)
                      {
                          Write-ExchangeSetupLog -Info ("Enabling mailbox $mailboxId.");
                          $migrationMailbox = Enable-Mailbox -Arbitration -Identity $arbUsers[0] -DisplayName $dispName -database $dbs[0].Identity;
                      }
                  }
              }
              else
              {
                  $migrationMailbox = $mbxs[0];
              }

              # Set the Organization Capabilities and quotas needed for this mailbox
              if ($migrationMailbox -ne $null)
              {
                  Set-Mailbox -Arbitration -Identity $migrationMailbox -ProhibitSendReceiveQuota 300MB -ProhibitSendQuota 300MB -IssueWarningQuota 150MB -RecoverableItemsQuota 30GB -RecoverableItemsWarningQuota 20GB -UseDatabaseQuotaDefaults $false -SCLDeleteEnabled $false -SCLJunkEnabled $false -SCLQuarantineEnabled $false -SCLRejectEnabled $false -HiddenFromAddressListsEnabled $true -DisplayName $dispName -Management:$true -Force;
              }
              else
              {
                  Write-ExchangeSetupLog -Info ("Cannot find migration mailbox with name=$mailboxId.");
              }
          }
        " was run: "Database is mandatory on UserMailbox. Property Name: Database".


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>