exchange 2010, office 365

pramod1 used Ask the Experts™
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
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2015
Distinguished Expert 2018
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:

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 Expert
Top Expert 2014


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 Consultant

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:
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.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial