Last updated on October 6th, 2017 at 10:31 am

Introduction

If you want to find and remove SharePoint user accounts, this can either be a trivial task or a rather cumbersome endeavor.  If your portal only has one site collection and a small number of users, the GUI is probably the easiest method.  However, if your portal contains multiple site collections and thousands of users, finding and removing them with PowerShell will be much easier and faster.

Find SharePoint User Accounts

To locate a user account with the GUI, navigate to the user information list page.  This can be accessed via http://<portal>/_catalogs/users/detail.aspx or http://<portal>/_catalogs/users/simple.aspx.

Here’s a small script that will enumerate all portal site collections and return any matches of a user account based upon their e-mail address:

Remove SharePoint User Accounts

The process to remove a user account with the GUI is the same as finding a user.  Navigate to the user information list page.  This can be accessed via http://<portal>/_catalogs/users/detail.aspx or http://<portal>/_catalogs/users/simple.aspx.  You can then page through the list, find the user to remove, select the user and finally delete them from the site collection.

Here’s a small script that will remove a user account from all portal site collections based upon their login ID:

 

Additional Resources

For even more fun with SharePoint user accounts check out these additional articles :-)

Find Duplicate Users in SharePoint User Information List

Update SharePoint User Information List