From 99151bf1a4e850038e923d1f468dd5a1b3d0679e Mon Sep 17 00:00:00 2001 From: Basil Bruhn Date: Thu, 19 Mar 2026 08:46:54 +0100 Subject: [PATCH] more information regarding administration of flows and insert prod environment Signed-off-by: Basil Bruhn --- docs/user-guide/MS_Teams_Webhooks.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/docs/user-guide/MS_Teams_Webhooks.md b/docs/user-guide/MS_Teams_Webhooks.md index 684d4c43..360b83cc 100644 --- a/docs/user-guide/MS_Teams_Webhooks.md +++ b/docs/user-guide/MS_Teams_Webhooks.md @@ -1,13 +1,14 @@ # Webhooks to Microsoft Teams -!Important The Environment used here will likely change in the future and break the configured flows. - For the old MessageCard format used by some Apps - See the code snippet bellow. +Flows are always owned by its creator. Make sure to share it with people from your team. More information to that bellow. + ## Configuring Login to https://make.powerautomate.com/ with your AD Account used at PSI. -1. In the top right corner change the "Environments" to SandBoxHB79 -2. Click Templates on the left and search for "Webhook", choose "Send webhook alerts to a channel" or "Send webhook alerts to a chat" +1. In the top right corner change the "Environments" to PPE-{YOURDEPARTEMENT}_dev + - There might be also a tst and prd environment. These are for agents and or powerbi workflows. +2. Click on Templates to the left and search for "Webhook", choose "Send webhook alerts to a channel" or "Send webhook alerts to a chat" 3. The flow will connect to Microsoft Teams -> Continue -> Create (Its a known bug that in non default Environments the chat / channel dialog is skipped. We configure it later) 4. Click Edit in the top left and delete all charts except the "When a Teams webhook request is recieved" ![Should look like this](MS_Teams_Webhooks/cleanup.png) @@ -15,7 +16,7 @@ Login to https://make.powerautomate.com/ with your AD Account used at PSI. ![Visual Helper](MS_Teams_Webhooks/card.png) 6. Post in, chose Chat or Channel, chose Team and or Channel / Chat where to post the message 7. In the Adaptive Card field press "/" and chose "Insert dynamic content" and from the bottom chose "Attachments Adaptive Cards" -8. Remove advanced parameters like "response" if they were added. + - If other parameters were added you chose the wrong template. remove them all and continue with step 9 9. Collabse the configuration tab and press save in the top right. ![Done!](MS_Teams_Webhooks/done.png) 10. When you click on the top flow you can copy the HTTP URL where to send the webhook to, that you can use in your application. @@ -61,3 +62,7 @@ concat( }' ) ``` + +## For Administrators of Environments +You can visit https://admin.powerplatform.microsoft.com/manage/environments to manage all the flows that have been created in a environment you have admin access to. Also if someone who left PSI owned a flow you want to continue using, you can assign it to a new responsible person there. +