Skip to content

Microsoft Teams Integration

import { Steps } from ‘@astrojs/starlight/components’;

Xplorr works in Microsoft Teams with the same capabilities as Slack. Ask cost questions, receive daily digests, get anomaly alerts, and apply recommendations — all through Adaptive Cards in your Teams channels.

Everything the Slack bot does, the Teams bot does:

  • Ask cost questions in natural language — “What did we spend on Azure last week?”
  • Receive daily digests — proactive morning cost summaries
  • Get anomaly alerts — real-time notifications when costs spike
  • Apply recommendations — interactive Adaptive Card buttons for one-click actions
  • Approval workflows — high-value actions route to admins for sign-off
  • Weekly executive summaries — leadership-ready reports every Monday
  • Channel routing — scoped notifications per team

The Teams bot uses the Microsoft Bot Framework. When you send a message:

  1. Teams sends the message to the Xplorr agents service via the Bot Framework
  2. The bot looks up your Azure AD tenant → Xplorr org mapping
  3. Your message goes through the same AI agentic loop as Slack (GPT-4o + 18 tools)
  4. The response is formatted as an Adaptive Card and posted back to Teams

Adaptive Cards are the Teams equivalent of Slack’s Block Kit — structured layouts with headers, fact sets, columns, progress bars, and action buttons.

  1. In the Xplorr console, go to Settings → Integrations → Microsoft Teams.

  2. Click Install Teams App. This redirects you to the Azure AD admin consent page.

  3. An Azure AD admin approves the permissions. The app requires:

    • Read user profile (to identify the tenant)
    • Send messages as the bot
    • Read channel messages where the bot is mentioned
  4. After consent, you’re redirected back to Xplorr. The connection status shows “Connected” with your tenant name.

  5. Add the Xplorr bot to the Teams channels where you want to use it.

Mention it in a channel:

@Xplorr What are our top 5 most expensive services?

Chat with it directly:

Show me the cost trend for the last 30 days

Multi-step requests:

@Xplorr Compare this month vs last month and give me recommendations for the services that grew the most

Responses come as Adaptive Cards with structured data, action buttons, and links to the dashboard.

The experience is nearly identical. The main differences are cosmetic:

SlackTeams
Message formatBlock KitAdaptive Cards
Progress barsEmoji squares (🟩⬜)Unicode blocks (█░)
Action buttonsSlack interactive componentsAdaptive Card Action.Submit
AuthSlack OAuth + workspace IDAzure AD tenant + Bot Framework
Bot mention@Xplorr@Xplorr

Both use the same AI agentic loop, the same 18 tools, and the same API. Only the message formatting layer differs.

All proactive features work in Teams:

  • Daily digest — posted to configured channels every morning
  • Anomaly alerts — real-time cost spike notifications
  • Budget alerts — threshold breach warnings
  • Weekly executive summary — Monday leadership report
  • Approval requests — interactive approve/reject cards

Configure channel routing in Settings → Integrations → Channel Routing — the same UI works for both Slack and Teams channels.

To remove the Teams integration:

  1. Go to Settings → Integrations → Microsoft Teams
  2. Click Disconnect
  3. Optionally, remove the Xplorr app from your Teams admin center

This stops all notifications and disables the bot. Your cost data is not affected.

Can I use both Slack and Teams at the same time? Yes. Each integration is independent. You can have the bot in Slack for engineering and Teams for finance, or both everywhere.

Do I need Azure AD admin permissions to install? Yes, the initial consent requires an Azure AD admin. After that, any team member can add the bot to channels.

Does it work in Teams private channels? Yes, as long as the bot is added to the channel.