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
Solved

Public Folder Migration Error - from 2007 to Office 365

Posted on 2013-05-28
6
1,289 Views
Last Modified: 2013-08-12
Good afternoon all –

We are attempting to migrate Public Folders from an Exchange 2007 sever running on 2008 small business server to Office 365 Online (Exchange 2013) using PowerShell. We have followed the “Migrate Legacy Public Folders to Exchange Online” from the following link http://technet.microsoft.com/en-us/library/jj983799(v=exchg.150).aspx When we run the PowerShell script from part 5 of Step 5, (please see below script) we get an error on “RemoteMailboxServerLegacyDN” (please see below error). In Part 3b of Step 5, the document asks for the following -

$source_remoteMailboxLegacyDN = "/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=Administrator"

Which we got from running the:  Get-Mailbox <PublicFolder_Administrator_Account> | Select-Object LegacyExchangeDN from part 2a of Step 5.

Has anyone tried this before? If so have you seen and resolved this error?
Thank you for any help you can provide.

Dave…

Start of Script –
New-PublicFolderMigrationRequest -OutlookAnywhereHostName: $source_OutlookAnywhereExternalHostName -CSVData (Get-Content Folder2MapPath52013 -Encoding Byte) -RemoteCredential: $source_credential -RemoteMailboxLegacyDN: $source_remoteMailboxLegacyDN -RemoteMailboxServerLegacyDN: $source_remotePublicFolderServerLegacyDN -AuthenticationMethod Basic
End of Script –

Start of error -
Cannot validate argument on parameter 'RemoteMailboxServerLegacyDN'. The argument is null or empty. Supply an argument that is not null or empty and then try the command again.
    + CategoryInfo : InvalidData: (:) [New-PublicFolderMigrationRequest], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,New-PublicFolderMigrationRequest
End of error -
0
Comment
Question by:CMITStamford
  • 3
6 Comments
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 39203469
$source_remoteMailboxLegacyDN -RemoteMailboxServerLegacyDN:

Where is the DN of the Server mentioned ?

- Rancy
0
 

Accepted Solution

by:
CMITStamford earned 0 total points
ID: 39217004
Hi Rancy,

Thank you for your post here. We have come up with an alternative solutions to this problem. We are simply going to export all public folders as PST and then import them.

We have tested this solution and it works for our needs.

Again, thank you,

Dave...
0
 

Author Closing Comment

by:CMITStamford
ID: 39267750
Used another solution.
0
 
LVL 2

Expert Comment

by:LANWorx
ID: 39291821
This is a mistake in the MS documentation.

Replace " -RemoteMailboxServerLegacyDN: $source_remotePublicFolderServerLegacyDN " with "-RemoteMailboxServerLegacyDN: $source_remotePublicFolderServerLegacyFQDN"
0
 

Author Comment

by:CMITStamford
ID: 39297355
Thank you for this update. I will try this solution during our next migration.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Read this checklist to learn more about the 15 things you should never include in an email signature.
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
how to add IIS SMTP to handle application/Scanner relays into office 365.

837 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