Comments on: Hiding People from People Search https://thomasdaly.net/2016/01/16/hiding-people-from-people-search/ Yet another SharePoint / Office 365 blog Fri, 21 Feb 2020 18:47:02 +0000 hourly 1 By: SharePoint online - O365 - Hide disable or inactive users from SharePoint online search | Global SharePoint Diary https://thomasdaly.net/2016/01/16/hiding-people-from-people-search/#comment-12526 Fri, 21 Feb 2020 18:47:02 +0000 https://thomasdaly.net/?p=860#comment-12526 […] https://thomasdaly.net/2016/01/16/hiding-people-from-people-search/ […]

]]>
By: Joe B. https://thomasdaly.net/2016/01/16/hiding-people-from-people-search/#comment-9325 Fri, 15 Feb 2019 18:09:38 +0000 https://thomasdaly.net/?p=860#comment-9325 User error, but my default “Type” was string, not boolean. I was following the steps to create the property and you say, “Set the following properties (everything else leave be)”, but I missed seeing the type being boolean in the pic. Not a big deal, but if you miss it, you’ll have to recreate the property…

]]>
By: Tom Daly https://thomasdaly.net/2016/01/16/hiding-people-from-people-search/#comment-7976 Thu, 09 Aug 2018 04:24:14 +0000 https://thomasdaly.net/?p=860#comment-7976 In reply to Randy Chandler.

This worked last time I tried. You could also use an existing field in the profile to filter by.

]]>
By: Randy Chandler https://thomasdaly.net/2016/01/16/hiding-people-from-people-search/#comment-6745 Fri, 18 May 2018 14:44:42 +0000 https://thomasdaly.net/?p=860#comment-6745 Hi Tom, I was just given a link to this post. Were you ever able to determine if the process you presented in your post still works and/or if modifications need to be made?

]]>
By: Tom Daly https://thomasdaly.net/2016/01/16/hiding-people-from-people-search/#comment-5568 Wed, 21 Feb 2018 01:21:23 +0000 https://thomasdaly.net/?p=860#comment-5568 In reply to Kay.

Yes actually, good thing you bring this up. In Office 365 you are not able to use custom properties in the search queries. You will have to use a property that already exists. In the search schema you could map your custom property to an existing boolean field. In the search query webpart you would filter by this a Refinable property.

]]>
By: Kay https://thomasdaly.net/2016/01/16/hiding-people-from-people-search/#comment-4554 Tue, 14 Nov 2017 20:31:38 +0000 https://thomasdaly.net/?p=860#comment-4554 Hi Tom, has there been an update since you last posted your comment? I just followed your instructions (except for running the script). Wondering if anything adhttps://thomasdaly.net/2016/01/16/hiding-people-from-people-search/?replytocom=1489#respondditional needs to be done? I am hoping the HideFromPeopleSearch In Build your query window/Property Filter shows up.

]]>
By: Umr https://thomasdaly.net/2016/01/16/hiding-people-from-people-search/#comment-3200 Fri, 04 Aug 2017 21:22:31 +0000 https://thomasdaly.net/?p=860#comment-3200 In reply to Umr.

Never mind , I had to go and enter Yes in one of the user profile property and it showed up as crawl property after full crawl.

]]>
By: Umr https://thomasdaly.net/2016/01/16/hiding-people-from-people-search/#comment-3199 Fri, 04 Aug 2017 20:46:12 +0000 https://thomasdaly.net/?p=860#comment-3199 it seems like it does not work with SharePoint 2016, SharePoint 2016 uses ADI by default and once you crate a property it does not add it in to crawled properties after full crawl. need to figure out how to add and crawl it as crawled property.

]]>
By: Tom Daly https://thomasdaly.net/2016/01/16/hiding-people-from-people-search/#comment-2801 Fri, 23 Jun 2017 00:31:23 +0000 https://thomasdaly.net/?p=860#comment-2801 In reply to Tristan Langford – Jackson.

You are 100% right… they no longer let you do anything with search properties. You must use one of the exist refinable properties and map your custom property to it. They provide a bunch of generic properties for the different property types. I will update the blog posting and provide you with a credit for your effort! thanks for sharing!

]]>
By: Tom Daly https://thomasdaly.net/2016/01/16/hiding-people-from-people-search/#comment-2713 Tue, 13 Jun 2017 13:02:13 +0000 https://thomasdaly.net/?p=860#comment-2713 In reply to Tristan Langford – Jackson.

Tristan, thanks for taking the time to look into this and provide feedback. This one has been back and forth a few times with the changes that are happening in Office 365. I’ll give your suggestion a shot this week and post an update.

]]>