How can I restore deleted users in AD after migrating to Microsoft 365?

0
8
Asked By TechWiz247 On

I recently transitioned from on-premises Active Directory (AD) and Exchange to Microsoft 365 in the cloud. However, I accidentally deleted four users from my local AD, which also removed them from local Exchange. The good news is that these users still exist in Microsoft 365, but there are issues: external people can't send them emails and get a postmaster response saying the email address isn't found, though internal emails work fine. I have a local server with MS Entra Connect that syncs users from AD to the cloud, but it's not actively running right now. What steps can I take to resolve this situation?

5 Answers

Answered By SysAdminHero42 On

You can recover from this, but it might be a bit of a hassle. Since your AD recycle bin isn't enabled and your only backup seems to be from a VMware snapshot, I suggest you delete the affected accounts in Azure and then recreate them in AD. After that, let the accounts sync back to Azure. If you want to keep the mailbox data, make sure to export that before making any changes, then restore it to the new user accounts afterward. Also, consider enabling the AD recycle bin and setting up a proper backup system for future safety.

Answered By AdminPro2020 On

If you don’t have the AD Recycle Bin enabled, you might still recover some data, but you'll have to recreate some settings manually. There's a hidden "Deleted Objects" container accessible through ADSI Edit. But be cautious with this method unless you're very familiar with what you're doing.

Answered By EmailExpert78 On

If your goal is to fully move away from on-premises Exchange, consider updating your DNS records to point to Microsoft 365 and change the settings under mail flow in Exchange to make your domain authoritative. This way, you can still manage your users on-prem but rely solely on Microsoft 365 for email flow, meaning the missing accounts in on-prem Exchange won't disrupt incoming mail.

Answered By NetworkNerd33 On

Do you have the AD recycle bin enabled? If you do, you could easily restore those users from there. Unfortunately, if it's disabled, then you're in a bit of a bind.

Answered By CloudGuru99 On

I'm curious about how those users are still showing up in the cloud if your sync tool isn't working. The easiest route would be to restore the AD users; the sync should fix the issue. But if you can't restore and have to create new users manually, try to match the GUIDs for the users you had.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.