Skip to content

Add Teams integration - #7

Open
johntheyoung wants to merge 10 commits into
jaredpalmer:mainfrom
johntheyoung:feat/teams-integration
Open

Add Teams integration#7
johntheyoung wants to merge 10 commits into
jaredpalmer:mainfrom
johntheyoung:feat/teams-integration

Conversation

@johntheyoung

@johntheyoung johntheyoung commented Jun 18, 2026

Copy link
Copy Markdown

Summary

  • add Teams commands for listing joined teams, listing channels, and sending channel messages
  • add Teams chat commands for listing chats, sending to an existing chat, and sending one-on-one DMs
  • add delegated Teams channel/chat scopes and enterprise delegated-only runtime gating
  • add granular action allowlisting via --enable-actions / MOG_ENABLE_ACTIONS for safer agent command exposure
  • add a standalone .agents/skills/mog skill for safe Microsoft 365 automation via mog
  • update README and auth help for Teams workloads

Verification

  • go test ./...
  • git diff --check
  • go build -o bin/mog ./cmd/mog
  • ./bin/mog teams --help
  • ./bin/mog teams chat-send --help
  • ./bin/mog teams dm-send --help
  • /home/jmy/code/hermes-agent/venv/bin/python /home/jmy/.codex/skills/.system/skill-creator/scripts/quick_validate.py .agents/skills/mog
  • MOG_PROFILE=dexterton MOG_ENABLE_COMMANDS=teams MOG_ENABLE_ACTIONS=teams.dm-send ./bin/mog --json teams dm-send --to john.young@dexterton.com --body "DM support smoke test" --dry-run
  • MOG_PROFILE=dexterton MOG_ENABLE_COMMANDS=teams MOG_ENABLE_ACTIONS=teams.chats ./bin/mog --json teams chats --max 1

@johntheyoung
johntheyoung marked this pull request as ready for review June 18, 2026 10:35
@johntheyoung
johntheyoung force-pushed the feat/teams-integration branch from 3b2e0ea to bbc764e Compare June 18, 2026 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant