Admins can search for and remove confidential or sensitive chat and channel messages in Microsoft Teams conversations.
If an admin removes a message, you’ll see a system message that says This message was deleted by an admin in place of the one that was removed.
To learn more, see Search and purge chat messages in Teams.