Skip to content
Connectors

Scanner deep dive

Microsoft Teams

SourcePrivate PreviewEnterprise only · Hosted only

The Microsoft Teams integration scans channel messages and attachments in Microsoft Teams for credentials and other sensitive data.

Use cases and coverage

Scanning use cases

  • Review troubleshooting messages in a Teams channel

    Authorize the channel-message source and check accessible channel conversations for copied request headers or configuration snippets.

  • Check attachments shared with a project team

    Review results from files attached in the project channel. The documented scope covers channel messages and attachments. Direct messages are outside that scope.

Related incidentSession tokens in Okta support attachments · Similar exposure

2023 · Similar exposure

Okta reported that browser network captures attached to support cases contained session tokens. Stolen tokens were used to access five customer sessions.

How this relates to Microsoft Teams

Okta described files in its support system. A diagnostic file shared with your team can contain the same kind of sensitive material. Token recognition depends on the detector.

Review Microsoft Teams scan scope

Okta Security report · Executive Summary, November 3, 2023

Source check

Atlas AI-assisted source check · 2026-11-22. The publisher describes the event or study. The Atlas explains its relevance to this connector. Detection depends on the scan scope and detectors in use.

What it covers

Compare in matrix

What the docs page’s Capabilities table says, sorted into what the source reaches, how deep it reads and how it runs. Hatched segments and dashes are capabilities the page doesn’t mention. Select ⓘ for what each one means.

  • channel messages
  • attachments

What it reaches

3 supported · 2 not documented

  • Attachments✓
  • Channel messages✓
  • Private channels✓
  • History–
  • Comments–

How deep it reads

4 supported

  • Archives✓
  • Binaries✓
  • Base64✓
  • Office docs✓

How it runs

2 supported · 4 not documented

  • Filters✓
  • Auto-resume✓
  • Real-time–
  • Pre-commit–
  • Pre-receive–
  • In CI–

Limits

Caveats the docs page states, like size caps or content it skips.

  • Direct messages are not scanned; channel messages only.
  • Private channels need tenant admin authorization in the OAuth2 flow.

What TruffleHog documents

Integration guide

Each integration covers one team. An administrator grants consent during web setup. Use one integration per team, then narrow the channel scope with filters.

Read the Microsoft Teams integration guide

Sources checked .

Scan setup and permissions

Set it up

Enterprise paths come from Truffle’s public docs.

Web interface

  1. Collect the team ID from its team link and start the hosted web integration.
  2. Arrange administrator consent for channel-message access. Review channel filters separately from the scope of the granted permission.

Suggested contact (Atlas suggestion) · Microsoft 365 tenant administrator and Teams owner

Suggested first check (Atlas suggestion) · Confirm the team ID and the channels intended for the pilot.

Setup reference checked 2026-11-22 · Configuration

In the web UI

  1. Configure from the Integrations page with an admin account.
  2. Admin can consent on behalf of the organization.

Access

How the scanner authenticates and what it’s allowed to read. Write access is highlighted.

All read-only, as documented.

Auth methods

  • OAuth2

Permissions

1 permission
  • ChannelMessage.Read.Allread channel messages

Before you start

  • admin account

If Microsoft Teams keys leak

The credentials you give this connector are secrets too. These detectors find Microsoft Teams keys anywhere TruffleHog scans, not only inside Microsoft Teams.

Sources and related tools

DocsScraped, not reviewedChat apps

Evidence

Docs scraped 2026-11-17. Each docs page was fetched with Firecrawl twice (an overview pass and a detail pass for capabilities, options, permissions and notes) and read by an extraction prompt. Descriptions are short paraphrases. Open-source CLI facts are parsed from main.go at the pinned TruffleHog commit. Not reviewed by a person. Pinned commit ffdee00. Check the source before quoting a detail, or review this connector so the badge says so.