How to block search in the whole tenant Sharepoint share

2022-02-21T07:30:00.403+00:00

Hello,

I want to share some items using Sharepoint in Office365, is there any posibility to remove the suggestions? or make a separate list just for the sharepoint site ?

176323-image.png

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,343 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,941 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. JoyZ 18,066 Reputation points
    2022-02-21T09:41:23.77+00:00

    @Ovidiu Drăgan @Logicnet Solution ,

    Normally, the People Picker control provides a "friendly" display of users or groups when a claim authentication is used.

    And now we can disable the people search functionality used in the People Picker. The "friendly" display can be disabled by using the SearchResolveExactEmailOrUPN parameter of the Set-SPOTenant cmdlet.

    With the feature disabled, in order to resolve names in the people picker, we must enter the user's full email address or User Principal Name (UPN).

    This example disables starts with for all users/partial name search functionality for all SharePoint users, except SharePoint Admins.

    #Variables for processing  
    $AdminURL = "https://tenant-admin.sharepoint.com/"  
    $AdminName = "julie@tenant.onmicrosoft.com"  
        
    #User Names Password to connect  
    $Password = Read-host -assecurestring "Enter Password for $AdminName"  
    $Credential = new-object -typename System.Management.Automation.PSCredential -argumentlist $AdminName, $Password  
      
    #Connect to SharePoint Online  
    Connect-SPOService -url $AdminURL -credential $Credential  
      
    Set-SPOTenant -SearchResolveExactEmailOrUPN $true  
    

    Note, recently resolved names will still appear in the list until browser cache is cleared or expired.
    This also does not allow SharePoint users to search for security groups or SharePoint groups.
    SharePoint Administrators will still be able to use starts with or partial name matching when enabled.

    More information for your reference:

    https://support.microsoft.com/en-us/office/plan-to-disable-people-discovery-in-onedrive-and-sharepoint-cdbe97f9-a872-4aec-b94a-36844ec2b9aa?ui=en-us&rs=en-us&ad=us


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    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.



  2. sadomovalex 3,631 Reputation points
    2022-02-21T14:37:26.057+00:00

    check solution mentioned here: People Picker - Disable auto-suggestions. It will allow turn off people picker automatic suggestions in particular list while it will still work in other places (which is probably better than disabling it in whole tenant).

    0 comments No comments

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.