SOLVED
Home

Teams Wiki - Where is it stored?

%3CLINGO-SUB%20id%3D%22lingo-sub-143827%22%20slang%3D%22en-US%22%3ETeams%20Wiki%20-%20Where%20is%20it%20stored%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-143827%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHopefully%20fairly%20quick%20question%3F%20Does%20anyone%20here%20know%20where%20the%20Microsoft%20Teams%20Wiki%20content%20is%20stored%20in%20the%20back-end%3F%20Is%20it%20in%20SharePoint%20somewhere%2C%20or%20in%20Azure%20Storage%20like%20the%20chat%20service%3F%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20in%20advance%2C%3C%2FP%3E%0A%3CP%3EMike%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-143827%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ECompliance%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EStorage%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWiki%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-304339%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Wiki%20-%20Where%20is%20it%20stored%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-304339%22%20slang%3D%22en-US%22%3E%3CP%3EWell..%20%26nbsp%3Bshe's%20a%20lot%20younger%20and%20more%20spry%2C%20so%20better%20for%20my%20health%20that%20I%20don't%20initiate%20a%20beating%20but%20instead%20continue%20to%20find%20the%20stealth%20solution..%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAND..%20I%20have%20more%20information.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20Sharepoint%20the%20Site%20Contents%20-%26gt%3B%20Teams%20WIKI%20data%20%2F%20%24Channels%20%2F%20%24Wikiname.mht%20is%20as%20I%20reported%20an%20export.%20%26nbsp%3BSetting%20permissions%20here%20has%20no%20effect%20on%20who%20can%20read%2Fedit%20the%20WIKIs.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20there's%20more.%20%26nbsp%3BI%20figured%20that%20Teams%20must%20be%20storing%20the%20WIKI%20data%20in%20Sharepoint%2C%20no%20where%20else%20makes%20sense%2C%20it%20really%20only%20has%20OneDrive%20and%20Sharepoint%20for%20data%20storage.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20there%20appears%20to%20be%20what%20I%20can%20only%20describe%20as%20anonymous%20or%20surrogate%20key%20list%20containers%20in%20the%20Teams'%20Sharepoint%20that%20do%20not%20appear%20in%20Site%20Contents.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20you%20can%20still%20access%20by%20Site%20Contents%20-%26gt%3B%20locate%20Teams%20Wiki%20Data%2C%20but%20don't%20follow%20the%20link%2C%20instead%20click%20on%20the%20vertical%20'...'%20and%20choose%20settings.%20Ignore%20the%20settings%20and%20look%20at%20the%20left%20pane.%20%26nbsp%3BIn%20'Recent'%20there%20will%20be%20a%20long%20file%20name%20%22hex%3A16*%7Bhex%7D%40thread.skype_wiki%22%20list%20container%20for%20each%20channel.%20%26nbsp%3BTrial%20and%20error%20will%20tell%20you%20which%20file%20is%20for%20which%20channel.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20view%2C%20turn%20on%20ID%20and%20wikiCanvasID%20and%20wikiDeleted.%20%26nbsp%3BThe%20rows%20with%20an%20ID%20(seems%20to%20be%20ordinal%20creation%20ID)%20and%20no%20wikiCanvasId%20are%20the%20WIKI%20headers.%20%26nbsp%3BThe%20Page%20and%20Sections%20all%20tie%20back%20to%20the%20Header%20through%20the%20wikiCanvasID.%20%26nbsp%3BDo%20not%20rely%20on%20display%20order.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20I%20look%20at%20the%20properties%26nbsp%3Bof%20this%20list%20items%20I%20see%20the%20real%20underlying%20data.%20%26nbsp%3BI%20also%20see%20that%20they%20are%20writable%20by%20the%20Members%20group.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20not%20tested%20to%20see%20if%20setting%20the%20WIKI%20header%20rows%20to%20read%20only%20by%20Members%20is%20sufficient%20or%20if%20I%20need%20to%20set%20all%20Pages%20and%20Sections%2C%20nor%20do%20I%20know%20if%20setting%20the%20all%20to%20read%20only%20would%20prevent%20a%20Member%20from%20adding%20a%20new%20Page%20or%20Section%20to%20a%20WIKI.%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20at%20least%20I%20now%20know%20where%20the%20data%20really%20is.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBoom.%20%26nbsp%3BDrops%20mic.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-304104%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Wiki%20-%20Where%20is%20it%20stored%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-304104%22%20slang%3D%22en-US%22%3EHm!%20Id%20want%20a%20proper%20explanation%20of%20this%20and%20how%20it%20all%20work%20!%3CBR%20%2F%3EI%20had%20a%20blogpost%20somewhere%20explaining%20some%20of%20this!%20I%E2%80%99ll%20try%20to%20find%20it%3CBR%20%2F%3ERegarding%20your%20%E2%80%9Ctaunting%20one%E2%80%9D%20I%20believe%20your%20best%20solution%20to%20this%20issue%20is%20a%20proper%20beating..%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-304095%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Wiki%20-%20Where%20is%20it%20stored%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-304095%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20is%20not%20correct.%26nbsp%3B%26nbsp%3BIn%20Sharepoint%20I%20do%20have%20the%26nbsp%3B%3CSPAN%3E'Teams%20Wiki%20Data'%20and%20separate%20files%20for%20each%20WIKI%2C%20but%20they%20are%20created%20as%20an%20export%20at%20some%20trigger%20point.%20%26nbsp%3BI%26nbsp%3Bcurrently%20am%20having%20a%20frustration%20in%20that%20I%20am%20attempting%20to%20limit%20edit%20rights%20on%20the%20WIKI's%20by%20setting%20rights%20at%20the%20Sharepoint%20level%20..%20stop%20inheriting..%20adjusted%20as%20required.%20%26nbsp%3B%20I%20am%20the%20only%20member%20of%20Owner%2C%20my%26nbsp%3Bcolleague%20whom%20I%20will%20refer%20to%20as%20The%20Taunting%20One%26nbsp%3Bis%20the%20only%20member%20of%20Members.%20%26nbsp%3BI%20gave%20Owners%20full%20control%20and%20Members%20read%20access.%20%26nbsp%3B%20If%20I%20check%20permissions%20on%20each%20WIKI%20file%20and%20on%20the%20directory%2C%20The%20Taunting%20One%20has%20only%20read.%20%26nbsp%3BYet%20she%20keeps%20going%20into%20the%20WIKIs%20and%20writes%20taunting%20messages%2C%20mostly%20%22Ha!%20I%20win!%22.%20%26nbsp%3B%20When%20I%20view%20the%20WIKI%20in%20Teams%20view%20laptop%20or%26nbsp%3Bmobile%20app%2C%20I%20see%20her%20taunts.%20%26nbsp%3BIf%20I%26nbsp%3Bdownload%20and%20view%20the%20Sharepoint%20files%2C%20they%20are%20tauntless%20(because%20she%20can't%20cause%20a%20write)%20but%20if%20I%20go%20in%20and%20modify%20the%20file%2C%20then%20the%20export%20is%20created%20with%20my%20last%20edit%20and%20includes%20the%26nbsp%3Btaunting.%20%26nbsp%3B%20So%2C%20I%20don't%20know%20where%20data%20is%20really%20stored%2C%20and%20the%26nbsp%3BSharepoint%20WIKI%20data%20is%20only%20a%20copy%20%2F%20export%20after%20the%20fact.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-206203%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Wiki%20-%20Where%20is%20it%20stored%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-206203%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eas%20far%20as%20I%20know%2C%20there%20is%20no%20such%20feature%20right%20now.%3C%2FP%3E%3CP%3EBut%20there%20is%20a%20UserVoice%20right%20%3CA%20href%3D%22https%3A%2F%2Fmicrosoftteams.uservoice.com%2Fforums%2F555103-public%2Fsuggestions%2F18623599-fulltextsearch-for-wiki%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-181901%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Wiki%20-%20Where%20is%20it%20stored%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-181901%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3EDoes%20anybody%26nbsp%3Bwas%20able%26nbsp%3Bto%20search%20in%20to%20the%20MS%20Teams%20Wiki%20content%3F%20thx%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-143832%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Wiki%20-%20Where%20is%20it%20stored%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-143832%22%20slang%3D%22en-US%22%3EBrilliant!%20Thanks%20for%20confirming%20Rob!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-143831%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Wiki%20-%20Where%20is%20it%20stored%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-143831%22%20slang%3D%22en-US%22%3EWiki%20data%20is%20stored%20in%20the%20Group%20SharePoint%20related%20to%20the%20Team%20-%20specifically%2C%20in%20a%20document%20library%20called%20'Teams%20Wiki%20Data'.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-870629%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Wiki%20-%20Where%20is%20it%20stored%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-870629%22%20slang%3D%22en-US%22%3EIn%20this%20blog%20post%20(see%20below)%2C%20echoing%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F256058%22%20target%3D%22_blank%22%3E%40Daniel_Puckett%3C%2FA%3E%2C%20the%20author%20writes%20that%20Teams%20Wiki%20data%20is%20stored%20in%20hidden%20lists%20that%20are%20referenced%20from%20the%20MHT%20files%20in%20the%20Team%20Wiki%20Data%20library.%3CBR%20%2F%3E%3CBR%20%2F%3E%22If%20you%20try%20to%20open%20a%20Wiki%20MHT%20from%20SharePoint%2C%20Word%20Online%20is%20the%20suggested%20application.%20But%20if%20you%20proceed%2C%20you%20see%20the%20error%3A%3CBR%20%2F%3EThis%20page%20is%20automatically%20updated%20from%20the%20Wiki%20in%20Microsoft%20Teams.%20Any%20changes%20made%20here%20will%20be%20overwritten.%20To%20edit%20this%20page%2C%20open%20it%20in%20Microsoft%20Teams.%3CBR%20%2F%3EThe%20reason%20why%20this%20block%20on%20edit%20exists%20is%20that%20the%20MHT%20files%20are%20just%20pointers%20to%20items%20in%20a%20hidden%20SharePoint%20list%20(Figure%204)%20where%20the%20actual%20content%20is%20stored.%20You%20can%20find%20this%20list%20through%20Site%20Contents.%20When%20the%20wiki%20opens%20a%20page%20or%20section%20it%20fetches%20the%20content%20from%20the%20list%20(you%20can%20see%20the%20HTML%20formatted%20text%20in%20the%20wikicontent%20field%20shown%20in%20Figure%203).%22%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Foffice365itpros.com%2F2018%2F10%2F05%2Finside-teams-wiki%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Foffice365itpros.com%2F2018%2F10%2F05%2Finside-teams-wiki%2F%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-887829%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Wiki%20-%20Where%20is%20it%20stored%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-887829%22%20slang%3D%22en-US%22%3E%3CP%3Eso%2C%20if%20you%20go%20to%20your%20Sharepoint%20for%20your%20team%2C%20and%20then%20find%20the%20hidden%20folders%20for%20%22Teams%20Wiki%20Data%22%3C%2FP%3E%3CP%3Ethen%20select%20a%20folders%20(same%20as%20channel%20name)%20toggle%20button%2C%20then%20choose%20manage%20access%2C%20you%20can%20see%20who%20can%20read%2Fedit%20(this%20is%20in%20modern%20view)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Emine%20all%20defaulted%20to%20%22Can%20Edit%22%20for%20Members%20of%20the%20group%2C%20I%20just%20went%20in%20and%20changed%20them%20to%20%22Can%20View%22%20on%20each%20folder.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20haven't%20tested%20it%2C%20but%20seems%20to%20be%20what%20you're%20looking%20for%3F%20try%20it%20out.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Mike Parker
Contributor

Hi All,

 

Hopefully fairly quick question? Does anyone here know where the Microsoft Teams Wiki content is stored in the back-end? Is it in SharePoint somewhere, or in Azure Storage like the chat service? 

 

Thanks in advance,

Mike

9 Replies
Highlighted
Solution
Wiki data is stored in the Group SharePoint related to the Team - specifically, in a document library called 'Teams Wiki Data'.
Highlighted
Brilliant! Thanks for confirming Rob!
Highlighted

Hi All,

Does anybody was able to search in to the MS Teams Wiki content? thx

Highlighted

Hi,

 

as far as I know, there is no such feature right now.

But there is a UserVoice right here

Highlighted

This is not correct.  In Sharepoint I do have the 'Teams Wiki Data' and separate files for each WIKI, but they are created as an export at some trigger point.  I currently am having a frustration in that I am attempting to limit edit rights on the WIKI's by setting rights at the Sharepoint level .. stop inheriting.. adjusted as required.   I am the only member of Owner, my colleague whom I will refer to as The Taunting One is the only member of Members.  I gave Owners full control and Members read access.   If I check permissions on each WIKI file and on the directory, The Taunting One has only read.  Yet she keeps going into the WIKIs and writes taunting messages, mostly "Ha! I win!".   When I view the WIKI in Teams view laptop or mobile app, I see her taunts.  If I download and view the Sharepoint files, they are tauntless (because she can't cause a write) but if I go in and modify the file, then the export is created with my last edit and includes the taunting.   So, I don't know where data is really stored, and the Sharepoint WIKI data is only a copy / export after the fact. 

Highlighted
Hm! Id want a proper explanation of this and how it all work !
I had a blogpost somewhere explaining some of this! I’ll try to find it
Regarding your “taunting one” I believe your best solution to this issue is a proper beating..
Highlighted

Well..  she's a lot younger and more spry, so better for my health that I don't initiate a beating but instead continue to find the stealth solution..

 

AND.. I have more information.

 

In Sharepoint the Site Contents -> Teams WIKI data / $Channels / $Wikiname.mht is as I reported an export.  Setting permissions here has no effect on who can read/edit the WIKIs.

 

But there's more.  I figured that Teams must be storing the WIKI data in Sharepoint, no where else makes sense, it really only has OneDrive and Sharepoint for data storage.

 

So there appears to be what I can only describe as anonymous or surrogate key list containers in the Teams' Sharepoint that do not appear in Site Contents.

 

But you can still access by Site Contents -> locate Teams Wiki Data, but don't follow the link, instead click on the vertical '...' and choose settings. Ignore the settings and look at the left pane.  In 'Recent' there will be a long file name "hex:16*{hex}@thread.skype_wiki" list container for each channel.  Trial and error will tell you which file is for which channel.

 

In the view, turn on ID and wikiCanvasID and wikiDeleted.  The rows with an ID (seems to be ordinal creation ID) and no wikiCanvasId are the WIKI headers.  The Page and Sections all tie back to the Header through the wikiCanvasID.  Do not rely on display order.

 

When I look at the properties of this list items I see the real underlying data.  I also see that they are writable by the Members group.

 

I have not tested to see if setting the WIKI header rows to read only by Members is sufficient or if I need to set all Pages and Sections, nor do I know if setting the all to read only would prevent a Member from adding a new Page or Section to a WIKI.  

 

But at least I now know where the data really is.

 

Boom.  Drops mic.

 

 

 

In this blog post (see below), echoing @Daniel_Puckett, the author writes that Teams Wiki data is stored in hidden lists that are referenced from the MHT files in the Team Wiki Data library.

"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)."

https://office365itpros.com/2018/10/05/inside-teams-wiki/
Highlighted

so, if you go to your Sharepoint for your team, and then find the hidden folders for "Teams Wiki Data"

then select a folders (same as channel name) toggle button, then choose manage access, you can see who can read/edit (this is in modern view)

 

mine all defaulted to "Can Edit" for Members of the group, I just went in and changed them to "Can View" on each folder. 

 

I haven't tested it, but seems to be what you're looking for? try it out. 

Related Conversations
Anyone else had Teams vanish from the apps list?
PhilC42 in Surface Hub on
1 Replies
Teams call transfer failed - Audiocodes VE
Olah Laszlo in Microsoft Teams on
0 Replies
Which headsets?
redtechguy in Microsoft Teams on
2 Replies
Caller notifications
redtechguy in Microsoft Teams on
1 Replies