Overview
Microsoft Teams integration allows Server Scout to send real-time monitoring alerts directly to your team channels. This guide walks you through setting up a Teams Incoming Webhook connector and configuring Server Scout to deliver formatted notifications to your preferred channel.
Teams webhook integration uses Microsoft's connector framework, which differs from Slack's webhook format. Server Scout automatically handles the payload formatting to ensure your alerts display properly in Teams.
Creating a Teams Incoming Webhook
Step 1: Access Channel Connectors
- Navigate to your desired Teams channel
- Click the three dots (...) next to the channel name
- Select Connectors from the dropdown menu
- Search for "Incoming Webhook" in the connectors gallery
Step 2: Configure the Webhook
- Click Add next to "Incoming Webhook"
- Provide a descriptive name (e.g., "Server Scout Alerts")
- Optionally upload a custom icon to identify Server Scout notifications
- Click Create
- Copy the generated webhook URL - you'll need this for Server Scout configuration
Important: Store this URL securely as it provides direct access to post messages in your channel.
Configuring Server Scout Notifications
Adding the Teams Webhook
- Log into your Server Scout dashboard
- Navigate to Settings → Notifications
- Click Add New Notification Channel
- Select Microsoft Teams from the channel types
- Paste your webhook URL into the Webhook URL field
- Assign a recognisable name for internal reference
- Choose which alert types should trigger Teams notifications
- Click Save Configuration
Notification Filtering
Configure which events trigger Teams alerts:
- Critical Alerts: System failures, service outages
- Warning Alerts: High resource usage, approaching thresholds
- Recovery Notifications: When issues resolve automatically
- Maintenance Notices: Planned downtime or configuration changes
Understanding Teams Message Formatting
MessageCard vs Adaptive Card Format
Server Scout utilises Adaptive Cards for Teams integration, providing richer formatting than the legacy MessageCard format. This enables:
- Colour-coded severity indicators: Red for critical, amber for warnings
- Structured data presentation: Server details, metrics, timestamps
- Action buttons: Quick links to Server Scout dashboard
- Formatted text: Bold headings, bullet points for clarity
Sample Alert Format
{
"type": "AdaptiveCard",
"version": "1.3",
"body": [
{
"type": "TextBlock",
"text": "Server Scout Alert",
"weight": "Bolder",
"size": "Medium"
},
{
"type": "FactSet",
"facts": [
{"title": "Server", "value": "web-server-01"},
{"title": "Alert Type", "value": "High CPU Usage"},
{"title": "Current Value", "value": "87%"},
{"title": "Threshold", "value": "80%"}
]
}
]
}
Key Differences: Teams vs Slack Webhooks
Understanding these differences helps troubleshoot integration issues:
Authentication:
- Teams: Uses Office 365 connector tokens embedded in webhook URLs
- Slack: Simple webhook URLs without embedded authentication
Payload Structure:
- Teams: Requires Adaptive Card or MessageCard JSON schema
- Slack: Accepts simple JSON with text/attachment fields
URL Format:
- Teams: Contains outlook.office.com domain with connector-specific paths
- Slack: Uses hooks.slack.com domain structure
Testing Your Integration
Manual Test
- In Server Scout, navigate to your Teams notification channel
- Click Send Test Message
- Verify the alert appears in your Teams channel within 30 seconds
- Check formatting appears correctly with proper colour coding
Triggering Real Alerts
Temporarily lower a threshold (e.g., CPU warning to 1%) to generate genuine alerts, then restore normal settings once confirmed working.
Troubleshooting Common Issues
Webhook Connector Expiry
Problem: Messages stop arriving despite successful configuration. Solution: Teams connectors can expire or be removed. Recreate the webhook connector and update the URL in Server Scout.
Tenant Security Policies
Problem: "Forbidden" errors when sending messages. Solution: Contact your Office 365 administrator to verify external connector policies allow incoming webhooks for your organisation.
Invalid URL Format
Problem: "Invalid webhook URL" error during Server Scout configuration. Solution: Ensure the URL starts with https://outlook.office.com/webhook/ and contains the complete connector token. Re-copy from Teams if truncated.
Message Delivery Delays
Problem: Alerts arrive several minutes late. Solution: Check your internet connectivity and Teams service status. Server Scout sends alerts immediately, but Teams may experience processing delays during high load periods.
Best Practices
- Create separate channels for different alert severity levels
- Use descriptive webhook names to identify their purpose
- Regularly verify webhook functionality with test messages
- Document webhook URLs securely for team handovers
Your Teams integration should now deliver timely, well-formatted Server Scout alerts directly to your team's workflow.
Frequently Asked Questions
How do I set up Microsoft Teams alerts in ServerScout?
What's the difference between Teams and Slack webhooks in ServerScout?
Why are my Teams webhook alerts not working?
How does ServerScout format alerts in Microsoft Teams?
What types of alerts can I send to Microsoft Teams?
How do I test my Teams integration with ServerScout?
Why are my Teams alerts delayed?
Was this article helpful?