Home

Is there Teams Chat history in Outlook? "There is no spoon"

%3CLINGO-SUB%20id%3D%22lingo-sub-354220%22%20slang%3D%22en-US%22%3EIs%20there%20Teams%20Chat%20history%20in%20Outlook%3F%20%22There%20is%20no%20spoon%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-354220%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3ELet%20me%20share%20how%20I%20found%20Microsoft%20Teams%20chat%20history%20of%20a%20user%20in%20its%20Exchange%20Online%20mailbox.%3C%2FP%3E%3CP%3E%E2%80%9C%3CEM%3EWarning!%20The%20information%20in%20the%20post%20is%20provided%20just%20for%20clarification.%20It%20is%20not%20recommended%20to%20use%20in%20the%20production%20environment%20or%20build%20a%20solution.%20Use%20the%20steps%20provided%20below%20in%20a%20test%20tenant%20only%3C%2FEM%3E%E2%80%9D.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20all%20got%20used%20to%20see%20Skype%20for%20Business%20or%20Lync%20conversation%20history%20directly%20in%20the%20Exchange%20Mailboxes.%20Anyone%20can%20find%20it%20in%20MS%20Outlook%20Client%20(both%20in%20Online%20and%20in%20on-premises%20mailboxes).%20There%20are%20distinct%20objects%20for%20each%20conversation%20of%20the%20users.%20Skype%20for%20Business%20puts%20the%20data%20itself%20to%20a%20mailbox%20via%20EWS%20engine.%3C%2FP%3E%3CP%3EWhen%20we%20are%20talking%20about%20Microsoft%20Teams%20we%20need%20to%20consider%20the%20next%20important%20points%3A%3C%2FP%3E%3CUL%3E%3CLI%3EMicrosoft%20Teams%20works%20with%20the%20special%20Chat%20Service%20in%20Microsoft%20Azure.%20There%20is%20a%20substrate%20process%20which%20copy%20some%20chat%20data%20into%20the%20Online%20mailboxes.%3C%2FLI%3E%3CLI%3EMicrosoft%20Teams%20is%20Online%20service%20only.%20As%20such%20it%20cannot%20store%20or%20send%20conversations%20into%20the%20On-premises%20Mailboxes.%3C%2FLI%3E%3C%2FUL%3E%3CP%3EIn%20fact%2C%20Microsoft%20Teams%20works%20with%20Azure%20Chat%20Service%20directly%20and%20puts%20the%20data%20into%20Chat%20service%20only.%20Then%20part%20of%20the%20data%20is%20copied%20to%20an%20Exchange%20Online%20mailbox%20of%20the%20same%20user%20after%20a%20while%20(in%20fact%2C%20very%20quickly).%3C%2FP%3E%3CP%3EIt%20allows%20applying%20all%20Information%20Protection%20features%20(Retention%20Policies%2C%20eDiscovery%20etc.)%20to%20the%20Microsoft%20Teams%20data.%3C%2FP%3E%3CP%3EThe%20Information%20protection%20features%20work%20with%20Teams%20data%20stored%20in%20corresponding%20mailboxes%20only.%3C%2FP%3E%3CP%3EIt%E2%80%99s%20good%20to%20read%20the%20articles%20%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fexchange-teams-interact%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EHow%20Exchange%20and%20Microsoft%20Teams%20interact%3C%2FA%3E%3C%2FSPAN%3E%20and%20%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams-Blog%2FTop-Features-of-Microsoft-Teams-amp-Information-Protection-in%2Fba-p%2F63046%22%20target%3D%22_blank%22%3ETop%20Features%20of%20Microsoft%20Teams%20%26amp%3B%20Information%20Protection%20in%20Office%20365%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20style%3D%22width%3A%20998px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F83754i89C066DC67E59562%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22large.png%22%20title%3D%22large.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIf%20the%20data%20is%20stored%20in%20a%20mailbox%20let's%20try%20to%20find%20it.%20Our%20small%20amazing%20tool%20MFCMAPI%20helps%20me%20with%20that.%20it's%20available%20for%20everyone%20%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fstephenegriffin.github.io%2Fmfcmapi%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FSPAN%3E.%20Download%20it%20and%20just%20start.%20There%20is%20no%20need%20to%20set%20up.%20It%E2%80%99s%20easy%20peasy.%3C%2FP%3E%3CP%3EI%20will%20show%20the%20step-by-step%20guide%20to%20get%20at%20the%20rabbit%20hole.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3EYou%20need%20to%20use%20an%20account%20with%20Global%20Administration%20Role%20and%20it%20should%20have%20Exchange%20Online%20and%20Microsoft%20Teams%20enabled.%3C%2FLI%3E%3CLI%3EThen%20set%20up%20an%20Outlook%20Profile%20to%20its%20mailbox%20in%20Online%20Mode%20(Online%20mode%20is%20extremely%20important).%3C%2FLI%3E%3CLI%3EStart%20MFCMAPI%2C%20press%20Session%20and%20then%20Logon%E2%80%A6%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20style%3D%22width%3A%20363px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F83765i47F09C99B3E983AB%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22MFCMAPI%20Logon.jpg%22%20title%3D%22MFCMAPI%20Logon.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3EChoose%20the%20Profile%20you%20have%20just%20created.%20Then%20choose%20default%20store%20by%20double%20click%20on%20it.%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F83770iB407DAD8D631CC02%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22!MFCMAPI%20choose%20mailbox%20and%20root.jpg%22%20title%3D%22!MFCMAPI%20choose%20mailbox%20and%20root.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CUL%3E%3CLI%3EYou%20can%20see%20the%20root%20container.%3C%2FLI%3E%3CLI%3EExpand%20it%20by%20clicking%20on%20the%20very%20small%20triangle%20next%20to%20it.%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20style%3D%22width%3A%20481px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F83766i15D68D65DDB2737D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22MFCMAP%20folder%20tree.jpg%22%20title%3D%22MFCMAP%20folder%20tree.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CUL%3E%3CLI%3EGo%20to%20%E2%80%9CTop%20of%20Information%20Store%E2%80%9D%20then%20to%20%E2%80%9CConversation%20history%E2%80%9D%20-%26gt%3B%20(TaDa!)%20%E2%80%9CTeam%20Chat%E2%80%9D%3C%2FLI%3E%3CLI%3ENow%20you%20double%20click%20on%20the%20folder%20%E2%80%9CTeam%20Chat%E2%80%9D%3C%2FLI%3E%3CLI%3ETa%20Da%20you%20just%20got%20a%20full%20Teams%20Chat%20history%20of%20the%20admin%20in%20the%20mailbox%3C%2FLI%3E%3C%2FUL%3E%3CP%3EIt%20would%20be%20awesome%20to%20see%20the%20history%20in%20my%20Outlook.%20Not%20in%20this%20%E2%80%9Cgeek%E2%80%9D%20tool.%20Let%E2%80%99s%20do%20it.%3C%2FP%3E%3CUL%3E%3CLI%3EExit%20your%20Outlook%3C%2FLI%3E%3CLI%3EClose%20the%20%E2%80%9CTeam%20Chat%3A%20IM%E2%80%9D%20window%20in%20MFCMAPI.%3C%2FLI%3E%3CLI%3EGo%20back%20to%20the%20window%20with%20the%20large%20tree%3C%2FLI%3E%3CLI%3EAgain%2C%20choose%20Team%20chat%20folder%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F83773iE60704C61F5C9A70%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22!property.jpg%22%20title%3D%22!property.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CUL%3E%3CLI%3EIn%20the%20right%20main%20window%20find%20the%20property%20%E2%80%9CPR_ATTR_HIDDEN%2C%20PidTagAttributeHidden%2C%20ptagAttrHidden%E2%80%9D%3C%2FLI%3E%3CLI%3EI%20bet%20you%20got%20that%20you%20merely%20need%20to%20change%20it%20to%20%E2%80%9CFalse%E2%80%9D%3C%2FLI%3E%3CLI%3ENow%20very%20quickly%2C%20literally%20ASAP%20start%20your%20Outlook.%3C%2FLI%3E%3CLI%3EGo%20to%20Conversation%20History%20folder%20and%20open%20it%3C%2FLI%3E%3CLI%3EFinally%2C%20you%20see%20it.%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F83775i4A569D14AEC8538B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22MGCMAPI%20-%20Chat%20folder%20viewjpg.jpg%22%20title%3D%22MGCMAPI%20-%20Chat%20folder%20viewjpg.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EWhy%20you%20need%20to%20back%20to%20Outlook%20ASAP%3F%20Because%20there%20is%20an%20internal%20process%20which%20sets%20the%20property%20back%20to%20TRUE%20in%20a%20couple%20of%20minutes.%20Therefore%2C%20the%20folder%20will%20be%20again%20hidden%20in%20Outlook.%3C%2FP%3E%3CP%3ELet%20me%20draw%20your%20attention%20on%20a%20column%20I%20added%20on%20my%20screenshot.%20You%20can%20see%20that%20Team%20chat%20objects%20in%20the%20mailbox%20have%20a%20peculiar%20Class.%20It%20is%20IPM.SkypeTeams.Message.%20The%20regular%20S4B%20chat%20history%20or%20emails%20have%20another%20class.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20you%20see%20and%20understand%20where%20the%20Private%20Chat%20history%20between%20users%20is%20stored.%20Remember%20the%20main%20store%20of%20MS%20Teams%20data%20is%20Azure%20Chat%20Service.%20The%20mailboxes%20get%20a%20substrate%20only.%3C%2FP%3E%3CP%3EWhen%20you%20set%20up%20a%20Retention%20policy%20to%20delete%20data%20in%20a%20year%2C%20for%20instance%2C%20then%20the%20data%20will%20be%20removed%20from%20a%20mailbox%20and%20after%20that%2C%20an%20internal%20process%20will%20remove%20the%20same%20data%20from%20Azure%20Chat%20Service%20in%20a%20while.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%2C%20I%20hope%20the%20reading%20helps%20you%20understand%20How%20Teams%20and%20Exchange%20Online%20work%20together.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-354220%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EConversations%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETips%20%26amp%3B%20Tricks%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-773662%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20there%20Teams%20Chat%20history%20in%20Outlook%3F%20%22There%20is%20no%20spoon%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-773662%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3147%22%20target%3D%22_blank%22%3E%40Evgeny%20Artemyev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20me%20the%20Team%20Chat%20history%20appears%20in%20Outlook%20but%20it's%20empty%20and%20I%20am%20sure%20that%20there%20is%20chat%20history%20as%20I%20see%20on%20Teams%20recent%20History.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-774149%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20there%20Teams%20Chat%20history%20in%20Outlook%3F%20%22There%20is%20no%20spoon%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-774149%22%20slang%3D%22en-US%22%3EThanks%20for%20the%20comment%20and%20your%20confidence%20about%20the%20data.%20Have%20you%20done%20all%20steps%20by%20account%20with%20Global%20admin%20privilegies%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-808721%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20there%20Teams%20Chat%20history%20in%20Outlook%3F%20%22There%20is%20no%20spoon%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-808721%22%20slang%3D%22en-US%22%3E%3CP%3EI%20don't%20see%20any%20%22Top%20information%20store%22%20but%20this%20option%20available%20under%20different%20folders.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F127276iE4BDF69397ECB4F6%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_0.png%22%20title%3D%22clipboard_image_0.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Evgeny Artemyev
New Contributor

Hello,

Let me share how I found Microsoft Teams chat history of a user in its Exchange Online mailbox.

Warning! The information in the post is provided just for clarification. It is not recommended to use in the production environment or build a solution. Use the steps provided below in a test tenant only”.

 

We all got used to see Skype for Business or Lync conversation history directly in the Exchange Mailboxes. Anyone can find it in MS Outlook Client (both in Online and in on-premises mailboxes). There are distinct objects for each conversation of the users. Skype for Business puts the data itself to a mailbox via EWS engine.

When we are talking about Microsoft Teams we need to consider the next important points:

  • Microsoft Teams works with the special Chat Service in Microsoft Azure. There is a substrate process which copy some chat data into the Online mailboxes.
  • Microsoft Teams is Online service only. As such it cannot store or send conversations into the On-premises Mailboxes.

In fact, Microsoft Teams works with Azure Chat Service directly and puts the data into Chat service only. Then part of the data is copied to an Exchange Online mailbox of the same user after a while (in fact, very quickly).

It allows applying all Information Protection features (Retention Policies, eDiscovery etc.) to the Microsoft Teams data.

The Information protection features work with Teams data stored in corresponding mailboxes only.

It’s good to read the articles How Exchange and Microsoft Teams interact and Top Features of Microsoft Teams & Information Protection in Office 365

large.png

If the data is stored in a mailbox let's try to find it. Our small amazing tool MFCMAPI helps me with that. it's available for everyone here. Download it and just start. There is no need to set up. It’s easy peasy.

I will show the step-by-step guide to get at the rabbit hole.

 

  • You need to use an account with Global Administration Role and it should have Exchange Online and Microsoft Teams enabled.
  • Then set up an Outlook Profile to its mailbox in Online Mode (Online mode is extremely important).
  • Start MFCMAPI, press Session and then Logon…

MFCMAPI Logon.jpg

 

  • Choose the Profile you have just created. Then choose default store by double click on it.

 

!MFCMAPI choose mailbox and root.jpg

  • You can see the root container.
  • Expand it by clicking on the very small triangle next to it.

MFCMAP folder tree.jpg

  • Go to “Top of Information Store” then to “Conversation history” -> (TaDa!) “Team Chat”
  • Now you double click on the folder “Team Chat”
  • Ta Da you just got a full Teams Chat history of the admin in the mailbox

It would be awesome to see the history in my Outlook. Not in this “geek” tool. Let’s do it.

  • Exit your Outlook
  • Close the “Team Chat: IM” window in MFCMAPI.
  • Go back to the window with the large tree
  • Again, choose Team chat folder

 

 

!property.jpg

  • In the right main window find the property “PR_ATTR_HIDDEN, PidTagAttributeHidden, ptagAttrHidden”
  • I bet you got that you merely need to change it to “False”
  • Now very quickly, literally ASAP start your Outlook.
  • Go to Conversation History folder and open it
  • Finally, you see it.

 

MGCMAPI - Chat folder viewjpg.jpg

Why you need to back to Outlook ASAP? Because there is an internal process which sets the property back to TRUE in a couple of minutes. Therefore, the folder will be again hidden in Outlook.

Let me draw your attention on a column I added on my screenshot. You can see that Team chat objects in the mailbox have a peculiar Class. It is IPM.SkypeTeams.Message. The regular S4B chat history or emails have another class.

 

Now you see and understand where the Private Chat history between users is stored. Remember the main store of MS Teams data is Azure Chat Service. The mailboxes get a substrate only.

When you set up a Retention policy to delete data in a year, for instance, then the data will be removed from a mailbox and after that, an internal process will remove the same data from Azure Chat Service in a while.

 

So, I hope the reading helps you understand How Teams and Exchange Online work together.

3 Replies

@Evgeny Artemyev 

 

For me the Team Chat history appears in Outlook but it's empty and I am sure that there is chat history as I see on Teams recent History.

Thanks for the comment and your confidence about the data. Have you done all steps by account with Global admin privilegies?

I don't see any "Top information store" but this option available under different folders.

clipboard_image_0.png

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies