Hi there, Bruno Gabrielli here again to talk about how to get alert notification using a Teams channel.
I apologize because this is going to be a long post with all the steps to achieve the...
It seems the issue is with the Sample alert payload defined https://docs.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-common-schema-definitions. It's "alert context" has different properties than mentioned in "Application Insights". So, when I upload this alert payload in "Use sample payload to generate schema" it does not contain properties of alert context for "Application Insights". For example:
Alert context properties for "Application Insights"
Difference can be find out in "operator" property in both alert contexts.
Teams connector:
Teams alert:
It didn't add the "Operator" details in "Platform" alert because alert context in sample payload was from "Application Insights"
Here, it added the value because monitoring service was "Application Insights".
So, I'm not getting idea if we have any alert schema which works with all type of alerts' "essentials" and "alertContext".
When I upload alert schema defined https://docs.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-common-schema-integrations#create-a-logic-app-leveraging-the-common-alert-schema it does not get some properties in dynamic content section.