Delete or restore users

 

When a user no longer needs their Microsoft Office 365 for enterprises user account, such as when they leave the organization, you should delete the user account. Deleting the user account frees the Office 365 licenses assigned to it and ensures that unauthorized persons do not continue to use the account. For more information about how to remove licenses from users, see Manage licenses.

To delete the account for one or more users

  1. In the header, click Admin.

  2. On the Admin page, in the left pane, under Management, click Users.

  3. On the Users page, select the check box next to the user or users that you want to delete, and then click Delete.

  4. In the confirmation dialog box, click Yes.

When you delete a user account, the account becomes inactive. However, for approximately 30 days after having deleted it, you can restore the account.

Note

If your organization synchronizes user accounts to Office 365 from a local Active Directory environment, you must delete and restore those user accounts in your local Active Directory service. You can’t delete or restore them in Office 365 user management. For more information about synchronizing user accounts to Active Directory, see Activate synced users.

What do you want to do?

  • Restore one or more users

  • Restore a user with a user name conflict

  • Restore a user with a proxy address conflict

Restore one or more users

When you restore a user account within 30 days after deleting it, the user account and all its associated data are restored. The user can sign in to Office 365 with the same user ID, their mailbox is fully restored, and they have access to all services they previously accessed.

Before you restore a user account, make sure there are Office 365 licenses available that you can assign to the account. Also, when you restore an account, you may encounter conflicts with user names or proxy addresses, which you can resolve.

To restore one or more users

  1. Go to Admin > Management > Users.

  2. On the Users page, click the Deleted tab.

  3. On the Deleted page, select the check box next to the user or users that you want to restore, and then click Restore.

  4. In the confirmation dialog box, click Yes.

For more information about deleted user accounts and how to restore them, see How to troubleshoot deleted user accounts in Office 365.

Restore a user that has a user name conflict

A user name conflict occurs when an administrator deletes a user account, creates a new user account that has the same user name (either for the same user or another user with a similar name), and later tries to restore the deleted account.

To resolve a user name conflict, you can either replace the active user account with the one that you are restoring, or assign a different user name to the account that you are restoring so that there aren’t two accounts with the same user name.

To restore a user that has a user name conflict

  1. Go to Admin > Management > Users.

  2. On the Users page, click the Deleted tab.

  3. On the Deleted page, select the check box next to the user or users that you want to restore, and then click Restore.

    Note

    If two or more users fail to be restored, an error message advises you that the restore operation has failed for some users. You can view the log to see which users weren’t restored. You must restore the failed accounts one at a time.

  4. On the User name conflict page, do one of the following:

    • If you want to keep the restored account and the conflicting active account, click Change the user name of the user you want to restore, type a new user name, and then click the appropriate domain name.

    • If you want to remove the active account and replace it with the account that you are restoring, click Replace active user with this deleted user.

  5. Click Submit.

  6. Review the results, and then click Finish.

Restore a user with a proxy address conflict

A proxy address conflict occurs when an administrator deletes a user account that contains a proxy address, assigns the same proxy address to another account, and then tries to restore the deleted account.

To restore a user with a proxy address conflict, follow these steps.

  1. Go to Admin > Management > Users.

  2. On the Users page, click the Deleted tab.

  3. On the Deleted page, select the check box next to the user or users that you want to restore, and then click Restore.

    Note

    If two or more users fail to be restored, an error message advises you that the restore operation has failed for some users. You can view the log to see which users weren’t restored. You must restore the failed accounts one at a time.

  4. On the Resolve proxy address conflict page, if you want to restore the user account and delete the proxy addresses attached to that account, click Submit.

    Note

    If a user account contains more than one error that prevents you from restoring it, the Resolve proxy address conflict page displays a Next button instead of a Submit button. Click Next to resolve the error on the next page.

  5. Review the results, and then click Finish.

Note

If you need to find out how much time remains before a particular user account can no longer be restored, contact Microsoft Office 365 Support.

See Also

Create or edit users
Activate synced users
Manage licenses