What is a Soft Deleted User in Microsoft 365?

A Soft Deleted User in Microsoft 365 refers to a user account that has been removed from the tenant but is still recoverable within a specified retention period. This state allows admins to restore the account if it was deleted accidentally or if the user needs to regain access to the organization’s services.

Key Characteristics of Soft Deleted Users

  1. Retention Period:
    Soft deleted users remain in the Azure Active Directory (AAD) recycle bin for up to 30 days by default. During this time, they can be restored without data loss.
  2. Recoverable State::
    While soft deleted, the user account is inaccessible to the user, but its data and configuration remain intact and recoverable.
  3. Permanent Deletion:
    After the retention period ends, the account is permanently deleted, and recovery is no longer possible.

How to Identify Soft Deleted Users

Soft deleted users can be found using the Microsoft Entra Admin Center or using Graph PowerShell.

Get-MgDirectoryDeletedItemAsUser

How to Handle Soft Deleted Users

  • Restore the Account: Use the Restore-MgDirectoryDeletedItem cmdlet to reinstate the account:
  • Restore-MgDirectoryDeletedItem -DirectoryObjectId c71e4a5f-e379-4389-8f6e-af9057860fa1
  • Permanently Delete: If the account is no longer needed, use the Remove-MgDeletedUser cmdlet:
  • Remove-MgDirectoryDeletedItem -DirectoryObjectId $directoryObjectId

Why Do Soft Deleted Users Matter?

  1. Accidental Deletion Protection: Prevent data loss caused by inadvertent deletions.
  2. Grace Period for Decisions: Allow time to review and confirm account removal.
  3. Compliance: Ensure proper handling of user data before permanent deletion.

Understanding soft deleted users is critical for effective account lifecycle management and ensuring data security. Stay proactive and review your tenant regularly!

Explore More

Manage Your Tenant Using Our Free Admin Tools

If you do not have the technical expertise to use Graph PowerShell, then you can use our free Microsoft 365 admin tools to manage your tenant.

Did You Know? Managing Microsoft 365 applications is even easier with automation. Try our Graph PowerShell scripts to automate tasks like generating reports, cleaning up inactive Teams, or assigning licenses efficiently.

Ready to get the most out of Microsoft 365 tools? Explore our free Microsoft 365 administration tools to simplify your administrative tasks and boost productivity.

© Your Site Name. All Rights Reserved. Design by HTML Codex