Solved

Exchange Migration SBS2008 to SBS2011 Public Folders

Posted on 2014-10-30
9
310 Views
Last Modified: 2014-11-09
I am in the final stages of migration from Exchange 2007 (SBS 2008) to Exchange 2010 (SBS 2011) and getting an unusual error trying to move the replicas:

Exchange PS:
.\moveallreplicas.ps1 -server sbs2008 -newserver sbs2011 - then all this comes up in RED

Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceReplicaOnPFRecursi
ve.ps1:147 char:24
+         $_ | set-publicfolder <<<<  -server $_.OriginatingServer;
    + CategoryInfo          : InvalidOperation: (\:PublicFolderId) [Set-Public
   Folder], InvalidOperationException
    + FullyQualifiedErrorId : 80C4B8BB,Microsoft.Exchange.Management.MapiTasks
   .SetPublicFolder

Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceReplicaOnPFRecursi
ve.ps1:147 char:24
+         $_ | set-publicfolder <<<<  -server $_.OriginatingServer;
    + CategoryInfo          : InvalidOperation: (\NON_IPM_SUBTREE:PublicFolder
   Id) [Set-PublicFolder], InvalidOperationException
    + FullyQualifiedErrorId : 80C4B8BB,Microsoft.Exchange.Management.MapiTasks
   .SetPublicFolder

Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceReplicaOnPFRecursi
ve.ps1:147 char:24
+         $_ | set-publicfolder <<<<  -server $_.OriginatingServer;
    + CategoryInfo          : InvalidOperation: (\NON_IPM_SUBTREE\Events Root:
   PublicFolderId) [Set-PublicFolder], InvalidOperationException
    + FullyQualifiedErrorId : 80C4B8BB,Microsoft.Exchange.Management.MapiTasks
   .SetPublicFolder

Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceReplicaOnPFRecursi
ve.ps1:147 char:24
+         $_ | set-publicfolder <<<<  -server $_.OriginatingServer;
    + CategoryInfo          : InvalidOperation: (\NON_IPM_SUBTRE...ne Address
   Book:PublicFolderId) [Set-PublicFolder], InvalidOperationException
    + FullyQualifiedErrorId : 80C4B8BB,Microsoft.Exchange.Management.MapiTasks
   .SetPublicFolder

Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceReplicaOnPFRecursi
ve.ps1:147 char:24
+         $_ | set-publicfolder <<<<  -server $_.OriginatingServer;
    + CategoryInfo          : InvalidOperation: (\NON_IPM_SUBTRE...YDIBOHF23SP
   DLT):PublicFolderId) [Set-PublicFolder], InvalidOperationException
    + FullyQualifiedErrorId : 80C4B8BB,Microsoft.Exchange.Management.MapiTasks
   .SetPublicFolder

Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceReplicaOnPFRecursi
ve.ps1:147 char:24
+         $_ | set-publicfolder <<<<  -server $_.OriginatingServer;
    + CategoryInfo          : InvalidOperation: (\NON_IPM_SUBTRE...7-285F5E107
   2C4}:PublicFolderId) [Set-PublicFolder], InvalidOperationException
    + FullyQualifiedErrorId : 80C4B8BB,Microsoft.Exchange.Management.MapiTasks
   .SetPublicFolder

Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceReplicaOnPFRecursi
ve.ps1:147 char:24
+         $_ | set-publicfolder <<<<  -server $_.OriginatingServer;
    + CategoryInfo          : InvalidOperation: (\NON_IPM_SUBTRE...YDIBOHF23SP
   DLT):PublicFolderId) [Set-PublicFolder], InvalidOperationException
    + FullyQualifiedErrorId : 80C4B8BB,Microsoft.Exchange.Management.MapiTasks
   .SetPublicFolder

Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceReplicaOnPFRecursi
ve.ps1:147 char:24
+         $_ | set-publicfolder <<<<  -server $_.OriginatingServer;
    + CategoryInfo          : InvalidOperation: (\NON_IPM_SUBTREE\schema-root:
   PublicFolderId) [Set-PublicFolder], InvalidOperationException
    + FullyQualifiedErrorId : 80C4B8BB,Microsoft.Exchange.Management.MapiTasks
   .SetPublicFolder

Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceReplicaOnPFRecursi
ve.ps1:147 char:24
+         $_ | set-publicfolder <<<<  -server $_.OriginatingServer;
    + CategoryInfo          : InvalidOperation: (\NON_IPM_SUBTREE\schema-root\
   Default:PublicFolderId) [Set-PublicFolder], InvalidOperationException
    + FullyQualifiedErrorId : 80C4B8BB,Microsoft.Exchange.Management.MapiTasks
   .SetPublicFolder

Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceReplicaOnPFRecursi
ve.ps1:147 char:24
+         $_ | set-publicfolder <<<<  -server $_.OriginatingServer;
    + CategoryInfo          : InvalidOperation: (\NON_IPM_SUBTREE\schema-root\
   microsoft:PublicFolderId) [Set-PublicFolder], InvalidOperationException
    + FullyQualifiedErrorId : 80C4B8BB,Microsoft.Exchange.Management.MapiTasks
   .SetPublicFolder

Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceReplicaOnPFRecursi
ve.ps1:147 char:24
+         $_ | set-publicfolder <<<<  -server $_.OriginatingServer;
    + CategoryInfo          : InvalidOperation: (\NON_IPM_SUBTRE...soft\exchan
   geV1:PublicFolderId) [Set-PublicFolder], InvalidOperationException
    + FullyQualifiedErrorId : 80C4B8BB,Microsoft.Exchange.Management.MapiTasks
   .SetPublicFolder

Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceReplicaOnPFRecursi
ve.ps1:147 char:24
+         $_ | set-publicfolder <<<<  -server $_.OriginatingServer;
    + CategoryInfo          : InvalidOperation: (\NON_IPM_SUBTRE...7-285F5E107
   2C4}:PublicFolderId) [Set-PublicFolder], InvalidOperationException
    + FullyQualifiedErrorId : 80C4B8BB,Microsoft.Exchange.Management.MapiTasks
   .SetPublicFolder

Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceReplicaOnPFRecursi
ve.ps1:147 char:24
+         $_ | set-publicfolder <<<<  -server $_.OriginatingServer;
    + CategoryInfo          : InvalidOperation: (\NON_IPM_SUBTRE...4}\globalev
   ents:PublicFolderId) [Set-PublicFolder], InvalidOperationException
    + FullyQualifiedErrorId : 80C4B8BB,Microsoft.Exchange.Management.MapiTasks
   .SetPublicFolder

Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceReplicaOnPFRecursi
ve.ps1:147 char:24
+         $_ | set-publicfolder <<<<  -server $_.OriginatingServer;
    + CategoryInfo          : InvalidOperation: (\NON_IPM_SUBTRE...072C4}\inte
   rnal:PublicFolderId) [Set-PublicFolder], InvalidOperationException
    + FullyQualifiedErrorId : 80C4B8BB,Microsoft.Exchange.Management.MapiTasks
   .SetPublicFolder
0
Comment
Question by:durango099
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
9 Comments
 
LVL 9

Expert Comment

by:Marshal Hubs
ID: 40415125
Could you let me know how you are performing the migration of mailboxes, using powershell scripts or by any other method?
0
 
LVL 1

Author Comment

by:durango099
ID: 40415149
The user mailboxes have all been moved to the SBS 2011 server with the GUI - they are all functioning correctly.

The issue is with the move of the system Public Folder data - all user created public folders have been removed after .pst's were created. The .ps1 script is run from the Exchange powershell
0
 
LVL 24

Expert Comment

by:VB ITS
ID: 40415437
Did you add the SBS 2011 server as replica to the existing Public Folders on the SBS 2008 server using the AddReplicaToPFRecursive.ps1 script (also located in the  Scripts directory)?

You need to replicate the Public Folders to the new SBS server first before you can move them using the MoveAllReplicas.ps1 script.

Try the following:
.\AddReplicaToPFRecursive.ps1 -TopPublicFolder “\” -ServerToAdd <SBS 2011 Server>
.\AddReplicaToPFRecursive.ps1 -TopPublicFolder “\NON_IPM_SUBTREE” -ServerToAdd <SBS 2011 Server>


Wait for replication to complete then try running the MoveAllReplicas script.
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 1

Author Comment

by:durango099
ID: 40424741
running the addreplicatopfrecursive scripts - will monitor status
0
 
LVL 1

Author Comment

by:durango099
ID: 40425166
How do you tell if the replicas have completed?
0
 
LVL 24

Accepted Solution

by:
VB ITS earned 500 total points
ID: 40425194
You can run the Get-PublicFolderStatistics command in the Exchange Management Shell on  both servers then check the item counts. Here's a good article with some more info for you: http://blogs.technet.com/b/exchange/archive/2013/05/28/comparing-public-folder-item-counts.aspx
0
 
LVL 1

Author Comment

by:durango099
ID: 40425370
There is only one item with data in the old server - exchangeV1 - everything else is 0
0
 
LVL 24

Expert Comment

by:VB ITS
ID: 40425396
That folder is an artifact from Exchange 2003 - I don't believe it is required in 2007 and onwards.
0
 
LVL 1

Author Closing Comment

by:durango099
ID: 40431455
Was able to follow the instructions in the link and then able to delete the ExchangeV1 folder and remove Exchange server from old SBS2008 - on to the last migration steps now - Thanks for the assist.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
Read this checklist to learn more about the 15 things you should never include in an email signature.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question