Microsoft Teams Integration
import { Steps } from ‘@astrojs/starlight/components’;
Microsoft Teams Integration
Section titled “Microsoft Teams Integration”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.
What you can do in Teams
Section titled “What you can do in Teams”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
How it works
Section titled “How it works”The Teams bot uses the Microsoft Bot Framework. When you send a message:
- Teams sends the message to the Xplorr agents service via the Bot Framework
- The bot looks up your Azure AD tenant → Xplorr org mapping
- Your message goes through the same AI agentic loop as Slack (GPT-4o + 18 tools)
- 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.
Installing the Teams app
Section titled “Installing the Teams app”-
In the Xplorr console, go to Settings → Integrations → Microsoft Teams.
-
Click Install Teams App. This redirects you to the Azure AD admin consent page.
-
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
-
After consent, you’re redirected back to Xplorr. The connection status shows “Connected” with your tenant name.
-
Add the Xplorr bot to the Teams channels where you want to use it.
Using the bot
Section titled “Using the bot”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 daysMulti-step requests:
@Xplorr Compare this month vs last month and give me recommendations for the services that grew the mostResponses come as Adaptive Cards with structured data, action buttons, and links to the dashboard.
Teams vs Slack
Section titled “Teams vs Slack”The experience is nearly identical. The main differences are cosmetic:
| Slack | Teams | |
|---|---|---|
| Message format | Block Kit | Adaptive Cards |
| Progress bars | Emoji squares (🟩⬜) | Unicode blocks (█░) |
| Action buttons | Slack interactive components | Adaptive Card Action.Submit |
| Auth | Slack OAuth + workspace ID | Azure 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.
Proactive notifications in Teams
Section titled “Proactive notifications in Teams”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.
Disconnecting
Section titled “Disconnecting”To remove the Teams integration:
- Go to Settings → Integrations → Microsoft Teams
- Click Disconnect
- 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.
Related guides
Section titled “Related guides”- Slack Bot Overview — The Slack equivalent
- Daily Cost Digest — What’s in the proactive digest
- Channel Routing — Scope notifications per team