Armen Minasyan
asked on
Issue moving primary mailbox to Office 365 after Archive was moved
Hey guys,
We're in the middle of migration to Office 365. We moved a lot of users already mostly through ECP on Office 365. Then we decided to move some users Archives only first and it was working just fine. So, when we try to move the user's primary mailbox for users who already have Archive Online migrated earlier - it gives us following error:
[PS] C:\Windows\system32>New-Mo veRequest -id "user@domain.com" -Remote -RemoteHostName "email.domain.com" -Target
DeliveryDomain domain.mail.onmicrosoft.co m -RemoteCredential $LocalCredential -primaryonly
Target user 'User' already has a primary mailbox.
+ CategoryInfo : InvalidArgument: (user@domain.com:MailboxOr MailUserId Parameter) [New-MoveRequest], R
ecipientTaskException
+ FullyQualifiedErrorId : [Server=EX01,RequestId=1bd f2276-2d56 -47ef-9545 -28a88uu40 2cb,TimeSt amp=7/27/2 017 6:59:13
PM] [FailureCategory=Cmdlet-Re cipientTas kException ] 338394AD,Microsoft.Exchang e.Manageme nt.Migrati on.Mailbox Replic
ation.MoveRequest.NewMoveR equest
+ PSComputerName : ex01.domain.com
Not sure where the error is. User's primary mailbox still on premises. And Archive is online. User can access both from Outlook. ECP on Exchange don't have this user as a recipient. When I run Get-MailboxStatistics I see that user still on-prem and only archive on Office 365
[PS] C:\Windows\system32>Get-Ma ilboxStati stics -Identity jlavo@domain.com | fl
RunspaceId : 7e8f0cb3-c855-4bbe-8a50-a7 7f05943e83
MoveHistory :
AssociatedItemCount : 97
DeletedItemCount : 327
ItemCount : 52919
TotalDeletedItemSize : 2.466 MB (2,586,266 bytes)
TotalItemSize : 5.108 GB (5,485,153,416 bytes)
CurrentSchemaVersion :
DisconnectDate :
DisconnectReason :
DisplayName : Jonathan Lav
LastLoggedOnUserAccount : DOMAIN\userl
LastLogoffTime : 7/27/2017 3:46:42 PM
LastLogonTime : 7/27/2017 3:46:19 PM
LegacyDN : /O=ASSOCIATESLTD/OU=EXCHAN GE ADMINISTRATIVE GROUP
(FYDIBOHF45SPDLT)/CN=RECIP IENTS/CN=J ONATHAN LAV
MailboxGuid : aff07843-8f7c-4f30-9278-9b 0bf1d018be
OwnerADGuid : 00000000-0000-0000-0000-00 0000000000
MailboxType : Private
MailboxTypeDetail : None
ObjectClass : Mailbox
StorageLimitStatus : BelowLimit
MailboxTableIdentifier : 1F61-4058AB
Database : MDB2
ServerName : EX2KMBOX
DatabaseName : MDB2
IsDatabaseCopyActive : True
IsClutterEnabled : False
IsQuarantined : False
QuarantineDescription :
QuarantineLastCrash :
QuarantineEnd :
QuarantineFileVersion :
ExternalDirectoryOrganizat ionId : 00000000-0000-0000-0000-00 0000000000
IsEncrypted : False
DataEncryptionPolicyId :
KeyVersionID :
AdvancedDataEncryptionDeta ils :
IsArchiveMailbox : False
IsMoveDestination : False
MailboxMessagesPerFolderCo untWarning Quota :
MailboxMessagesPerFolderCo untReceive Quota :
DumpsterMessagesPerFolderC ountWarnin gQuota :
DumpsterMessagesPerFolderC ountReceiv eQuota :
FolderHierarchyChildrenCou ntWarningQ uota :
FolderHierarchyChildrenCou ntReceiveQ uota :
FolderHierarchyDepthWarnin gQuota :
FolderHierarchyDepthReceiv eQuota :
FoldersCountWarningQuota :
FoldersCountReceiveQuota :
NamedPropertiesCountQuota :
SystemMessageSize : 0 B (0 bytes)
SystemMessageCount : 0
SystemMessageSizeWarningQu ota : Unlimited
SystemMessageSizeShutoffQu ota : Unlimited
DatabaseIssueWarningQuota : 3.799 GB (4,078,960,640 bytes)
DatabaseProhibitSendQuota : 4 GB (4,294,967,296 bytes)
DatabaseProhibitSendReceiv eQuota : 4.6 GB (4,938,792,960 bytes)
Identity : aff07883-85tt-4f30-9253-9b 0bfgh618be
MapiIdentity : aff07883-8f7c-4430-9253-9b 07ujd018be
OriginatingServer : ex2kmbox.domain.com
IsValid : True
ObjectState : Unchanged
We're in the middle of migration to Office 365. We moved a lot of users already mostly through ECP on Office 365. Then we decided to move some users Archives only first and it was working just fine. So, when we try to move the user's primary mailbox for users who already have Archive Online migrated earlier - it gives us following error:
[PS] C:\Windows\system32>New-Mo
DeliveryDomain domain.mail.onmicrosoft.co
Target user 'User' already has a primary mailbox.
+ CategoryInfo : InvalidArgument: (user@domain.com:MailboxOr
ecipientTaskException
+ FullyQualifiedErrorId : [Server=EX01,RequestId=1bd
PM] [FailureCategory=Cmdlet-Re
ation.MoveRequest.NewMoveR
+ PSComputerName : ex01.domain.com
Not sure where the error is. User's primary mailbox still on premises. And Archive is online. User can access both from Outlook. ECP on Exchange don't have this user as a recipient. When I run Get-MailboxStatistics I see that user still on-prem and only archive on Office 365
[PS] C:\Windows\system32>Get-Ma
RunspaceId : 7e8f0cb3-c855-4bbe-8a50-a7
MoveHistory :
AssociatedItemCount : 97
DeletedItemCount : 327
ItemCount : 52919
TotalDeletedItemSize : 2.466 MB (2,586,266 bytes)
TotalItemSize : 5.108 GB (5,485,153,416 bytes)
CurrentSchemaVersion :
DisconnectDate :
DisconnectReason :
DisplayName : Jonathan Lav
LastLoggedOnUserAccount : DOMAIN\userl
LastLogoffTime : 7/27/2017 3:46:42 PM
LastLogonTime : 7/27/2017 3:46:19 PM
LegacyDN : /O=ASSOCIATESLTD/OU=EXCHAN
(FYDIBOHF45SPDLT)/CN=RECIP
MailboxGuid : aff07843-8f7c-4f30-9278-9b
OwnerADGuid : 00000000-0000-0000-0000-00
MailboxType : Private
MailboxTypeDetail : None
ObjectClass : Mailbox
StorageLimitStatus : BelowLimit
MailboxTableIdentifier : 1F61-4058AB
Database : MDB2
ServerName : EX2KMBOX
DatabaseName : MDB2
IsDatabaseCopyActive : True
IsClutterEnabled : False
IsQuarantined : False
QuarantineDescription :
QuarantineLastCrash :
QuarantineEnd :
QuarantineFileVersion :
ExternalDirectoryOrganizat
IsEncrypted : False
DataEncryptionPolicyId :
KeyVersionID :
AdvancedDataEncryptionDeta
IsArchiveMailbox : False
IsMoveDestination : False
MailboxMessagesPerFolderCo
MailboxMessagesPerFolderCo
DumpsterMessagesPerFolderC
DumpsterMessagesPerFolderC
FolderHierarchyChildrenCou
FolderHierarchyChildrenCou
FolderHierarchyDepthWarnin
FolderHierarchyDepthReceiv
FoldersCountWarningQuota :
FoldersCountReceiveQuota :
NamedPropertiesCountQuota :
SystemMessageSize : 0 B (0 bytes)
SystemMessageCount : 0
SystemMessageSizeWarningQu
SystemMessageSizeShutoffQu
DatabaseIssueWarningQuota : 3.799 GB (4,078,960,640 bytes)
DatabaseProhibitSendQuota : 4 GB (4,294,967,296 bytes)
DatabaseProhibitSendReceiv
Identity : aff07883-85tt-4f30-9253-9b
MapiIdentity : aff07883-8f7c-4430-9253-9b
OriginatingServer : ex2kmbox.domain.com
IsValid : True
ObjectState : Unchanged
Try initiating the move request from ExO PowerShell. Here's a reference article: https://www.granikos.eu/en/justcantgetenough/PostId/171/move-cloud-archive-enabled-primary-mailbox-to-office-365
ASKER
Vasil, thanks for quick reply. Yes, I saw this article and that is exactly what I was doing. I'm using PowerShell to connect to MSOL first and then running these commands. Exactly the same error
Screenshot_2.png
Screenshot_2.png
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
OMG... Thank you!!! Spent all day on EMS!!! Can't thank you enough!