question

MichaelHan-MSFT avatar image
0 Votes"
MichaelHan-MSFT asked ElsieLu-MSFT commented

How to Disable or Hide "Everyone" in People Picker in SharePoint 2016

HI,

We are arranging the Peoples and Groups for interna and external Users. I need to hide "everyone" in people picker so there is no chance I can give the external usres in "Owners" group.

I saw some articles in SPO, where it can easily be hidden/disabled but not in On Prem. Do we know how?

https://techtrainingnotes.blogspot.com/2016/03/sharepoint-2013-and-sharepoint-online.html

Thanks,

Frances

Source link from TechNet


office-sharepoint-server-customization
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
Would you tell me whether your issue has been resolved or have any update ?
I am looking forward to your reply.
Thanks,
Elsie Lu

0 Votes 0 ·

1 Answer

ElsieLu-MSFT avatar image
0 Votes"
ElsieLu-MSFT answered ElsieLu-MSFT edited

According to your description, I recommend disabling this option via powershell commands which can be restored at any time.
This is the powershell command involved:

 $claimMgr = Get-SPClaimProviderManager
    
 $allUser = get-spclaimprovider –identity "AllUsers"
    
 $allUser.IsEnabled = $false
    
 $claimMgr.Update()

If you want to restore it, just let $allUser.IsEnabled=$true.
Reference:
https://social.technet.microsoft.com/Forums/sharepoint/en-US/ad63bd73-5070-493c-a358-30d4ab07cdcb/how-disable-everyone-group?forum=SP2016


If the 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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.