How-To Series · 5: Everywhere You Are

Microsoft Teams

Run Hermes as a Microsoft Teams bot. The CLI handles registration. No Azure portal needed.

After this videoYou can run your Hermes agent as a Microsoft Teams bot for your whole organization

Microsoft Teams runs Hermes as a bot that receives messages on a public HTTPS webhook, so your instance needs a tunnel or a real domain. The Teams CLI automates bot registration with no Azure portal: you log in, expose port 3978, and run teams app create to get a client ID, secret, and tenant ID. You set those plus TEAMS_ALLOWED_USERS in Hermes, start the gateway, and install the app. The bot answers every DM and responds in groups and channels only when @mentioned, with built-in Adaptive Card approvals for risky commands.

About these resources. This episode explains how to set up Microsoft Teams in Hermes. The Sources block names the Hermes docs page that backs every claim.

Sources · What this video distills

1 docs page · every command below traces to one of them
Primary guide
Microsoft Teams
Read ↗

Commands shown · Copy and paste

each shows the source doc it came from
Install the Teams CLIfrom source ↗
npm install -g @microsoft/teams.cli@preview
Create and register the botfrom source ↗
teams app create --name "Hermes" --endpoint "https:///api/messages"
Configure Teams in Hermesfrom source ↗
hermes gateway setup

Going deeper · Related Hermes docs

further reading · not sources of facts shown above

Next in the series · Episodes that build on this