Avatar of mkavinsky
 asked on

Recover a delete on prem AD user with Azure AD user account?

Experts, I have a client that for some reason deleted his on prem AD user account.  I tried the obvious - ldp.exe, powershell cmdlts, AD administrative center (deleted objects)... and nothing is there.  no user account.  Like there is no record of it existing.  I do have a system state backup but really dont want to go through the whole authoritative restore process.   His account is in Azure AD (but of course being deleted because its syncing with the on prem Azure AD) so hes having to restore it in there every few hours.(Windows servers on prem - 2012 but 2008 R2 domain functional level).

is there just a way to sync that account back down to on prem AD?  or just recreate a new on prem AD user account (for that user)... but I know the user ID will not match or be the same unless I can manually match it from on prem to Azure AD??

Any suggestions would be appreciated.  thank you very much.  
* azure ad connectActive DirectoryAzure

Avatar of undefined
Last Comment

8/22/2022 - Mon
Hayes Jupe

View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.

Thank you very much for your time and response.   Somehow this morning the users account in O365 is staying.  its has not deleted yet in nearly 20 hrs.  Even though the AD object is still gone?  Im going to give this another day or two and what happens here.  

I reviewed both your links and will go down that path should the account remove again in O365.  

Thank you!!!
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck