How do i manage/delete users in Office 365 Recycle Bin

0

How?

asked July 21, 2016
Andrey
0

1 Answer

0

Manage Office 365 Recycle bin by using PowerShell | Office 365

Manage-Office-365-Recycle-bin-by-using-PowerShell
In the current article, we will review how to use PowerShell commands for managing the recovery of user’s accounts in Office 365 environment.
Office 365 Active Directory provides the option to recover office 365 deleted user account. Each of “deleted user account” will be saved in the Active Directory Recycle bin for 30 days. When we delete a user account, the operation described as “Soft Delete” because the user account not deleted completely. Management tasks relating to soft delete are:
  1. Recover Deleted User account.
  2. Delete (remove) Deleted user account – delete a user object from the Active Directory Recycle bin (describes as Hard Delete). This option is suitable for scenarios in which the deleted user account “Blocks” creation of new user account with an identical display name or UPN.
In the article, we review the management of the deleted account by using PowerShell commands.

Article Table of content | Click to Expand

PowerShell | Help & additional information

In case that you are a novice in the PowerShell environment, you can use the following link to get more information about the “first steps” such as: downloading the required PowerShell software components, how to use the PowerShell console, running a PowerShell script, etc.
Read more

1. Restore Deleted User account

1.1 – Restore Deleted User account by using the User UPN

PowerShell command Syntax PowerShell command Example

1.2 – Restore Deleted User account by using the User GUID

PowerShell command Syntax PowerShell command Example

2. Display information

2.1 – Display a list of ALL deleted User accounts

PowerShell command Syntax

2.1 – Display information about Specific deleted User account

PowerShell command Syntax PowerShell command Example

3. Delete (Remove) User account from the Recycle bin

3.1 – Delete (Remove) Specific user account from the Recycle bin

PowerShell command Syntax PowerShell command Example

3.2 – Delete (Remove) ALL user account from the Recycle bin (Bulk Mode)

PowerShell command Syntax
Andrey
0

Your Answer

Please login to post questions.