milesreid
If you have arrived here then the original method must not have worked or if you have arrived here first please check out our original blog on fixing this issue here.. If the original method didn’t work don’t panic! We will be sure to sort it out with this one, so the steps for this method are as follows:
- make the mailbox soft deleted by removing the Exchange Online license and in the Exchange Management Console find the user, right click and disable them.
- In Active Directory move the user into an OU that doesn’t sync with Office 365.
- Run the AAD sync cycle.
- Open a PowerShell Window as Administrator and type the following commands:
Connect-MsolService
Remove-MsolUser -UserPrincipalName “firstname.lastname” -RemoveFromRecycleBin -Force
5. Run the AAD sync cycle.
6. Move the user back into a syncing OU.
7. Once again run the AAD sync cycle.
8. Perform a mailbox restore as you did in the previous blog using the following commands.
Get-Mailbox -softdeletedmailbox -identity example.user | *exchangeguid*
Get-Mailbox example.user | fl *exchangeguid*
New-MailboxRestoreRequest -sourcemailbox <guid of the disconnected mailbox> -targetmailbox <guid of new mailbox> -AllowLegacydnMissmatch
9. Now you will need to add all the necessary AD attributes to the account, this includes the SMTP addresses in the proxy settings, target address, and mailnickname.
Once done you should no longer have any issues, thanks for reading and please take a look at some of our other blogs on fixes and upcoming updates!