How to Remove the Everyone Claim from a SharePoint Site
Question details
The user needs to remove or hide the "Everyone" or "Everyone except external users" claim from SharePoint sites to prevent overly broad access permissions.

- Product
- SharePoint Online and SharePoint Server
- Device & OS
- not provided
- Scenario
- Managing tenant and site permissions to restrict broad access granted by default SharePoint claims.
- Observed behavior
- The "Everyone except external users" claim is automatically provisioned and simplifies access, but grants broad internal access that must be manually or programmatically removed.
Before making tenant-wide changes or running automation scripts, audit your SharePoint environment to ensure no critical resources or legacy workflows rely exclusively on the Everyone claim for access.
Hide the Claim Tenant-Wide Using PowerShell
Use the SharePoint Online Management Shell to hide the claim across your entire tenant, preventing users from assigning it in the future.
The 'Everyone except external users' claim is provisioned automatically. Hiding it tenant-wide stops users from finding and selecting it in the People Picker going forward. However, it does not retroactively remove the claim from sites where it has already been applied.
Download and launch the SharePoint Online Management Shell as an administrator on your computer.
Run the command Connect-SPOService -Url https://yourtenant-admin.sharepoint.com and authenticate using your global administrator or SharePoint administrator credentials.
Type Set-SPOTenant -ShowEveryoneExceptExternalUsersClaim $false and press Enter to hide the claim globally across your Microsoft 365 tenant.

Remove Claims from Individual Sites via Automation
Use an automated process like Microsoft Graph APIs or PowerShell scripting to clean up the claim from existing SharePoint sites.
Looking for a Lightweight and Free Alternative to Microsoft Office?
Managing complex Microsoft environments like SharePoint can be daunting and time-consuming. If you are looking for a straightforward, highly compatible office suite for your daily document creation needs without the complex enterprise overhead, WPS Office provides a lightweight, easy-to-use, and entirely free alternative.
- 1. Download the Installer: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install the Suite: Run the setup file and follow the quick on-screen instructions to install WPS Office on your device.
- 3. Open and Edit Files: Open your existing Word, Excel, and PowerPoint documents instantly with zero formatting loss and start working.

Frequently Asked Questions
Can I manually delete the Everyone claim from a single SharePoint site?
Yes. Site owners can manually remove it by navigating to Site Settings > Site Permissions, selecting the claim within the permission group, and clicking 'Remove User from Group'. However, for dozens of sites, automation is heavily recommended.
Does hiding the Everyone claim delete it from existing groups?
No. Running the Set-SPOTenant command only hides the claim from the People Picker for future assignments. It remains fully active and functional on any sites where it was previously granted.
What is the difference between the 'Everyone' and 'Everyone except external users' claims?
The 'Everyone' claim includes all authenticated users, which can include guests and external partners in your directory. The 'Everyone except external users' claim restricts access exclusively to internal members of your organization.




