none
Migrating exchange server environment from 2010 to 2013 RRS feed

  • Question

  • When i try installing the Exchange 2013 in the 2010 environment, I get the following errors. I need help.

                    Write-ExchangeSetupLog -Info "Retention policy tag '$($rptNames[$i])' exist and it is a system tag, set it to non-system tag."

                    Set-RetentionPolicyTag -Identity $archiveRPT.Identity -SystemTag:$false;

                  }

                }

              }

              $deleteRptNames = $tagConstant::OneWeekDelete,`

                                $tagConstant::OneMonthDelete,`

                                $tagConstant::SixMonthDelete,`

                                $tagConstant::OneYearDelete,`

                                $tagConstant::FiveYearDelete,`

                                $tagConstant::NeverDelete;

              $deleteRptTypes = 'Personal', 'Personal', 'Personal', 'Personal', 'Personal', 'Personal';

              $deleteRptMCs = '*', '*', '*', '*', '*', '*';

              $deleteRptAges = '7', '30', '180', '365', '1825', '0';

              for($i=0; $i -lt $deleteRptNames.Length; $i++)

              {

                [Guid] $retentionId = $tagGuidMap[$deleteRptNames[$i]];

                $deleteRPT = Get-RetentionPolicyTag -IncludeSystemTags -DomainController $RoleDomainController | where {$_.Name -eq $deleteRptNames[$i] -or $_.RetentionId -eq $retentionId};

                if ( !$deleteRPT )

                {

                  Write-ExchangeSetupLog -Info "Retention policy tag '$($deleteRptNames[$i])' does not exist, create new."

                  if( $i -ne $deleteRptNames.Length-1 )

                  {

                    new-RetentionPolicyTag -Name $deleteRptNames[$i] -Type $deleteRptTypes[$i] -SystemTag:$false -RetentionEnabled:$true -RetentionAction DeleteAndAllowRecovery -AgeLimitForRetention $deleteRptAges[$i] -MessageClass $deleteRptMCs[$i] -DomainController $RoleDomainController -RetentionId $retentionId;

                  }

                  else

                  {

                    new-RetentionPolicyTag -Name $deleteRptNames[$i] -Type $deleteRptTypes[$i] -SystemTag:$false -RetentionEnabled:$false -RetentionAction DeleteAndAllowRecovery -MessageClass $deleteRptMCs[$i] -DomainController $RoleDomainController -RetentionId $retentionId;

                  }

                }

              }

              $dumpsterRPTName = $tagConstant::RecoverableItemsFourteenDaysMoveToArchive;

              [Guid] $retentionId = $tagGuidMap[$dumpsterRPTName];

              $dumpsterRPT = Get-RetentionPolicyTag -DomainController $RoleDomainController | where {$_.Name -eq $dumpsterRPTName -or $_.RetentionId -eq $retentionId};

              if (!$dumpsterRPT)

              {

                New-RetentionPolicyTag -Name $dumpsterRPTName -Type RecoverableItems -RetentionAction MoveToArchive -AgeLimitForRetention 14 -DomainController $RoleDomainController -RetentionId $retentionId;

              }

              else

              {

                Write-ExchangeSetupLog -warning "Was not able to create new RecoverableItems tag because a tag with the name '$dumpsterRPTName' already exists. Please run 'new-RetentionPolicyTag -Type RecoverableItems' to create a RecoverableItems tag."

              }

              $policyName = [Microsoft.Exchange.Management.Common.RecipientConstants]::DefaultArchiveAndRetentionPolicyName;

              $defaultArchivePolicy = Get-RetentionPolicy -DomainController $RoleDomainController | where {$_.Name -eq $policyName};

              if ( !$defaultArchivePolicy )

              {

                Write-ExchangeSetupLog -Info "Retention policy '$($policyName)' does not exist, create new."

                new-RetentionPolicy -Name $policyName -RetentionPolicyTagLinks $rptNames[0],$rptNames[1],$rptNames[2],$rptNames[3],$dumpsterRPTName,$deleteRptNames[0],$deleteRptNames[1],$deleteRptNames[2],$deleteRptNames[3],$deleteRptNames[4],$deleteRptNames[5]  -DomainController $RoleDomainController;

              }

            " was run: "Unable to execute the task, reason: RetentionPolicy 'Default MRM Policy' has a conflicting MessageClass '*' for linked default RetentionPolicyTags. Please correct and retry.".

    Thanks in advance!

    Thursday, December 11, 2014 8:27 PM