Solved

Exchange Migration SBS2008 to SBS2011 Public Folders

Posted on 2014-10-30
9
295 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
  • 5
  • 3
9 Comments
 
LVL 9

Expert Comment

by:Marshal Hubs
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 1

Author Comment

by:durango099
Comment Utility
running the addreplicatopfrecursive scripts - will monitor status
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 1

Author Comment

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

Accepted Solution

by:
VB ITS earned 500 total points
Comment Utility
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
Comment Utility
There is only one item with data in the old server - exchangeV1 - everything else is 0
0
 
LVL 24

Expert Comment

by:VB ITS
Comment Utility
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
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

A procedure for exporting installed hotfix details of remote computers using powershell
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now