ShareMaster is shaped by your feedback. Tell us what to build next →
  1. Home
  2. Documentation
  3. Microsoft Teams

Search everyone's chats

Search chosen people's chats, with an audit log

For an investigation: search the 1:1, group and meeting chats of the people you choose for the words you type, between two dates. Reading staff's private messages can be unlawful surveillance, so every search needs a typed reason and is written to an audit log before anything is read. Nothing in Teams is changed.

Reads only. Nothing in SharePoint is changed.

What does it tell you?

  • Which messages in the chosen people's chats contain the words, with when, who sent it, the chat and its members.
  • Who ran each search, who asked for it, why, for whom and where the results went, in an audit log that shows any later edit.
  • Whether the results are as they were saved: the results folder holds a SHA-256 manifest and its own copy of the audit record.

How it runs

  1. Sign in with the certificate. Microsoft lets a person read only their own chats, so this uses the tenant's ShareMaster certificate with the Chat.Read.All and User.Read.All permissions, which a Global Administrator approves once.
  2. Read the warning. It is on the page and shown again before every search. Searching staff's chats can need a notified workplace surveillance policy (NSW, ACT).
  3. Choose people, dates and words. Nobody is chosen for you, and the dates start at the last 30 days. Every keyword must appear in a message; put a phrase in double quotes.
  4. Type who asked and why. A reason of at least four words, and who asked for the search. Tick that a policy has been notified. Search stays off until every rule is met, and the page lists what is missing.
  5. Search. The audit log is written first, then each person's chats are read one person at a time. The results are saved as a web page, a CSV for Excel and the raw data, in a folder you choose.
  6. Check the audit log. Check the audit log says whether every line is intact. Each line carries a SHA-256 of itself and of the line before it.

How does it sign in?

  • Reads other people's private chats, so it uses this tenant's ShareMaster certificate with the Chat.Read.All permission, which a Global Administrator approves once. You type a reason for every search, and every search is written to an audit log before anything is read.
  • Offers Cert authentication only.
  • User authentication is not offered: Chats are read through Microsoft Graph, which a SharePoint browser session cannot use.
  • App authentication is not offered: Microsoft lets a person signed in with their own account read only their own chats, never anyone else's, whatever their admin role.

What will it not do?

  • Deleted messages and the chats of deleted accounts are not searched, and nor are files shared in a chat: only the text of the messages.
  • A 1:1 chat with someone in another organisation cannot be read directly. It is read from that person's message list instead, and each such message says so.
  • The audit log is kept on this computer. It shows a change, but anyone who can change files on this computer could still delete it.
  • This is not legal advice. Your own lawyer decides whether a search is lawful.

See every feature