How-to Search Through Microsoft Teams Built-In Wiki

Last updated on January 09, 2022Published on September 22, 2020 by Ilia Pirozhenko

A lot of users love the wiki tab in Microsoft Teams, until they find that there is no search feature.

Not being able to search Teams built-in Wikis disqualifies its use case for storing and sharing knowledge.

In this blog post I’ll share with you not a baked solution, but a workaround which was shared on the Microsoft Community forums [1].

This workaround is a bit hacky, but it’ll allow you to do a full-text search through Microsoft Teams built-in wiki. At the end of this post, you'll be able to perform a full-text search with highlighting through your wiki content right inside Microsoft Teams.

Guide How to Search Through Microsoft Teams Built-In Wiki

We’ll use the fact that the Microsoft Teams built-in wiki stores all of its data in a document library that’s connected to the SharePoint team site of the team that created it. All wiki pages are stored as files with .mht extensions inside a folder named after the channel in the “Teams Wiki Data” document library on the team site.

So, to do a full-text search inside a built-in wiki, we’ll scope SharePoint full-text search to the “Teams Wiki Data” folder and *.mth extensions. Then we’ll add a SharePoint search view as a web tab to Microsoft Teams.

We’re done with theory, now let’s jump into detailed step-by-step instructions.

Step-By-Step Instructions

  1. Find a link to the SharePoint site of your team. If you already have that link, you can skip this step. Otherwise, the easiest way to find where exactly your wiki data is stored inside SharePoint, is to get that data from a Microsoft Teams search.

    1. Type any phrase from your wiki content into the Microsoft Teams search box and switch to the “Files” tab. You’ll see files with the .mht extension.
    2. Click on any file in the appeared preview window and click “...”. Now, select “Open in SharePoint”.
    How-to Search Through Microsoft Teams Built-In Wiki
  2. Open the “Teams Wiki Data” folder in the SharePoint, and switch your view to the “Classic SharePoint”.

    How-to Search Through Microsoft Teams Built-In Wiki
  3. On the top right corner of the page, find a “Search this site” input. Type “*.mht” (w/o quotes) and press enter. Now you should see the search results with your wiki pages. Copy the URL of that page and use it to create a new web tab inside Microsoft Teams.

    How-to Search Through Microsoft Teams Built-In Wiki
  4. Woo hoo! You can now perform a full-text search through all the wiki content that you have. Do not remove *.mht from the query, it’ll scope the search to only wiki pages. The only big issue with this solution is that you can’t open the result wiki page right from the search view. You should manually find the exact page, but you can grab a wiki-channel name from the link.

Any Other Options?

As stated at the beginning, this method is not a baked solution but a workaround. If you need to have a solid solution, take a look at PerfectWiki. Perfect Wiki is a feature rich wiki for Microsoft Teams, with full-text search, export/import functions and much more.

Also, you can vote on Microsoft Feedback Portal to implement this feature inside the built-in wiki, or try to adopt OneNote as a wiki solution.


This website uses cookies to ensure you get the best experience.Learn more