Forum Discussion
Export all images from Teams Comments within a channel
Hello jshaunBTC,
Images sent in a channel chat in teams are stored in the teams mailbox.
To export all those images I would suggest to perform a content search from https://compliance.microsoft.com/ ( Content Search - New Search ).
Choose Exchange location and select the teams mailbox. ( To get the Temas mailbox, click on the 3 dots at the right side from the channel name and select "Get email address" ).
In order to filter only the desired content, I would suggest to use the "file type" search filter.
Hope this helps!
- jshaunBTCJun 29, 2023Copper ContributorAmazing, thank you!
- jshaunBTCJul 07, 2023Copper ContributorAfter attempting it, the search result had zero responses and when building the query we had this:
"Filters Dropped" Message. Is this... normal?- jshaunBTCJul 07, 2023Copper ContributorAs the filters dropped the searched returned no results.
- FcoManigrassoJul 07, 2023Iron Contributor
Hi jshaunBTC,
Maybe you need to give it a try wit PS and use the -AllowNotFoundExchangeLocationsEnabled parameter. As the Teams channel is not a regular mailbox.
New-ComplianceSearch (ExchangePowerShell) | Microsoft Learn
I'll try to test it as well next week and see if it works.
Wish you a good day.