Creating Cydarm cases from Microsoft Teams messages
This guide explains how to integrate Microsoft Teams with Cydarm.
Overview
Follow these steps to integrate Microsoft Teams with Cydarm, enabling you to create Cydarm cases directly from Teams messages using a manually triggered Power Automate flow.
Part 1: Create a webhook endpoint in Cydarm
-
In Cydarm, go to Settings
-
Navigate to Advanced Connectors
-
Create a new connector of type Webhook Endpoint
-
Name it something descriptive (e.g., "Microsoft Teams Webhook Receiver")
-
Enter a provisional case name (e.g., "Case from Teams")
-
Click Submit
-
Copy the generated webhook URL using the copy button — you'll need this for the Power Automate flow
Part 2: Create the power automate flow in Teams
-
Open Microsoft Teams and navigate to your channel (e.g., SecOps)
-
Click the triple-dot menu (⋯) in the top corner of the channel
-
Select Workflows
-
In the bottom left, click Manage
-
Create a new flow from blank
-
Important: Update the flow title immediately (e.g., "Create Cydarm Case") — this cannot be changed later and affects visibility
-
For the trigger, search for and select For a selected message
-
Add a new step and search for HTTP
-
Select Send a webhook (or HTTP action)
-
Configure the HTTP action:
-
Method: POST
-
URI: Paste the webhook URL you copied from Cydarm
-
Body: Use dynamic content to select Body (this sends the entire adaptive card payload to Cydarm)
-
-
Save the flow
Part 3: Test the integration
-
Return to your Teams channel and send a test message
-
Hover over the message until the triple-dot menu (⋯) appears
-
Click for more options, then hover over More actions
-
Select Create Cydarm Case
-
The Power Automate workflow will run
-
In Cydarm, check the case list — a new case should appear with the full message body stored in the thread
Part 4: Customize case titles (optional)
To give cases more descriptive titles based on the message content:
-
In Cydarm, go to Settings
-
Edit your webhook connector
-
In the Case description template field, use macros to extract content from the Teams payload
Example template:
From Teams:
{{data.teamsFlowRunContext.MessagePayload.Body.Plaintext}} from {{data.teamsFlowRunContext.User.DisplayName}}
Note: Ensure there are no leading spaces in the macro path.
-
Click Submit
-
Test again — new cases will now display the message content and sender in the title
Additional customization options
-
Advanced templates: Create custom notes using extracted fields from the Teams payload (useful for longer messages)
-
Metadata fields: Map existing metadata fields in Cydarm to values extracted from the Teams message structure
This integration enables your security operations team to quickly escalate Teams conversations into tracked Cydarm cases without leaving the Teams interface.