
To do this, see Active Directory Recycle Bin Step-by-Step Guide. Try to restore the deleted item from the Active Directory recycle bin. To recover an item that was deleted from the on-premises Active Directory schema, try the following methods: Resolution 3: Recover accounts deleted because the on-premises user object was deleted from the on-premises Active Directory schema To recover deleted user accounts, make sure that directory synchronization filtering (scoping) is set in such a way that the scope includes the objects that you want to recover.įor more information, see Azure AD Connect sync: Configure filtering. Resolution 2: Recover accounts deleted because scoping changes exclude the on-premises Active Directory user object The NewUserPrincipalName parameter is optionally used in scenarios in which another user object is granted by using the target user object's user principal name (UPN) after that UPN was deleted.The AutoReconcileProx圜onflicts parameter is optional and is used in scenarios in which another user object is granted the target user object's proxy address after that address is deleted.The UserPrincipalName and ObjectID parameters uniquely identify the user object to be restored.


In these commands, the following conventions are used:

How to restore deleted user accounts in Office 365, Azure, and Intune
