Last updated: 4 July 2026

Teams

Teams

Live
Auth: OAuth (Connect Link) · Plans: Free, Starter, Business, Enterprise · Tools: 4 · Category: Microsoft 365

Post messages to Teams channels, query channel history, and check team presence.

Who needs this: Teams using Microsoft Teams for internal communication who want AI to post summaries or alerts.

Example questions once connected

  • Post the weekly sales summary to the Sales Teams channel
  • What was discussed in the Finance channel yesterday?
  • Is David available right now?
  • List all channels in the company workspace

What you need before starting

  • A Microsoft 365 account with Teams access
  • Permission to grant app consent — or ask your IT admin
⚠️

Delegated permissions only. The AI can only post or read in Teams channels your account has access to.

Step-by-step setup

  1. Generate a Connect Link. In your Msharti dashboard, go to Connectors → Teams → Connect. Click Open in Browser.
  2. Log in with Microsoft. Sign in with your Microsoft 365 account. Review the permissions and click Accept.
  3. Confirm in dashboard. You will be redirected back to Msharti. The connector shows Connected.

Tool reference

These are the tools the AI can call on this connector. Each tool fires automatically when you ask a relevant question.

post_message() Send a formatted message to a Microsoft Teams channel.
Inputs channel_name or channel_id, message_text, optional: team_name, mention_users
Try asking "Post "Collections today: KES 412,350 — target hit" to the Finance channel"
Returns Message posted to Finance channel (General > Finance). Delivered at 4:32 PM.
list_channels() List all channels in a Teams workspace or a specific team.
Inputs optional: team_name
Try asking "Show me all channels in the Operations team"
Returns General, Procurement, Fleet, Warehouse, HR-Updates, Finance-Reports. 6 channels.
get_presence() Check the availability and presence status of one or more team members.
Inputs user_email or display_name (one or comma-separated list)
Try asking "Is the Finance Manager available right now?"
Returns Margaret Wanjiku — Available. Active since 9:04 AM. Out of office: returns 16 Jun.

Limits

  • Posting to private channels requires the bot to be explicitly added to that channel by a team owner.
  • Message history retrieval is read-only and limited to channels the connected user is a member of.
  • Presence status reflects Microsoft Teams presence only, not actual availability.

Troubleshooting

ProblemCauseFix
Admin consent required IT admin has restricted third-party app access Ask your IT admin to approve "Msharti MCP Platform" in the Azure AD admin centre.
Need help? [email protected] — Nairobi-based, same time zone.