Search
262 TopicsConfigure modern search results to search all of your organization (rather than the current site)
Hey everyone, We heard from many of you the need to be able to change the scope of your modern search results pages. When you create a new communication site or team site in SharePoint Online today, and type into the search box, you are taken to the modern search results page. This page shows results from your current site by default, and allows you to expand the scope of your search to the hub that the current site is associated with (if there is one), or to the whole organization. But there is a desire for being able to change the behavior to always search over the whole organization, or across the hub a site is associated with, without needing an additional click, especially if the site in question will be used as a modern landing page for your organization. I'm happy to say that with the latest version of the SharePoint PnP PowerShell extensions, it is possible to run a simple command as the site owner, and make your site use the organization, or the hub scope by default. To change this setting: 1. Start PowerShell in administrator mode as you will be installing the PnP extensions. 2. Run the following commands to in this order: PS C:\WINDOWS\system32> Install-Module SharePointPnPPowerShellOnline # If you previously had installed this module, you may need to use the "-Force" parameter to install the newer version. PS C:\WINDOWS\system32> Connect-PnPOnline -Url https://contosodemosg.sharepoint.com/sites/Strategy -UseWebLogin # this will prompt you to sign into your site. Use the site owner credentials to sign in PS C:\WINDOWS\system32> $web = Get-PnPWeb PS C:\WINDOWS\system32> $web.SearchScope = 1 # 1 for Tenant, 2 for Hub, 3 for Site, 0 for default behavior PS C:\WINDOWS\system32> $web.Update() PS C:\WINDOWS\system32> Invoke-PnPQuery After running these commands, the site will start to show results from the whole organization. To go back to the default setting, run the commands again with the value provided to "SearchScope" parameter to 0. To search across the Hub, use 2 as the SearchScope value. We will be providing a way to set this setting using the UI in a future release as well. Updated in April 2020 to reflect the ability to search across Hubs.Solved102KViews21likes77CommentsConfigure Search Results in Modern page (Modern Search Center)
Has anyone been able to modify the search results page of Modern Pages which seems to have missing that at present. There is no way to customize the results view, switch to classic view, use custom result sources or redirect to enterprise search center. It always defaults to "/search/sitefiles" location instead of only "/search". Is there a way to hook into the route and default it to global or do any of the above. If the modern search results page is not customizable, is there a way (powershell, csom or configurable) way to redirect to classic SharePoint search center page.45KViews0likes17CommentsSharePoint Online Search Filters - Managed Metadata
Hi All Hopefully an easy question. On the SharePoint Online search results page (/_layouts/15/search.aspx) is it possible to have additional filters on the Files tab using Managed Metadata? If so, please could you point me in the right direction to configure this? Thanks Allan28KViews0likes24CommentsSearch Within Chat
Using Teams on Windows desktop, I am no longer able to search within a chat for words or phrases. When I click on the search bar at the top, I can only search for people and chats. I've uninstalled and reinstalled the program and deleted temp files, but that did not help. Any suggestions?26KViews0likes13Comments"Please wait for Windows Search" when logging off
Hi, We use FSLogix, Azure Premium File Share, and high powered skus for the vms. When my users log out, it hangs at "Please wait for Windows Search" for up to 8 minutes before finally logging out. Also, Outlook randomly crashes with a Windows Search error. I have had a premier ticket opened for over a week with no traction so I'm reaching out here. Hoping someone can help!23KViews0likes5CommentsTeams search changed, and is now useless
I don't know when this happened but search has changed in teams recently, and it's unbelievably useless. Searching within a single conversation isn't intuitive. Took me forever to figure out how that works. But the biggest problem is that now when I search it returns results and in the past when I'd click the item in the results list, it would take me to that point in time of the entire conversation. Now it just shows me the single message and I can't see the entire conversation surrounding it. Since the conversation was back in July, and this is a person I talk to all day every day scrolling back to that point in time would take a VERY long time. Basically we're encountering an issue in our development environment that happened previously and I fixed it back in July but it's happening again and I don't remember what we did to fix it. So I search for the term I need, get the messages around that time in July, and I see just that one message but I need to see the entire conversation. This is a terrible change that wasn't thought through. How can I get it to rewind to that point in time without having to scroll up for 20 minutes?23KViews9likes22CommentsIs there any option to create search results page in modern team site?
Modern search is really not helpful. It is not showing refiners from site columns even after i mapped them to managed properties. In my scenario, i am using managed metadata columns and attaching to library. When I search for any item, it is not showing any refiners for managed metadata site column. Is there any way that I can create a new webpart page and add search web parts into it then map this page to search results? When I try to add search web parts in modern site (with classic page) search web parts are not available to add. But If I create site page in classic team site I am able to see the search web parts. In my modern team site I have enabled "SharePoint Server Enterprise Site Collection features" and "SharePoint Server Standard Site Collection features". Is there any other thing that i have missed here to see the search web parts in modern team sites?Solved17KViews0likes13Comments