micromark1
asked on
Migrating public folders to exchange 2013
A little history first. Last year we upgraded, (Migrated) from SBS 2003 to sbs 2011. All has went OK, but now we have outgrown our user limit and we are going to full fledged Exchange 2013, and a 2012 Domain controller. I have a virtual environment setup now and I have got exchange 2013 installed and successfully moved some mailboxes over. (not all of them). Now I am practicing the Public Folder Migration. Extremely important with this company as they get a lot of emails that go to public folders and they work out of them. (Yes I know SharePoint would be better etc., but right now we cannot afford any downtime or different work flows. It has to pretty much work the same for now). Everything has went pretty well until now. The mailboxes went fine and I have gotten my information from 3 different sources so far.
http://technet.microsoft.com/en-us/library/jj150486(v=exchg.150).aspx
http://msexchangeguru.com/2013/04/18/exchange2013-public-folders/
and this was pretty helpful as well.
http://www.youtube.com/watch?v=ueODkbylNzY
My Problem is: on step 5 of the first article. It mentions that in exchange 2007 there are system public folders such as owa scratch pad etc that will make the migration fail, and to perform this.
$PublicFolderDatabasesInOr g = @(Get-PublicFolderDatabase ) $BadItemLimitCount = 5 + ($PublicFolderDatabasesInO rg.Count -1)
New-PublicFolderMigrationR equest -SourceDatabase (Get-PublicFolderDatabase -Server <Source server name>) -CSVData (Get-Content <Folder to mailbox map path> -Encoding Byte) -BadItemLimit $BadItemLimitCount
They have a slightly different procedure if you are on exchange 2010 (which we are) but we also do have those legacy folders from the 2003 SBS migration.
when I do the first command I get:
At line:1 char:59
+ $PublicFolderDatabasesInOr g = @<Get-PublicFolderDatabase > $BadItemLimitCount =5
Unexpected Token '$BadItemLimitCount' in expression or statement.
Categrory Info : ParserError: <:> [], ParentContainsErrorRecordE xception
FullyQualifiedErrorId : UnexpectedToken
Not sure where to do from here and can't find anything on google etc. Should I manually remove those legacy folders and then start over? Not exactly sure that is why it is failing.
http://technet.microsoft.com/en-us/library/jj150486(v=exchg.150).aspx
http://msexchangeguru.com/2013/04/18/exchange2013-public-folders/
and this was pretty helpful as well.
http://www.youtube.com/watch?v=ueODkbylNzY
My Problem is: on step 5 of the first article. It mentions that in exchange 2007 there are system public folders such as owa scratch pad etc that will make the migration fail, and to perform this.
$PublicFolderDatabasesInOr
New-PublicFolderMigrationR
They have a slightly different procedure if you are on exchange 2010 (which we are) but we also do have those legacy folders from the 2003 SBS migration.
when I do the first command I get:
At line:1 char:59
+ $PublicFolderDatabasesInOr
Unexpected Token '$BadItemLimitCount' in expression or statement.
Categrory Info : ParserError: <:> [], ParentContainsErrorRecordE
FullyQualifiedErrorId : UnexpectedToken
Not sure where to do from here and can't find anything on google etc. Should I manually remove those legacy folders and then start over? Not exactly sure that is why it is failing.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
You follow this guide.
http://msexchangeguru.com/2013/04/18/exchange2013-public-folders/
http://msexchangeguru.com/2013/04/18/exchange2013-public-folders/
ASKER
I have been.. It fails,
at the point where I mention above, I guess I will just manually remove the legacy system public folders before I try another migration. I have included a screen shot. Do you know which system public folders I should delete? Or can I safely delete all of them? Including the free busy?
exchange-legacy-system-folders.JPG
at the point where I mention above, I guess I will just manually remove the legacy system public folders before I try another migration. I have included a screen shot. Do you know which system public folders I should delete? Or can I safely delete all of them? Including the free busy?
exchange-legacy-system-folders.JPG
ASKER
This is what I am getting below. It queued up.. took a while before it gave me the failed message. I have tried this exactly how the websites recommend. I also deleted the legacy system public folders left over from 2003, and I also deleted some of the data, thinking I had too much data in my existing public folders to begin with. wanted to make sure it was under 25Gig. Thanks for your help
[PS] C:\Windows\system32>Get-Pu blicFolder MigrationR equest | Get-PublicFolderMigrationR equestStat istics -IncludeReport |
Format-List
RunspaceId : 62d97570-2787-48fe-81c9-f9 8dc66018f0
Name : PublicFolderMigration
Status : Failed
StatusDetail : FailedOther
SyncStage : CreatingFolderHierarchy
Flags : IntraOrg, Pull, Suspend, SuspendWhenReadyToComplete
RequestStyle : IntraOrg
Direction : Pull
Protect : False
Priority : Normal
Suspend : True
SourceVersion : Version 14.3 (Build 123.0)
SourceDatabase : Public Folder Database 0800352285
SourceServer : TIRSRV.TIRCORP.LOCAL
BatchName :
OutlookAnywhereHostName :
RemoteCredentialUsername :
AuthenticationMethod : Basic
RemoteMailboxLegacyDN :
RemoteMailboxServerLegacyD N :
BadItemLimit : 0
BadItemsEncountered : 0
LargeItemLimit : 0
LargeItemsEncountered : 0
FolderToMailboxMap : {\}
QueuedTimestamp : 7/11/2013 4:26:54 PM
StartTimestamp : 7/11/2013 4:52:47 PM
LastUpdateTimestamp : 7/11/2013 4:52:54 PM
InitialSeedingCompletedTim estamp :
FinalSyncTimestamp :
CompletionTimestamp :
SuspendedTimestamp :
OverallDuration : 15:22:58
TotalFinalizationDuration :
TotalDataReplicationWaitDu ration :
TotalSuspendedDuration :
TotalFailedDuration : 14:56:58
TotalQueuedDuration : 00:25:46
TotalInProgressDuration : 00:00:13
TotalStalledDueToCIDuratio n :
TotalStalledDueToHADuratio n :
TotalStalledDueToReadThrot tle :
TotalStalledDueToWriteThro ttle :
TotalStalledDueToReadCpu :
TotalStalledDueToWriteCpu :
TotalStalledDueToReadUnkno wn :
TotalStalledDueToWriteUnkn own :
TotalTransientFailureDurat ion :
TotalIdleDuration : 00:00:03
MRSServerName :
EstimatedTransferSize : 0 B (0 bytes)
EstimatedTransferItemCount : 0
BytesTransferred : 3.919 KB (4,013 bytes)
BytesTransferredPerMinute :
ItemsTransferred : 0
PercentComplete : 10
PositionInQueue :
PreventCompletion : True
FailureCode : -2146233088
FailureType : DataValidationException
FailureSide : Target
Message : Error: The property value is invalid. The value can't contain leading or trailing
whitespace.
FailureTimestamp : 7/11/2013 4:52:54 PM
IsValid : True
ValidationMessage :
OrganizationId :
RequestGuid : 03f6d2d1-3b10-4a59-83ce-68 cfa8ecba0b
RequestQueue : MAILATTCG
ExchangeGuid : e95a7b2b-4bd0-4a07-bc86-4f a79a98a3f9
Identity : RequestGuid (03f6d2d1-3b10-4a59-83ce-6 8cfa8ecba0 b), RequestQueue:
(906c333e-5f1d-4f05-b654-1 8a9a65c9a1 f)
Report : 7/11/2013 4:26:52 PM [TIRMAIL] 'TIRCORP.LOCAL/Users/Micro webmark' created request.
7/11/2013 4:52:44 PM [TIRMAIL] The Microsoft Exchange Mailbox Replication service
'TIRMAIL.TIRCORP.LOCAL' (15.0.620.24 caps:3F) is examining the request.
7/11/2013 4:52:44 PM [TIRMAIL] Connected to target mailbox
'e95a7b2b-4bd0-4a07-bc86-4 fa79a98a3f 9', database 'MAILATTCG', Mailbox server
'TIRMAIL.TIRCORP.LOCAL' Version 15.0 (Build 620.0), proxy server
'TIRMAIL.TIRCORP.LOCAL' 15.0.620.24 caps:3FCB07FFFF.
7/11/2013 4:52:44 PM [TIRMAIL] Connected to source mailbox '', database 'Public
Folder Database 0800352285', Mailbox server 'TIRSRV.TIRCORP.LOCAL' Version 14.3
(Build 123.0).
7/11/2013 4:52:45 PM [TIRMAIL] Request processing started.
7/11/2013 4:52:51 PM [TIRMAIL] Stage: CreatingFolderHierarchy. Percent complete: 10.
7/11/2013 4:52:51 PM [TIRMAIL] Initializing folder hierarchy from mailbox '': 184
folders total.
7/11/2013 4:52:51 PM [TIRMAIL] Folder creation progress: 0 folders created in
mailbox 'e95a7b2b-4bd0-4a07-bc86-4 fa79a98a3f 9'.
7/11/2013 4:52:54 PM [TIRMAIL] Fatal error DataValidationException has occurred.
ObjectState : New
[PS] C:\Windows\system32>Get-Pu
Format-List
RunspaceId : 62d97570-2787-48fe-81c9-f9
Name : PublicFolderMigration
Status : Failed
StatusDetail : FailedOther
SyncStage : CreatingFolderHierarchy
Flags : IntraOrg, Pull, Suspend, SuspendWhenReadyToComplete
RequestStyle : IntraOrg
Direction : Pull
Protect : False
Priority : Normal
Suspend : True
SourceVersion : Version 14.3 (Build 123.0)
SourceDatabase : Public Folder Database 0800352285
SourceServer : TIRSRV.TIRCORP.LOCAL
BatchName :
OutlookAnywhereHostName :
RemoteCredentialUsername :
AuthenticationMethod : Basic
RemoteMailboxLegacyDN :
RemoteMailboxServerLegacyD
BadItemLimit : 0
BadItemsEncountered : 0
LargeItemLimit : 0
LargeItemsEncountered : 0
FolderToMailboxMap : {\}
QueuedTimestamp : 7/11/2013 4:26:54 PM
StartTimestamp : 7/11/2013 4:52:47 PM
LastUpdateTimestamp : 7/11/2013 4:52:54 PM
InitialSeedingCompletedTim
FinalSyncTimestamp :
CompletionTimestamp :
SuspendedTimestamp :
OverallDuration : 15:22:58
TotalFinalizationDuration :
TotalDataReplicationWaitDu
TotalSuspendedDuration :
TotalFailedDuration : 14:56:58
TotalQueuedDuration : 00:25:46
TotalInProgressDuration : 00:00:13
TotalStalledDueToCIDuratio
TotalStalledDueToHADuratio
TotalStalledDueToReadThrot
TotalStalledDueToWriteThro
TotalStalledDueToReadCpu :
TotalStalledDueToWriteCpu :
TotalStalledDueToReadUnkno
TotalStalledDueToWriteUnkn
TotalTransientFailureDurat
TotalIdleDuration : 00:00:03
MRSServerName :
EstimatedTransferSize : 0 B (0 bytes)
EstimatedTransferItemCount
BytesTransferred : 3.919 KB (4,013 bytes)
BytesTransferredPerMinute :
ItemsTransferred : 0
PercentComplete : 10
PositionInQueue :
PreventCompletion : True
FailureCode : -2146233088
FailureType : DataValidationException
FailureSide : Target
Message : Error: The property value is invalid. The value can't contain leading or trailing
whitespace.
FailureTimestamp : 7/11/2013 4:52:54 PM
IsValid : True
ValidationMessage :
OrganizationId :
RequestGuid : 03f6d2d1-3b10-4a59-83ce-68
RequestQueue : MAILATTCG
ExchangeGuid : e95a7b2b-4bd0-4a07-bc86-4f
Identity : RequestGuid (03f6d2d1-3b10-4a59-83ce-6
(906c333e-5f1d-4f05-b654-1
Report : 7/11/2013 4:26:52 PM [TIRMAIL] 'TIRCORP.LOCAL/Users/Micro
7/11/2013 4:52:44 PM [TIRMAIL] The Microsoft Exchange Mailbox Replication service
'TIRMAIL.TIRCORP.LOCAL' (15.0.620.24 caps:3F) is examining the request.
7/11/2013 4:52:44 PM [TIRMAIL] Connected to target mailbox
'e95a7b2b-4bd0-4a07-bc86-4
'TIRMAIL.TIRCORP.LOCAL' Version 15.0 (Build 620.0), proxy server
'TIRMAIL.TIRCORP.LOCAL' 15.0.620.24 caps:3FCB07FFFF.
7/11/2013 4:52:44 PM [TIRMAIL] Connected to source mailbox '', database 'Public
Folder Database 0800352285', Mailbox server 'TIRSRV.TIRCORP.LOCAL' Version 14.3
(Build 123.0).
7/11/2013 4:52:45 PM [TIRMAIL] Request processing started.
7/11/2013 4:52:51 PM [TIRMAIL] Stage: CreatingFolderHierarchy. Percent complete: 10.
7/11/2013 4:52:51 PM [TIRMAIL] Initializing folder hierarchy from mailbox '': 184
folders total.
7/11/2013 4:52:51 PM [TIRMAIL] Folder creation progress: 0 folders created in
mailbox 'e95a7b2b-4bd0-4a07-bc86-4
7/11/2013 4:52:54 PM [TIRMAIL] Fatal error DataValidationException has occurred.
ObjectState : New
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
I have opened up a case with Microsoft, but went ahead an awarded your points. I believe the issue is going to be much more complex than what can be put in a forum. Thanks and I'll update you when it gets fixed. There were steps here that you helped me with and I thank you
Thanks for the points and update. Will wait for your final comments.
ASKER