more information regarding administration of flows and insert prod environment

Signed-off-by: Basil Bruhn <basil.bruhn@psi.ch>
This commit is contained in:
bruhn_b committed 2026-03-19 08:46:54 +01:00
1 parent 1973474b15
commit 99151bf1a4
1 file changed
+10 -5
+10 -5
View File
@@ -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.