Disable or Hide 'Everyone' from SharePoint 2013 Share option

Andy Panyanouvath 116 Reputation points
2020-10-23T13:08:19.917+00:00

Hello,

I'd like to disable, or hide the "Everyone" Group from beeing selected while sharing a SharePoint 2013 site.

Is it possible to disable it for the entire farm ?

I have tried those PowerShell commands, but still "Everyone" group is there

First commands from : https://social.msdn.microsoft.com/Forums/en-US/2675408b-ff98-4023-836f-8e5a075da57e/how-could-we-disable-everyone-group-showing-in-sharepoint-2013-while-adding-new-user?forum=sharepointgeneral

$all = Get-SPClaimProvider -Identity "AllUsers"
$all.IsVisible = $false
Second commands from https://social.msdn.microsoft.com/Forums/en-US/0f901c1e-f01b-4f9e-8cc7-fb066f6f86d3/no-everyone-group?forum=sharepointgeneral

$ClaimManager=Get-SPClaimProviderManager
$AllUsers=Get-SPClaimProvider -Identity "AllUsers"
$AllUsers.IsVisible=$False
$ClaimManager.Update
Thank you very much for you help !

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,333 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,504 questions
0 comments No comments
{count} votes

Accepted answer
  1. Echo Du_MSFT 17,156 Reputation points
    2020-10-26T01:31:25.943+00:00

    Hello @Andy Panyanouvath ,

    You could try the following cmdlets to disable Everyone group:

    if(!(Get-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction:SilentlyContinue))  
    {   
        Add-PSSnapin Microsoft.SharePoint.PowerShell   
    }  
    $claimMgr = Get-SPClaimProviderManager  
    $allUser = get-spclaimprovider –identity "AllUsers"  
    $allUser.IsEnabled = $false  
    $claimMgr.Update()   
    

    Here is a similar case for you reference:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/ad63bd73-5070-493c-a358-30d4ab07cdcb/how-disable-everyone-group?forum=SP2016

    Thanks,
    Echo Du

    ================

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.