Apr 15 2020 11:33 PM
In Office 365 I have this error message in the GUI.
Exchange: The execution of cmdlet Set-SyncMailbox failed.
Exchange: An unknown error has occurred.
I have looked for this cmdlet and haven't been able to find it yet. Does anyone have a reference to this?
Apr 16 2020 09:04 AM
SolutionThat's a cmdlet that was used back in the Live@EDU days... I don't think any O365 customer has access to it anymore. Best open a support case.
Jan 11 2021 04:53 AM
I have the same issue here:
Exchange: The execution of cmdlet Set-SyncMailbox failed.
for a user where the license was remove time ago, then re-added and the exchange mailbox doesn't get created.
So this is still around.
Mar 13 2021 02:59 AM
Sep 22 2021 12:34 PM
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:
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!
Sep 23 2021 03:30 AM