How to Remove Deleted Users from SharePoint Online User Information List
Question details
SharePoint administrators need a way to permanently remove stale, deleted, or nonexistent user accounts that still appear in the User Information List after being removed via PowerShell.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- Cleaning up stale user accounts from a SharePoint site collection to ensure accurate user directories and prevent security or administrative confusion.
- Observed behavior
- Deleted users continue to appear in the SharePoint Online User Information List even after their accounts have been successfully removed using PowerShell commands.
Ensure you are logged in with Site Collection Administrator privileges for the specific SharePoint site collection before attempting to delete users.
Delete Stale Users Using the People and Groups Page
Access the hidden User Information List page to manually delete nonexistent users from the specific site collection.
SharePoint maintains a hidden User Information List that caches user profile data for each site collection. Removing users from Microsoft 365 or via PowerShell does not always clear them from this local cache. You must access the hidden user directory page to force the deletion.
Open the affected SharePoint site. In your browser's address bar, append '/_layouts/15/people.aspx?MembershipGroupId=0' to the end of your base site URL (e.g., https://tenant.sharepoint.com/sites/sitename/_layouts/15/people.aspx?MembershipGroupId=0) and press Enter.
Scroll through the list or use the search function to locate the deleted or nonexistent users. Check the box next to each user you want to remove.
Click on the 'Actions' dropdown menu located above the user list, then select 'Delete Users from Site Collection' to permanently remove their cached profiles.

Try WPS Office for Seamless Document Creation and Management
While managing SharePoint administration tasks like cleaning up the User Information List requires Microsoft 365 backend access, your daily document tasks shouldn't be complicated. WPS Office provides a free, lightweight, and user-friendly alternative to Microsoft Office desktop apps, allowing your team to create, edit, and collaborate on documents effortlessly.
- 1. Download the installer: Visit the official WPS Office website to download the free installation package suitable for your operating system.
- 2. Install WPS Office: Run the downloaded installer and follow the quick on-screen instructions to complete the setup.
- 3. Open and edit files: Launch WPS Office and instantly open your existing Microsoft Office documents without any format conversion required.

Frequently Asked Questions
Why do deleted users still show up in SharePoint Online?
SharePoint caches user profiles in a hidden User Information List specific to each site collection. Even if a user is completely deleted from the Microsoft 365 admin center or removed via PowerShell, their metadata remains in this local cache until it is manually cleared from the People and Groups page.
What permissions are needed to remove users from the site collection?
You need Site Collection Administrator permissions to access the hidden MembershipGroupId=0 page and successfully execute the 'Delete Users from Site Collection' action under the Actions dropdown.
What should I do if the 'Delete Users from Site Collection' option is missing?
If the option is unavailable in the Actions menu, first verify that you have full Site Collection Administrator permissions. If your permissions are correct and the option remains missing, you will need to contact Microsoft Support for advanced backend assistance.




