Send email when an application error occurs in Azure web app

2.2k Views Asked by At

Use case is as soon as an error occurs in application, support team should receive a notification.

Looking for an out of box solution in Azure.

Current system configured for Diagnostic logs with below settings:

  • Application Logging (Blob) - On
  • Logging Level - Error
  • Retention period - X days.
1

There are 1 best solutions below

1
Brando Zhang On

As far as I know, azure app service has Alerts feature. By using this feature, you could define which metrics will send the email.

About how to use it, you could refer to below images:

1.Find the alters in your from azure portal app service.

enter image description here

2.Click add alerts

enter image description here

3.Define alert rule

enter image description here