How to Setup Microsoft Teams Notifications
ZoneWatcher can send notifications to your Microsoft Teams channels when changes are detected with your domains. This guide will walk you through how to set up Microsoft Teams notifications.
Creating a Teams Incoming Webhook
To receive notifications in Microsoft Teams, you'll need to create an Incoming Webhook connector for the channel where you want to receive alerts.
Follow these steps to create your webhook:
- Open Microsoft Teams and navigate to the channel where you want to receive notifications
- Click the ... (More options) button next to the channel name
- Select Connectors (or Manage channel → Connectors in newer versions)
- Search for Incoming Webhook and click Configure
- Give your webhook a descriptive name (e.g., "ZoneWatcher Alerts")
- Optionally upload a custom image for the webhook
- Click Create
- Copy the webhook URL that is generated
The webhook URL will look something like this: https://outlook.office.com/webhook/...
Using Workflows (New Method)
Microsoft is transitioning from Office 365 Connectors to Workflows. If you don't see the Incoming Webhook connector, you can use Power Automate Workflows instead:
- In your Teams channel, click the ... (More options) button
- Select Workflows
- Search for "Post to a channel when a webhook request is received"
- Select the workflow and configure which channel to post to
- Copy the webhook URL provided after setup
This workflow-based approach provides the same functionality and works seamlessly with ZoneWatcher.
Creating your Notification Channel
ZoneWatcher allows you to create unlimited Notification Channels, which can be customized to send notifications to different Teams channels.
Once you have your Microsoft Teams webhook URL, you can create a new Notification Channel by:
- Selecting "Microsoft Teams" as the channel type
- Giving it a descriptive name (e.g., "DevOps Team Alerts")
- Pasting your webhook URL into the "Webhook URL" field
- Selecting which events you want to receive notifications for
Available Notification Events
You can customize which events trigger notifications to your Teams channel:
- Zone Changed
- New Zone Discovered
- Zone Expiring Soon
- Zone Expired
- Zone Renewed
- Zone Nameservers Changed
- Zone Certificate Issued
- Provider Auto-Disabled
Notification Format
ZoneWatcher sends notifications to Microsoft Teams using Adaptive Cards, which provide rich formatting including:
- Clear notification titles and descriptions
- Color-coded alerts based on severity
- Direct links to view details in ZoneWatcher
- Relevant metadata about the event
Troubleshooting
If you're not receiving notifications in Teams, check the following:
- Verify the webhook URL is correct and hasn't expired
- Ensure the webhook connector is still active in your Teams channel
- Check that you've selected at least one notification event type
- Confirm your organization's policies allow incoming webhooks
- Try regenerating the webhook URL if issues persist