exchange 2010, office 365

we are in the middle of migrating public folders from exchange 2010 sp3 to office 365.

we are having some inconsistency , I am giving an example of 1 public folder
The attached files show your public folders that need to be renamed before they can be migrated.  Basically if the folder name has a leading or trailing space it will need to be removed/replaced same if it contains a slash or a backslash.


Property expression "Schedule+ Free Busy Information - name of public folder" isn't valid. Valid values are: Strings formed with characters from A to Z (uppercase or lowercase), digits from 0 to 9, !, #, $, %, &, ', *, +, -, /, =, ?, ^, _, `,
 {, |, } or ~. One or more periods may be embedded in an alias, but each period should be preceded and followed by at
least one of the other characters. Unicode characters from U+00A1 to U+00FF are also valid in an alias, but they will
be mapped to a best-fit US-ASCII string in the e-mail address, which is generated from such an alias.

how should we fix it
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vasil Michev (MVP)Commented:
There is no attachment. The best way to fix this is to export the hierarchy to CSV file, run a quick filter to discover any "erroneous" entries, then replace them. If you already know the offending characters, you can use one of the code snippets from this thread:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Valentina PerezExchange ServersCommented:
Hi pramod1,

You need to change the name. You need to use ASDI Edit on the 2010 server, and go to:
DC=<domain>, CN="Microsoft Exchange System Objects"
For each Public Folder, you go to the "mailNickname" attribute and remove the character.

Or you can modify with script

    ForEach ($folder in (get-mailpublicfolder -ResultSize Unlimited | Where-Object{$_.alias -match ‘\s’}))

    #check for a space
    if ($folder.alias -match ‘\s’)
    #determine new alias
    $newAlias = $folder.WindowsEmailAddress.replace(“”,””)
    $newAlias = $newAlias -replace ‘\s|,|\.|\-‘;$_

    #resize long PF aliases to below 32 characters
    if($newAlias.Length -gt 31) { $newAlias = $newAlias.Substring(0,31)}

    #rename PF alias
    Set-MailPublicFolder -Identity $folderObject.WindowsEmailAddress -Alias $newAlias

Open in new window

Edwin HofferTechnical ExpertCommented:

There are multiple migration methodologies available:

1.) Cutover(Express) Migration
2.) Staged Migration
3.) Hybrid Migration

You can follow this blog in order to migrate Exchange Server 2007 to Office 365:

Sandeep KumarAssociate ConsultantCommented:
I recommend Kernel Migrator for Exchange, for all such needs of migration from Exchange to Exchange, Exchange to Office 365, Hosted & On-premise Exchange to Office 365, Office 365 to Office 365 migrations. The Exchange Migration tool is really an effective application for migrating Exchange 2010 to office 365. To know more about public folder migration from Exchange server 2010 to Office 365, visit:
Sara TeasdaleCommented:
I would suggest you following Exchange deployment assistant and blogs which provides step-wise instructions by migrate Public folders from Exchange 2010 Sp3 to Exchange 2013. Here you go -

Moreover, you could also take a look at the Exchange migration solution which should be ideal solutions to accomplish the task without having downtime.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.