Microsoft Teams Integration
Receive MaxRMM alert notifications as adaptive cards in your Teams channels.
Overview
The Teams integration sends alert notifications as Adaptive Cards to a Microsoft Teams channel via an Incoming Webhook connector. Cards include severity color-coding, alert details, and agent information.
Step 1: Create a Teams Incoming Webhook
- In Microsoft Teams, navigate to the channel where you want to receive notifications (e.g., #IT-Alerts)
- Click the ... (more options) next to the channel name
- Select Connectors (or Manage channel → Connectors)
- Find Incoming Webhook and click Configure
- Enter a name (e.g., "MaxRMM Alerts") and optionally upload the MaxRMM logo
- Click Create
- Copy the webhook URL — it looks like:
https://your-org.webhook.office.com/webhookb2/...
Note: If you do not see the Connectors option, your Teams administrator may need to enable it for your organization.
Step 2: Configure in MaxRMM
Via the Dashboard
- Go to Settings → Integrations
- Click Add Integration
- Select Microsoft Teams
- Paste the webhook URL
- Click Save
Via the API
POST /api/integration-config
Content-Type: application/json
Authorization: Bearer <access-token>
{
"slug": "teams",
"config": {
"webhookUrl": "https://your-org.webhook.office.com/webhookb2/..."
}
} Step 3: Test the Integration
POST /api/integration-config/:id/test
Authorization: Bearer <access-token> A test adaptive card should appear in your Teams channel with the title "Test notification from MaxRMM" and a test agent hostname.
Adaptive Card Format
Alert notifications are sent as Teams Adaptive Cards with:
- Color-coded header — Red for critical, yellow for warning, blue for info
- Alert title — Description of the condition that triggered
- Agent hostname — Which endpoint fired the alert
- Category — The metric type (cpu, ram, disk, av, service, offline)
- Severity — Critical, warning, or info
- Timestamp — When the alert was created
What Gets Notified
- New alerts — When any alert fires on any agent
- Resolved alerts — When an alert is resolved
- Agent offline events — When an agent stops reporting
Managing the Integration
Disable temporarily
PUT /api/integration-config/:id
{
"enabled": false
} Update webhook URL
PUT /api/integration-config/:id
{
"config": {
"webhookUrl": "https://your-org.webhook.office.com/webhookb2/NEW-URL"
}
} Remove the integration
DELETE /api/integration-config/:id Troubleshooting
| Issue | Solution |
|---|---|
| Test notification not appearing | Verify the webhook URL is correct and that the connector is still active in Teams. Connectors may expire if the channel is renamed or the Teams org policy changes. |
| Cards are not formatted correctly | Ensure your Teams client is up to date. Adaptive Cards require Teams 1.4+ or the web client. |
| "Connectors" option not available | Your Teams administrator needs to enable connectors. Check Teams Admin Center → Messaging Policies. |