question

luckyalqodar-5735 avatar image
0 Votes"
luckyalqodar-5735 asked KyleXu-MSFT commented

After Restore Mailbox, Directory on AD Azure to AD onprem not synced

I have Active Directory server on-premise, and exchange online in office 365, they are connected to each other using the free version of the ad azure connect server.

I delete the AD user and their mailbox, when I restore the mailbox, the AD User does not join the restore. how do restore AD user to stay connected to exchange online mailbox in office 365?

142864-image.png


office-exchange-server-administrationoffice-exchange-online-itprooffice-exchange-hybrid-itpro
image.png (9.9 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@luckyalqodar-5735
I am writing here to confirm with you any update about this thread now?
If the suggestion below helps, please be free to accept it as an answer for helping more people.

0 Votes 0 ·

1 Answer

KyleXu-MSFT avatar image
0 Votes"
KyleXu-MSFT answered

@luckyalqodar-5735

For local AD account, you cannot recover it. But you could recreate a new account to reconnect to Azure AD account:

  1. The the logon name for Azure AD account:
    143187-qa-kyle-10-05-14.png

  2. Add this domain name to local AD from "Active Directory Domains and Trusts":
    143118-qa-kyle-10-08-23.png

  3. Create a new AD account with the Azure account logon name:
    143203-qa-kyle-10-10-56.png

  4. Add "SMTP:OnlineTUserName@domain.onmicrosoft.com" and "smtp:OnlineUserName@domain.mail.onmicrosoft.com" to this local AD account proxy email address attributes.

  5. Run "Start-ADSyncSyncCycle -PolicyType Delta" on your AAD Connect server to update configuration.

After that, this Azure account will connect and sync to local AD account. For more detailed information, you could have a look about this article.
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.