parameter cannot be found ‘SourcePublicFolderDatabase’

Issue: When migrating public folders to Exchange 2013 you receive the following error:
“parameter cannot be found that matches parameter name ‘SourcePublicFolderDatabase'”

Background: You are using Microsoft’s recommended batch migration method for migrating your public folders.  You used a command similar to the following from the Exchange Management Shell:
New-MigrationBatch -Name PFMigration -SourcePublicFolderDatabase (Get-PublicFolderDatabase -Server Exch2) -CSVData (Get-Content C:\PFs\PFmapFolderToMailbox.csv -Encoding Byte) -NotificationEmails -BadItemLimit 1000

You received the following error:
A parameter cannot be found that matches parameter name ‘SourcePublicFolderDatabase’.
+ CategoryInfo : InvalidArgument: (:) [New-MigrationBatch], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,New-MigrationBatch

Cause: Microsoft batch method public folder migration instructions specify Exchange 2013 CU7 at the top of the instructions.  In what appears to be an oversight, the New-MigrationBatch command in CU7 does not accept the “-SourcePublicFolderDatabase” parameter.

Resolution: Upgrade Exchange 2013 environment to CU8 or higher.  Here is a link to the latest CU available for Exchange 2013.


One thought on “parameter cannot be found ‘SourcePublicFolderDatabase’

  1. Jim N

    Thank you, Chris… did not realize how outdated our cu level was… installation was done with “new” media. Downloading the updates now… hopefully, things will go better… like actually work.
    Take care!


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.