Microsoft Teams
The Microsoft Teams integration lets an agent work inside Teams on behalf of the person it’s helping — read their chats, message a teammate, look up a colleague’s availability, or spin up a meeting — all as that user, all without them leaving the conversation. A one-time Microsoft admin consent extends this to channels (search, read, post, create, and tidy up channels), and a separate optional setup enables a small set of governed, organization-level admin actions.What the agent can do
Capabilities are grouped into modules you turn on per agent. Reads are on by default; every write is off until you enable it, and write actions ask the user to confirm before they run.What it does not do
- It is not the Teams channel integration. Holding the conversation inside Teams is a different feature — see Teams channel.
- No files. Teams files live in SharePoint/OneDrive. Use the SharePoint / OneDrive integration for documents; Teams search here covers messages, not files.
- No calendar events.
Create a meetingreturns a Teams join link only — it does not put an event on anyone’s calendar. For calendar invitations, use the Outlook integration. - No editing, deleting, reacting, or scheduling messages in this version — the agent posts new messages (and channel replies). Those richer actions are a later addition.
- No bot impersonation. The agent posts as the signed-in user, never as an anonymous system identity.
Set up chats & meetings
The Chats & meetings module takes about a minute and needs nothing in the Microsoft admin center — Cobalt hosts the Microsoft sign-in, and every permission it uses is one each person can grant for themselves.Add the integration
Attest to the access requested
Let users authorize themselves
Enable the Channels module
Everything channel-side — searching and reading channel messages, listing a user’s team channels, posting to a channel, and creating or updating channels — uses Microsoft Graph permissions that individual users cannot grant for themselves. A Microsoft 365 tenant admin must grant consent once for your organization; Cobalt walks the admin through Microsoft’s consent page when you enable the module. Until that consent is granted, the channel tools stay unavailable — a person signing in and approving for themselves is not enough. After consent, everything still runs as each user: the agent can only see and touch the teams and channels that person already has access to.Set up admin actions (optional)
Admin actions (add/remove a member, create a team or channel, archive a team, set a team policy) act at the organization level, so they run through an app registration you create in Microsoft Entra ID — not as any individual user.In Microsoft Entra ID
Register an application
Grant the application permissions and admin consent
Add a client secret or certificate
In Cobalt
Enter the credentials
Verify
Set allowlists and limits
Troubleshooting
- The agent keeps asking the user to authorize. The person hasn’t finished the Microsoft sign-in, or you recently turned on a write action that needs new permissions — they’ll be asked to approve the added access once, then it works.
- Channel tools don’t work even after a user signs in. The Channels module needs one-time Microsoft admin consent for your organization — a per-user sign-in can’t grant its permissions. Have a Microsoft 365 tenant admin complete the consent step on the integration, then retry.
- “I can’t read full channel history — searching instead.” Reading a channel’s complete message history uses Microsoft’s metered export API, which many tenants haven’t enabled. The agent automatically falls back to search and tells the user, rather than silently returning nothing. (Chat history and search are unaffected.)
- “That team isn’t allowed for this action.” Add the team to the action’s allowlist on the integration’s governance settings.
- Rate-limited by Microsoft. Under heavy use Microsoft Graph throttles requests; the agent surfaces a short “try again in N seconds” message and stops rather than hammering. Retry shortly.
- A meeting was created but isn’t on my calendar. That’s expected — the meeting action returns a join link only and never creates a calendar event.
- Verify fails for admin actions. Re-check the tenant ID, application ID, and that the secret/certificate is current. Rotated secrets must be replaced and re-verified.
FAQs
Is this the same as chatting with the agent in Teams?
Is this the same as chatting with the agent in Teams?
Does the agent act as me or as a bot?
Does the agent act as me or as a bot?
Can the agent read other people's private chats?
Can the agent read other people's private chats?
Will it post without asking?
Will it post without asking?
Do I need IT to set anything up?
Do I need IT to set anything up?
What about Teams files and recordings?
What about Teams files and recordings?
Related
- Integrations overview — how integrations work in general.
- Teams channel — host the conversation inside Microsoft Teams (a different feature).
- How Cobalt works — where integrations fit.
