# Restore a Recently Deleted User

## Introduction to Exercise

You can [restore a recently deleted user account<svg aria-labelledby="cds-react-aria5472061106-:rp0:-title" class="css-8blerm" fill="none" focusable="false" height="16" id="bkmrk-" role="img" viewbox="0 0 20 20" width="16"><path d="M4.5 17c-.412 0-.766-.147-1.06-.44A1.445 1.445 0 013 15.5v-11c0-.412.147-.766.44-1.06.294-.293.648-.44 1.06-.44h4.75c.213 0 .39.071.534.214a.72.72 0 01.216.532c0 .21-.072.39-.216.535a.72.72 0 01-.534.219H4.5v11h11v-4.75c0-.213.072-.39.214-.534a.72.72 0 01.532-.216c.21 0 .39.072.535.216a.72.72 0 01.219.534v4.75c0 .412-.147.766-.44 1.06-.294.293-.647.44-1.06.44h-11zm11-11.438L8.583 12.48a.681.681 0 01-.52.219.758.758 0 01-.521-.24.729.729 0 010-1.062L14.438 4.5H12.75a.728.728 0 01-.534-.214.72.72 0 01-.216-.532c0-.21.072-.39.216-.535A.72.72 0 0112.75 3h3.5c.212 0 .39.072.534.216A.726.726 0 0117 3.75v3.5c0 .213-.072.39-.214.534a.72.72 0 01-.532.216.734.734 0 01-.535-.216.72.72 0 01-.219-.534V5.562z" fill="currentColor"></path></svg>](https://support.google.com/cloudidentity/answer/1397578?hl=en&ref_topic=7559006) for up to 20 days. After this period, the Admin console permanently deletes the user account and it can't be recovered, even if you contact Google technical support.

In most cases, restoring a deleted user account also restores the user's associated data, however, Google doesn't guarantee full data recovery for a deleted user.

Important:

- You must have super administrator privileges to restore a recently deleted user.
- You can't restore a recently deleted user if the deleted username matches an existing group name, another active username, or another user's [email alias<svg aria-labelledby="cds-react-aria5472061106-:rp2:-title" class="css-8blerm" fill="none" focusable="false" height="16" id="bkmrk--1" role="img" viewbox="0 0 20 20" width="16"><path d="M4.5 17c-.412 0-.766-.147-1.06-.44A1.445 1.445 0 013 15.5v-11c0-.412.147-.766.44-1.06.294-.293.648-.44 1.06-.44h4.75c.213 0 .39.071.534.214a.72.72 0 01.216.532c0 .21-.072.39-.216.535a.72.72 0 01-.534.219H4.5v11h11v-4.75c0-.213.072-.39.214-.534a.72.72 0 01.532-.216c.21 0 .39.072.535.216a.72.72 0 01.219.534v4.75c0 .412-.147.766-.44 1.06-.294.293-.647.44-1.06.44h-11zm11-11.438L8.583 12.48a.681.681 0 01-.52.219.758.758 0 01-.521-.24.729.729 0 010-1.062L14.438 4.5H12.75a.728.728 0 01-.534-.214.72.72 0 01-.216-.532c0-.21.072-.39.216-.535A.72.72 0 0112.75 3h3.5c.212 0 .39.072.534.216A.726.726 0 0117 3.75v3.5c0 .213-.072.39-.214.534a.72.72 0 01-.532.216.734.734 0 01-.535-.216.72.72 0 01-.219-.534V5.562z" fill="currentColor"></path></svg>](https://support.google.com/a/answer/33327). If it does, you'll see a username already exists error message.
- You can't exceed your maximum number of user licenses. If you try to restore a deleted user when you don't have an available license, you'll see a domain is over user limit error message.

### **Exercise Scenario**

The next day you get a high priority email from Lars Ericsson:

*Hello Cloud Identity Admin,*

*I'm afraid I was a little premature in getting you to delete our HR contractor Jon Baird. We've decided to extend his contract and hire him as a full-time employee.*

*Is there any way you can restore his user account?*

*Regards, Lars Ericsson*

### **Exercise Directions**

1\. [Sign into your Google Admin console<svg aria-labelledby="cds-react-aria5472061106-:rp4:-title" class="css-8blerm" fill="none" focusable="false" height="16" id="bkmrk--2" role="img" viewbox="0 0 20 20" width="16"><path d="M4.5 17c-.412 0-.766-.147-1.06-.44A1.445 1.445 0 013 15.5v-11c0-.412.147-.766.44-1.06.294-.293.648-.44 1.06-.44h4.75c.213 0 .39.071.534.214a.72.72 0 01.216.532c0 .21-.072.39-.216.535a.72.72 0 01-.534.219H4.5v11h11v-4.75c0-.213.072-.39.214-.534a.72.72 0 01.532-.216c.21 0 .39.072.535.216a.72.72 0 01.219.534v4.75c0 .412-.147.766-.44 1.06-.294.293-.647.44-1.06.44h-11zm11-11.438L8.583 12.48a.681.681 0 01-.52.219.758.758 0 01-.521-.24.729.729 0 010-1.062L14.438 4.5H12.75a.728.728 0 01-.534-.214.72.72 0 01-.216-.532c0-.21.072-.39.216-.535A.72.72 0 0112.75 3h3.5c.212 0 .39.072.534.216A.726.726 0 0117 3.75v3.5c0 .213-.072.39-.214.534a.72.72 0 01-.532.216.734.734 0 01-.535-.216.72.72 0 01-.219-.534V5.562z" fill="currentColor"></path></svg>](https://support.google.com/cloudidentity/answer/182076?hl=en&ref_topic=7557903) as the administrator user using **your administrator account name and password**.

2\. Click the **Users icon**.

3\. In the **Filters list** (click the **Filters button** if you don't see this list), choose **Recently deleted** users in the User Type drop-down list.

**Note:** *If you have multiple organizations in your domain, stay at the top-level organization—deleted users lose their organization details and are moved to the top-level organization.*

4\. Locate **Jon Baird** in the list and check the box next to his name.

If a deleted user's name isn't in this list, the account has been fully deleted and can no longer be restored.

5\. Click **Recover** user to restore Jon's user account and choose the organization to place him.

**Note:** *You can restore only one user at a time*.

- If the account restore is successful, you may see a banner message similar to “User account restore has been initiated, please wait for 2 hours for complete restore of the account.”
- It may take some time for the user to be visible again in the user list.
- If a user was suspended at the time the account was deleted, such as when you transfer ownership of a user's files, the user will still be suspended after the account is restored.

6\. In the **Filters list**, choose **Suspended users** in the User Type drop-down list.

7\. Restore the suspension and put Jon Baird back in the Active users list:

- In the Suspended users list, **find and click Jon's username**.
- On Jon's user account page, click the exclamation point and select **Reactivate**. Jon should now be back on the Active users list.