ALERTS: Microsoft Teams (Power Automate Flow)

Content


Microsoft Teams - Overview

This integration requires that you have a pre-existing Microsoft Teams Channel for the incoming webhook to post to.

If you do not have a Channel created, you can follow the Microsoft KB here:

https://support.microsoft.com/en-us/office/create-a-standard-or-private-channel-in-microsoft-teams-fda0b75e-5b90-4fb8-8857-7e102b014525

Getting Started: Creating Microsoft Teams Webhook

  1. Login to your Microsoft Power Automate account.

    Microsoft Power Automate

  2. Create a New Flow 

  • Navigate to Menu > Create. 

image-20240904-141725.png
  • Search for the template named ‘Post to a channel when a webhook request is received’.

image-20240904-141831.png

You may need to sign in or tap Continue

                                                     

  1. Edit the Flow 

  • Click on Edit in the advanced flow options. 

  1. Modify the Flow 

  • Remove the Adaptive Card Step

  • Locate the step involving the Adaptive Card and delete it by tapping on the card option and then clicking the three-dot action menu in the top right

  • Add a New Action: 

  • Click + New step. 

  • Search for and select ‘Post message in a chat or channel’. 

  • Configure the New Action:

    • Set Post As: User 

    • Set Post In: Channel 

    • Set your Team: (Select the appropriate team) 

    • Set your Channel: (Select the appropriate channel) 

  • Add Message Content: 

In the message body, insert the following functions: 

triggerBody()?['Title'] 

triggerBody()?['Text'] 

Click Add after inserting each function. 

  1. Save the Workflow 

  • After configuring all parameters, click Save to save the workflow. 

  1. Copy the Webhook URL 

  • Go to the first step of the flow and copy the generated URL. 

  • Save the workflow to finalize the setup. 

  1. Workflow Ready 

  • Your workflow is now ready to use. You can send a webhook request to the copied URL to post messages to the specified Microsoft Teams channel.  


Microsoft Teams - Setup

Credentials

Tap on the ( + ) to add a new set of creds

Complete the required fields:

Tap Save to complete.


Event Set

Configure any desired Event Sets (Alerts); see our Event Sets for Alertingpage for more details.


Integration Rules

This is where you associate a name to the Event Set for the alerting to take place; we typically use parity here and match up the Name to the Event Sets so you can easily identify them.


Company Mapping

Manage your mappings between the ConnectSecure company (Source) and the Integration Rule (which will drive out the Event Set alerting).

 

The ‘Create MS Teams Alert’ but be set to receive the alerts:


Need Support?

Contact our support team by sending an email to support@connectsecure.com or by visiting our Partner Portal, where you can create, view, and manage your tickets.

https://cybercns.freshdesk.com/en/support/login


Â