Hi @Sonali
In my experience, you can try to use e-Discovery investigations to search Teams chat messages and Meeting IM conversations. Microsoft Teams data will appear as IM or Conversations in the Excel eDiscovery export output. You can open the .pst file in Outlook to view those messages after export. For more reference, you can refer to:
https://learn.microsoft.com/en-us/microsoftteams/ediscovery-investigation#overview
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.