Question
I accidentally deleted users from a domain with Microsoft 365 and User Sync Settings enabled in the Access Control admin console.
Please advise on how to resolve this.
Answer
If you delete users who are under Periodic sync from the Access Control admin console, the corresponding users in Microsoft 365 will be deleted at the next Periodic sync and moved to [Deleted users].
You can restore the users by following the procedure below.
Procedure
If syncing from Access Control to Microsoft Entra ID
- Refer to the following site to restore the relevant users from the Microsoft 365 admin center.
Restore a user in the Microsoft 365 admin center (external link) - Refer to the following article to recreate the deleted users from the Access Control screen.
[Access Control] Create / Edit a New User
* The [UserPrincipalName (UPN)] must match the "Username" (UPN) in Microsoft 365. - At the next User Periodic sync, the Access Control user recreated in Step 2 and the Microsoft 365 user restored in Step 1 will be linked again.
* If you want to reflect the changes immediately, refer to the following article and perform "Sync Now".
[Access Control] User Sync Settings (Access Control → Microsoft 365)
If syncing from Active Directory → Access Control → Entra ID
- Refer to the following site to restore the relevant users from the Microsoft 365 admin center.
Restore a user in the Microsoft 365 admin center (external link) - Wait for the next Periodic sync from Active Directory to Access Control, or refer to the following article to perform a one-time synchronization.
[Access Control] Running the HENNGE Directory Sync Tool - Wait for the next Periodic sync from Access Control to Entra ID, or refer to the following article to perform a one-time synchronization.
[Access Control] User Sync Settings (Access Control → Microsoft 365)