Hi Mark,
Before the hybrid migration, the user should be a mail user in Office 365. According to the error message “Target user already has a primary mailbox”, possible cause might be that this user already has an Office 365 mailbox. So the migration fails. To troubleshooting this issue, I’d like to collect the following information.
- Check this user’s recipient type information.
a. From on-premise Exchange Management Shell, run:
Get-Mailbox UserName | fl
b. From another PC, connect PowerShell to Exchange Online: https://technet.microsoft.com/library/jj984289(v=exchg.160).aspx. Then run:
Get-User UserName| fl
Get-Recipient UserName | fl
Get-MailUser UserName | fl
Note: replace UserName with this affected user.
- Try to migrate this mailbox in Office 356 Exchange Admin Center: https://technet.microsoft.com/en-us/library/o365e_hrcmoverequest_fl312271(v=exchg.150).aspx
Do you get the same error?
- About “I have tried removing the user and creating again”, do you mean you have tried permanently removed the Office 365 user from recycle bin?
Remove-MsolUser -UserPrincipalName *** Email address is removed for privacy *** –RemoveFromRecycleBin
To protect your privacy, I have sent a private message to request PowerShell output. Please use this link to access the private message: https://community.office365.com/user/conversations
Thanks,
Young