Skip to main content

Microsoft Teams Integration

Get real-time security alerts directly in your Teams channels.

Why Teams Integration?

Integrate CastellanAI with Microsoft Teams to receive instant security alerts where your team already collaborates. Configure custom alert rules, severity filters, and rich formatted notifications.

FeatureDescription
Instant AlertsGet notified within seconds of critical threats
CustomizableFilter by severity, event type, or specific agents
Rich FormattingColor-coded cards with actionable details

Setup Steps

Step 1: Create an Incoming Webhook in Teams

In Microsoft Teams, navigate to your desired channel and create an incoming webhook:

  1. Go to your Teams channel → Click ⋯ (More options) → Select Connectors
  2. Search for "Incoming Webhook" and click Add
  3. Name it "CastellanAI Security Alerts" and optionally upload a logo
  4. Click Create and copy the generated webhook URL
warning

Important: Keep your webhook URL secure - anyone with this URL can post messages to your Teams channel.

Step 2: Configure in CastellanAI Portal

Add your Teams webhook to the portal configuration:

  1. Navigate to Dashboard → Profile (or Settings)
  2. Scroll to Notification Settings section
  3. Click Add Teams Webhook
  4. Paste your webhook URL and give it a descriptive name
  5. Click Save and Test Connection

Step 3: Configure Alert Rules

Customize which alerts get sent to Teams:

FilterDescription
Minimum SeverityOnly send alerts of High or Critical severity (recommended for busy channels)
Event TypesFilter by Authentication, Network, Process, File, or Registry events
Specific AgentsOnly send alerts from critical production servers
Quiet HoursSuppress non-critical alerts during off-hours (optional)

Step 4: Test Your Integration

Send a test alert to verify your Teams integration is working:

  1. Click "Send Test Alert" in the portal
  2. Check your Teams channel for the test message
  3. Verify formatting and links work correctly
tip

Success! Your Teams integration is now active. You'll receive security alerts based on your configured rules.

Alert Format

Teams alerts include:

  • Severity Badge - Color-coded (Red=Critical, Orange=High, Yellow=Medium)
  • Event Summary - AI-generated description of the security event
  • Affected Host - Hostname and platform (Windows/Linux/macOS)
  • MITRE ATT&CK - Mapped tactics and techniques (if applicable)
  • Quick Actions - Direct links to investigate in portal

Common Issues

Test alert not received

Verify the webhook URL is correct and the Teams connector is still active. Webhooks can be revoked if the channel is deleted or connector is removed.

Too many alerts

Adjust your minimum severity filter to High or Critical. Consider using separate webhooks for different alert priorities.

Alerts delayed

CastellanAI sends alerts in near real-time. Delays may be caused by Teams service latency or network issues.

What's Next?

Advanced Configuration

Need custom message formatting, multiple webhooks, or integration with Power Automate? Check out our advanced Teams integration guide.

Advanced Webhook Configuration →