question

mithunshanbhag avatar image
0 Votes"
mithunshanbhag asked SwathiDhanwada-MSFT answered

Webhooks & mobile push notifications not triggering for metrics-based alerts (with common-alert-schema enabled)

My Azure Monitor alert (metric-based) has an action-group set to notify via email, SMS, mobile app push & webhook/slack.

Alert is triggering, receiving emails and SMS but NOT getting mobile app push and webhook notifications.

Also noticed that I'm not seeing 'subscribed' status on webhook/slack & mobile push (azure monitor infra is likely unable to send a test message to webhook and mobile app). Please see attached screenshot. Unfortunately the portal does not provide any additional logs or details.

Any ideas on how to troubleshoot this?


8411-annotation-2020-05-16-125641.png


azure-monitor
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@mithunshanbhag Thanks for reaching out!! I will check the issue internally and get back to you.

0 Votes 0 ·

1 Answer

SwathiDhanwada-MSFT avatar image
0 Votes"
SwathiDhanwada-MSFT answered

@mithunshanbhag When an Azure Monitor Action Group is defined to send a webhook to some complex endpoints such as Microsoft Teams or Slack, the webhook may complete successfully but the data is not received as expected by the target application. This is due to the endpoints are expecting the webhook payload in a format that is different than what is provided by Azure Monitor.


I have successfully reproduced the issue from my end by creating an activity log alert(with common-alert-schema enabled) which sends notification to Microsoft Teams by following this documentation ( attaching reference of Microsoft Teams notification). I believe, your endpoint is not receiving the data due to different format of payload. I would suggest you to kindly check on that. 8545-notifications.png



notifications.png (40.4 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.