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

lucky alqodar 41 Reputation points
2021-10-22T06:52:04.79+00:00

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

Exchange Online
Exchange Online
A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
Exchange | Exchange Server | Management
Exchange | Exchange Server | Management
The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.
Exchange | Hybrid management
Exchange | Hybrid management
The administration of a hybrid deployment that connects on-premises Exchange Server with Exchange Online, enabling seamless integration and centralized control.
{count} votes

1 answer

Sort by: Most helpful
  1. KyleXu-MSFT 26,396 Reputation points
    2021-10-25T02:16:00.973+00:00

    @lucky alqodar

    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@keyman .onmicrosoft.com" and "smtp:OnlineUserName@keyman .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.


    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.