A command-line tool for managing Microsoft Teams teams, channels, chats, and messages. Includes both CLI and TUI modes for easier workflows.
- List, create, archive, unarchive, and delete teams.
- Create channels with members from data files.
- Send, reply to, and fetch channel messages.
- List chats and send chat messages (including templates).
- Go install:
go install github.com/pzsp-teams/teams-cli@latest - Download a binary from the GitHub releases page.
Default config locations:
| OS | Location |
|---|---|
| Linux | ~/.config/teams-cli |
| macOS | ~/Library/Application Support/teams-cli |
| Windows | %LOCALAPPDATA%\teams-cli (fallback LocalAppData\teams-cli) |
A default config can be created on config init command or loaded with
a --config flag
[auth]
client_id = ""
tenant_id = ""
email = ""
auth_method = "interactive"
[sender]
max_retries = 3
next_retry_delay = 2
timeout = 10
[cache]
mode = "async"