From source:
cargo buildRun the local binary:
target/debug/teams --helpInstalled binary:
teams --helpDevice-code flow is the most reliable first test:
teams auth login --device-codeCheck auth:
teams auth doctor --output jsonteams user me --output json
teams team list --output json
teams chat list --page-size 10 --output jsonCHAT_ID=$(teams chat list --output json | jq -r '.data[0].id')
teams message list --chat "$CHAT_ID" --page-size 5 --output jsonIf one chat returns 403, try another chat. Meeting rosters can make individual chats inaccessible.
Create or choose a dedicated test chat/channel first.
teams message send --chat "$CHAT_ID" --body "teams-cli local smoke test" --output jsonDo not send test messages into client or production chats.