can we customize the body content of the Azure alert Emails from code ?

Rajkumar Yergamoni 26 Reputation points
2020-12-15T14:12:47.44+00:00

can we customize the body content of the Azure alert Emails from code?

If Yes, What is the procedure?

Thank you,
Rajkumar Y.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,037 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Sardou Noureddine 241 Reputation points
    2020-12-17T08:55:10.973+00:00

    Hi @Rajkumar Yergamoni

    To do that, instead of using a notification, you can setup an Action Group calling a logic app.
    You can customize as you like the body of the email in the logic app.

    Logic apps have a built in trigger for Azure Monitor and a variety of email senders.

    You can follow this article for more help.

    ----------

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    1 person found this answer helpful.
    0 comments No comments

  2. Mugge, Michael 1 Reputation point
    2022-12-05T23:18:53.497+00:00

    The short answer is no. What NorSardou is suggesting is that you interface with something else that does have that capability. Logic apps is just one option since it can interface with email senders. Another option is a function app.

    0 comments No comments