A couple of day ago, I was asked where Teams Wiki data was stored. The question came about because the Wiki wasn’t searchable in Teams, which seemed odd for an Office 365 component. The idea behind the Wiki is that it’s a place where team members can share notes in a somewhat more structured way than exists in channel conversations. You can discuss Wiki contents in conversations by either including @ mentions in the body of its text or by starting a conversation linked to the Wiki.
The Wiki is a default tab that’s added to every channel after it is created. You can rename or remove the tab if you don’t want it, which often happens when an organization uses OneNote for note-taking.
Teams Wiki Data
Some quick investigation revealed that Teams stores wiki content in a document library of the SharePoint team site belonging to the team where the content is created. Although each channel in a team gets a wiki tab, Teams doesn’t create anything in SharePoint until the first time that someone opens the wiki. At this point, Teams creates a folder named after the channel in the Teams Wiki Data document library in the team site, which you can see through Site Contents (Figure 1).
Figure 1: The Teams Wiki Data document library in Site Contents
If you open Teams Wiki Data, you’ll see the folders for the channels in the team where wiki content has been created.
Wiki Sections and Pages
Within the channel, a Teams Wiki is composed of sections and pages, just like OneNote. You can insert text (with a limited set of styles, images (from Teams, OneDrive, one of the cloud storage locations configured for the team, or your workstation), hyperlinks, or a table. You can also create bulleted and numbered lists and highlight text.
Figure 2: Editing Wiki content in Teams
Overall, text formatting for wiki content is limited too and is like the editor used to compose messages in Teams. You won’t write War and Peace in the wiki, but the editor is perfectly adequate for simple composition.
Wiki Files in SharePoint
Each page in the wiki is represented as an MHT file stored in the document library. The saving mechanism for the wiki is interesting because the files stored in SharePoint don’t report updates. At least, their modified date doesn’t change and the reported timestamp is when the page is created. All of the sections in a page are in the same MHT file.
Figure 3: Wiki files in SharePoint document library
It’s possible to add multiple Wiki tabs to a channel (to confuse users). All the pages for all the wiki tabs end up in the same folder for the channel.
Error opening Wiki Files
If you try to open a Wiki MHT from SharePoint, Word Online is the suggested application. But if you proceed, you see the error:
This page is automatically updated from the Wiki in Microsoft Teams. Any changes made here will be overwritten. To edit this page, open it in Microsoft Teams.
The reason why this block on edit exists is that the MHT files are just pointers to items in a hidden SharePoint list (Figure 4) where the actual content is stored. You can find this list through Site Contents. When the wiki opens a page or section it fetches the content from the list (you can see the HTML formatted text in the wikicontent field shown in Figure 3).
Figure 4: Wiki content in a hidden list
No Search
To come back to the original question, any content you enter into a Teams Wiki is invisible for search purposes. You can’t find it in Teams or by using Microsoft 365 Search or Delve. This is rather a mystery because Microsoft makes a big thing of being able to search for content across Office 365, but perhaps it’s a feature that’s “coming soon.”
To learn more about Teams and the tabs you can create for channels, read the chapter covering Teams architecture in the Office 365 for IT Pros ebook.
Excellent writeup Tony. For enterprise orgs like mine that are married to MS and Office365 solutions, this is the very kind of sleuthing we have to do, almost daily, to make the tools usable with any sort of modern expectations. I’m at wits end with MS for continuing to prioritize inane features like adding status interface to windows task bar, over things like making wiki content searchable. Why do you think this is happening? I figure you must have some insight since your last name is Redmond. 😉
Even with my name, I don’t know what is happening with the Wiki content. You can always vote on Teams User Voice. https://microsoftteams.uservoice.com/
Tony, in the meantime, how would/do you use Teams as a knowledge base tool? I am deciding on a current best practice in an Engineering org that has adopted Teams. I read someone’s idea for a workaround would be to not use the Wiki, but to consolidate all of a Team’s Wikis into a channel therein called “Wiki”, and use subject headers, markup, and edit capability to author your now-searchable content in every top post in the channel. I’m inclined to use this approach for now instead of proliferating content in such dark corners as Teams Wikis.
Do you have thoughts on this approach, or have any other suggestions for workarounds _using Teams today_?
Most people I speak to about this topic recommend the use of OneNote instead of the Teams Wiki. They like synchronization and the other features in OneNote…
Hello – thank you for this great write up. As I was looking for information around, syncing up the MHT files back over to Teams Wiki, I stumbled into this content. We had a situation where we had to migrate from one internal domain to another due to our organization being acquired. In this process, the Teams Wiki content got lost. We can see the MHT files in the Sharepoint website but Teams does not show this info any more. Is there any way to restore the links back again with the top level channel in Teams?
I don’t have a good answer for you, but maybe Microsoft support might be able to help. They tend to have tools that can do things that normal mortals can’t do.
I’m hoping you can help me. We have several teams created, and are moving to a new standard, and when trying to move over files from the old wiki to the new wiki, the file moves. I can see it in sharepoint. However I can not get it to show in the wiki. Can you please point me in the direction of where I can look to get this resolved?
I’d file a support call with Microsoft. Their support people have different tools they can employ to resolve issues and might have something that can help here.
Wiki pages/content can’t be migrated. That is something what i’m learning too. It has its limitations. Whatever Tony has in this article, partially is not available anymore. MHT files are available, but not the content where these files point to. Recommendation is to Create OneNote tab, and to remove Wiki Tab (for future). Currently, there is no solution. If i’m able to find it, i will post it here.
It’s an old article now. I haven’t looked at this topic for quite a while. But I would always take OneNote over the Wiki.
Loading...
In regards to this, found this list (hidden one). To navigate to this hidden list, first navigate to “Teams Wiki Data” –> Library settings, in the quick launch “Recent” -> you will find a list with GUID in there. [This appears only when you do the above]. Click on it, and you will be taken to this hidden list. You will find Wiki, Pages, Sections, associations… everything here.
Well, now they have announced you can soon no longer create new wiki in Teams, how long until it gets shut down, which leaves us admins scrabbling to identify sites that have wiki in use and prepare to probably have to move to an alternative wiki solution, I have not yet found a way to identify teams that have made use of the wiki function, short of opening each site one at a time…
{"id":null,"mode":"button","open_style":"in_modal","currency_code":"EUR","currency_symbol":"\u20ac","currency_type":"decimal","blank_flag_url":"https:\/\/office365itpros.com\/wp-content\/plugins\/tip-jar-wp\/\/assets\/images\/flags\/blank.gif","flag_sprite_url":"https:\/\/office365itpros.com\/wp-content\/plugins\/tip-jar-wp\/\/assets\/images\/flags\/flags.png","default_amount":100,"top_media_type":"featured_image","featured_image_url":"https:\/\/office365itpros.com\/wp-content\/uploads\/2022\/11\/cover-141x200.jpg","featured_embed":"","header_media":null,"file_download_attachment_data":null,"recurring_options_enabled":true,"recurring_options":{"never":{"selected":true,"after_output":"One time only"},"weekly":{"selected":false,"after_output":"Every week"},"monthly":{"selected":false,"after_output":"Every month"},"yearly":{"selected":false,"after_output":"Every year"}},"strings":{"current_user_email":"","current_user_name":"","link_text":"Virtual Tip Jar","complete_payment_button_error_text":"Check info and try again","payment_verb":"Pay","payment_request_label":"Office 365 for IT Pros","form_has_an_error":"Please check and fix the errors above","general_server_error":"Something isn't working right at the moment. Please try again.","form_title":"Office 365 for IT Pros","form_subtitle":null,"currency_search_text":"Country or Currency here","other_payment_option":"Other payment option","manage_payments_button_text":"Manage your payments","thank_you_message":"Thank you for supporting the work of Office 365 for IT Pros!","payment_confirmation_title":"Office 365 for IT Pros","receipt_title":"Your Receipt","print_receipt":"Print Receipt","email_receipt":"Email Receipt","email_receipt_sending":"Sending receipt...","email_receipt_success":"Email receipt successfully sent","email_receipt_failed":"Email receipt failed to send. Please try again.","receipt_payee":"Paid to","receipt_statement_descriptor":"This will show up on your statement as","receipt_date":"Date","receipt_transaction_id":"Transaction ID","receipt_transaction_amount":"Amount","refund_payer":"Refund from","login":"Log in to manage your payments","manage_payments":"Manage Payments","transactions_title":"Your Transactions","transaction_title":"Transaction Receipt","transaction_period":"Plan Period","arrangements_title":"Your Plans","arrangement_title":"Manage Plan","arrangement_details":"Plan Details","arrangement_id_title":"Plan ID","arrangement_payment_method_title":"Payment Method","arrangement_amount_title":"Plan Amount","arrangement_renewal_title":"Next renewal date","arrangement_action_cancel":"Cancel Plan","arrangement_action_cant_cancel":"Cancelling is currently not available.","arrangement_action_cancel_double":"Are you sure you'd like to cancel?","arrangement_cancelling":"Cancelling Plan...","arrangement_cancelled":"Plan Cancelled","arrangement_failed_to_cancel":"Failed to cancel plan","back_to_plans":"\u2190 Back to Plans","update_payment_method_verb":"Update","sca_auth_description":"Your have a pending renewal payment which requires authorization.","sca_auth_verb":"Authorize renewal payment","sca_authing_verb":"Authorizing payment","sca_authed_verb":"Payment successfully authorized!","sca_auth_failed":"Unable to authorize! Please try again.","login_button_text":"Log in","login_form_has_an_error":"Please check and fix the errors above","uppercase_search":"Search","lowercase_search":"search","uppercase_page":"Page","lowercase_page":"page","uppercase_items":"Items","lowercase_items":"items","uppercase_per":"Per","lowercase_per":"per","uppercase_of":"Of","lowercase_of":"of","back":"Back to plans","zip_code_placeholder":"Zip\/Postal Code","download_file_button_text":"Download File","input_field_instructions":{"tip_amount":{"placeholder_text":"How much would you like to tip?","initial":{"instruction_type":"normal","instruction_message":"How much would you like to tip? Choose any currency."},"empty":{"instruction_type":"error","instruction_message":"How much would you like to tip? Choose any currency."},"invalid_curency":{"instruction_type":"error","instruction_message":"Please choose a valid currency."}},"recurring":{"placeholder_text":"Recurring","initial":{"instruction_type":"normal","instruction_message":"How often would you like to give this?"},"success":{"instruction_type":"success","instruction_message":"How often would you like to give this?"},"empty":{"instruction_type":"error","instruction_message":"How often would you like to give this?"}},"name":{"placeholder_text":"Name on Credit Card","initial":{"instruction_type":"normal","instruction_message":"Enter the name on your card."},"success":{"instruction_type":"success","instruction_message":"Enter the name on your card."},"empty":{"instruction_type":"error","instruction_message":"Please enter the name on your card."}},"privacy_policy":{"terms_title":"Terms and conditions","terms_body":null,"terms_show_text":"View Terms","terms_hide_text":"Hide Terms","initial":{"instruction_type":"normal","instruction_message":"I agree to the terms."},"unchecked":{"instruction_type":"error","instruction_message":"Please agree to the terms."},"checked":{"instruction_type":"success","instruction_message":"I agree to the terms."}},"email":{"placeholder_text":"Your email address","initial":{"instruction_type":"normal","instruction_message":"Enter your email address"},"success":{"instruction_type":"success","instruction_message":"Enter your email address"},"blank":{"instruction_type":"error","instruction_message":"Enter your email address"},"not_an_email_address":{"instruction_type":"error","instruction_message":"Make sure you have entered a valid email address"}},"note_with_tip":{"placeholder_text":"Your note here...","initial":{"instruction_type":"normal","instruction_message":"Attach a note to your tip (optional)"},"empty":{"instruction_type":"normal","instruction_message":"Attach a note to your tip (optional)"},"not_empty_initial":{"instruction_type":"normal","instruction_message":"Attach a note to your tip (optional)"},"saving":{"instruction_type":"normal","instruction_message":"Saving note..."},"success":{"instruction_type":"success","instruction_message":"Note successfully saved!"},"error":{"instruction_type":"error","instruction_message":"Unable to save note note at this time. Please try again."}},"email_for_login_code":{"placeholder_text":"Your email address","initial":{"instruction_type":"normal","instruction_message":"Enter your email to log in."},"success":{"instruction_type":"success","instruction_message":"Enter your email to log in."},"blank":{"instruction_type":"error","instruction_message":"Enter your email to log in."},"empty":{"instruction_type":"error","instruction_message":"Enter your email to log in."}},"login_code":{"initial":{"instruction_type":"normal","instruction_message":"Check your email and enter the login code."},"success":{"instruction_type":"success","instruction_message":"Check your email and enter the login code."},"blank":{"instruction_type":"error","instruction_message":"Check your email and enter the login code."},"empty":{"instruction_type":"error","instruction_message":"Check your email and enter the login code."}},"stripe_all_in_one":{"initial":{"instruction_type":"normal","instruction_message":"Enter your credit card details here."},"empty":{"instruction_type":"error","instruction_message":"Enter your credit card details here."},"success":{"instruction_type":"normal","instruction_message":"Enter your credit card details here."},"invalid_number":{"instruction_type":"error","instruction_message":"The card number is not a valid credit card number."},"invalid_expiry_month":{"instruction_type":"error","instruction_message":"The card's expiration month is invalid."},"invalid_expiry_year":{"instruction_type":"error","instruction_message":"The card's expiration year is invalid."},"invalid_cvc":{"instruction_type":"error","instruction_message":"The card's security code is invalid."},"incorrect_number":{"instruction_type":"error","instruction_message":"The card number is incorrect."},"incomplete_number":{"instruction_type":"error","instruction_message":"The card number is incomplete."},"incomplete_cvc":{"instruction_type":"error","instruction_message":"The card's security code is incomplete."},"incomplete_expiry":{"instruction_type":"error","instruction_message":"The card's expiration date is incomplete."},"incomplete_zip":{"instruction_type":"error","instruction_message":"The card's zip code is incomplete."},"expired_card":{"instruction_type":"error","instruction_message":"The card has expired."},"incorrect_cvc":{"instruction_type":"error","instruction_message":"The card's security code is incorrect."},"incorrect_zip":{"instruction_type":"error","instruction_message":"The card's zip code failed validation."},"invalid_expiry_year_past":{"instruction_type":"error","instruction_message":"The card's expiration year is in the past"},"card_declined":{"instruction_type":"error","instruction_message":"The card was declined."},"missing":{"instruction_type":"error","instruction_message":"There is no card on a customer that is being charged."},"processing_error":{"instruction_type":"error","instruction_message":"An error occurred while processing the card."},"invalid_request_error":{"instruction_type":"error","instruction_message":"Unable to process this payment, please try again or use alternative method."},"invalid_sofort_country":{"instruction_type":"error","instruction_message":"The billing country is not accepted by SOFORT. Please try another country."}}}},"fetched_oembed_html":false}
Excellent writeup Tony. For enterprise orgs like mine that are married to MS and Office365 solutions, this is the very kind of sleuthing we have to do, almost daily, to make the tools usable with any sort of modern expectations. I’m at wits end with MS for continuing to prioritize inane features like adding status interface to windows task bar, over things like making wiki content searchable. Why do you think this is happening? I figure you must have some insight since your last name is Redmond. 😉
Even with my name, I don’t know what is happening with the Wiki content. You can always vote on Teams User Voice. https://microsoftteams.uservoice.com/
Thanks Tony. Yes, I make sure to vote on the issues plaguing my team, and encourage them to do so as well.
Tony, in the meantime, how would/do you use Teams as a knowledge base tool? I am deciding on a current best practice in an Engineering org that has adopted Teams. I read someone’s idea for a workaround would be to not use the Wiki, but to consolidate all of a Team’s Wikis into a channel therein called “Wiki”, and use subject headers, markup, and edit capability to author your now-searchable content in every top post in the channel. I’m inclined to use this approach for now instead of proliferating content in such dark corners as Teams Wikis.
Do you have thoughts on this approach, or have any other suggestions for workarounds _using Teams today_?
Most people I speak to about this topic recommend the use of OneNote instead of the Teams Wiki. They like synchronization and the other features in OneNote…
Excellent article. I have one question. I cannot see what is shown in figure 4. How can it be reached from SharePoint main UI?
Are you an admin of the SPO site? If not, you won’t be able to see the hidden list.
Yes, I’m
And you don’t see the Teams Wiki Data document library listed in Site Contents?
This one I see, but I don’t see the hidden list where the actual wiki pages are stored in like you show in Figure 4.
Looks like Microsoft might have hidden some of the more interesting data since that article was written. Sixteen months is a long time in cloud terms…
Hello – thank you for this great write up. As I was looking for information around, syncing up the MHT files back over to Teams Wiki, I stumbled into this content. We had a situation where we had to migrate from one internal domain to another due to our organization being acquired. In this process, the Teams Wiki content got lost. We can see the MHT files in the Sharepoint website but Teams does not show this info any more. Is there any way to restore the links back again with the top level channel in Teams?
I don’t have a good answer for you, but maybe Microsoft support might be able to help. They tend to have tools that can do things that normal mortals can’t do.
Did you get this resolved? I am experiencing this as well.
Thanks,
Hi Tony,
I’m hoping you can help me. We have several teams created, and are moving to a new standard, and when trying to move over files from the old wiki to the new wiki, the file moves. I can see it in sharepoint. However I can not get it to show in the wiki. Can you please point me in the direction of where I can look to get this resolved?
I’d file a support call with Microsoft. Their support people have different tools they can employ to resolve issues and might have something that can help here.
Wiki pages/content can’t be migrated. That is something what i’m learning too. It has its limitations. Whatever Tony has in this article, partially is not available anymore. MHT files are available, but not the content where these files point to. Recommendation is to Create OneNote tab, and to remove Wiki Tab (for future). Currently, there is no solution. If i’m able to find it, i will post it here.
It’s an old article now. I haven’t looked at this topic for quite a while. But I would always take OneNote over the Wiki.
In regards to this, found this list (hidden one). To navigate to this hidden list, first navigate to “Teams Wiki Data” –> Library settings, in the quick launch “Recent” -> you will find a list with GUID in there. [This appears only when you do the above]. Click on it, and you will be taken to this hidden list. You will find Wiki, Pages, Sections, associations… everything here.
“any content you enter into a Teams Wiki is invisible for search purposes” – this was in 2018. It still does not work in 2022.
Well, now they have announced you can soon no longer create new wiki in Teams, how long until it gets shut down, which leaves us admins scrabbling to identify sites that have wiki in use and prepare to probably have to move to an alternative wiki solution, I have not yet found a way to identify teams that have made use of the wiki function, short of opening each site one at a time…
https://petri.com/m365-changelog-wiki-retirement-and-the-future-of-note-taking-in-teams-channels/
Covered in https://office365itpros.com/2022/07/15/teams-wiki-nomore/ – you’ll get an app to convert the wiki to Notes in SharePoint Online.
As to finding wikis in Team, I wrote this script a long time ago (in other words, it needs to be refreshed). It might help: https://github.com/12Knocksinna/Office365itpros/blob/master/FindTabsAndAppsInTeams.ps1