Azure alert to Teams using Email notification

Jeroen VdB
1 min readJun 2, 2021

--

Yesterday I implemented an Azure alert with an Action Group that triggers a Logic App to send a message to Microsoft Teams. I followed this article: https://docs.microsoft.com/en-us/azure/azure-monitor/alerts/action-groups-logic-app

Today a colleague told me if the organization has “Allow users to send email to a channel email address” enabled you can use an Email notification to send an alert to that channel. For more info about the option see: https://docs.microsoft.com/en-us/answers/questions/40495/get-email-address-option-is-not-available-in-teams.html

Logic App

Pros

  • Custom notification format

Cons

  • More work
  • More complex
  • Possible failure in the Logic App

Email

Pros

  • Easy and simple to configure
  • No custom implementation needed

Cons

  • No custom format
  • Requires a Teams organization-wide config enabled
  • Content is too long so you have to download the email for details

If you are interested in the Bicep code for both options, see the following gist:

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Jeroen VdB
Jeroen VdB

Written by Jeroen VdB

Integration developer with a focus on Microsoft Azure.

No responses yet

Write a response