aws-samples / aws-health-aware

AHA is an incident management & communication framework to provide real-time alert customers when there are active AWS event(s). For customers with AWS Organizations, customers can get aggregated active account level events of all the accounts in the Organization. Customers not using AWS Organizations still benefit alerting at the account level.
MIT No Attribution
348 stars 143 forks source link

Update 「messagegenerator.py」 for Teams Notifications Using Power Automate Endpoint #92

Open HIROTOSHI1002 opened 1 month ago

HIROTOSHI1002 commented 1 month ago

With the deprecation of incoming webhooks for Microsoft Teams, it is necessary to update messagegenerator.py to enable Teams notifications via Power Automate. The modification should allow the script to send notifications to a Power Automate workflow endpoint, which will handle the routing to Teams channels. This change ensures continuity in notification delivery and leverages the capabilities of Power Automate to enhance Teams notifications.

omahonyb commented 2 weeks ago

I actually went and got this working earlier today and tested using orgs. Ill put the code in a PR in a short bit.

Just be ware when you create the workflow using Teams, the default setup doesnt work. It needs to be put together like this: teams-workflow

omahonyb commented 1 week ago

Submitted, although the card is pretty big in the teams window so I am looking at making soem way to "expand for more".

omahonyb commented 1 week ago

Tidied it up with an accordian view on the ARN and Description