Microsoft Teams¶
Output detections and audit (only) to a Microsoft Teams channel via webhook.
Messages are delivered as Adaptive Cards.
webhook_url: the Microsoft Teams Workflow webhook URL.message: (optional) a template string for custom message formatting.
Example:
webhook_url: https://<environment-id>.<region>.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/...
Provisioning¶
LimaCharlie connects to a Teams channel using a Power Automate Workflow webhook.
Incoming Webhooks retired
Microsoft retired Office 365 Connectors (including Incoming Webhooks) from Teams. The old webhook.office.com URLs no longer work. You must use a Power Automate Workflow as described below.
Create a Workflow webhook¶
- In Microsoft Teams, navigate to the target channel
- Click ... (More options) next to the channel name
- Select Workflows
- Search for and select the Send webhook alerts to a channel template
- Give the workflow a name (e.g. "LimaCharlie") and authenticate your account
- Click Next, confirm the Team and Channel, then click Add workflow
- Copy the webhook URL from the confirmation dialog — this is the
webhook_urlyou need in LimaCharlie
For details, see Create incoming webhooks with Workflows.
Workflow limitations
- Workflows post via Flow bot, which only works in public channels. For shared channels, open the workflow in Power Automate and change "Post As" from Flow bot to User.
- Workflows are linked to the user who created them. If that user leaves the organization the workflow stops working. Add co-owners in Power Automate to avoid this.