Automated Exception Reporting in Microsoft Teams | Azure Services Recommendation

Azure Services Recommendation for Automated Exception Reporting in Microsoft Teams

Question

Your company creates a web application.

You need to recommend a solution that automatically sends to Microsoft Teams a daily summary of the exceptions that occur in the application.

Which two Azure services should you recommend? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

AE

E: Exceptions in your live web app are reported by Application Insights.

Note: Periodical reports help keep a team informed on how their business critical services are doing. Developers, DevOps/SRE teams, and their managers can be productive with automated reports reliably delivering insights without requiring everyone to sign in the portal. Such reports can also help identify gradual increases in latencies, load or failure rates that may not trigger any alert rules.

A: You can programmatically query Application Insights data to generate custom reports on a schedule. The following options can help you get started quickly:

-> Automate reports with Microsoft Flow

-> Automate reports with Logic Apps

https://docs.microsoft.com/en-us/azure/azure-monitor/app/asp-net-exceptions https://docs.microsoft.com/en-us/azure/azure-monitor/app/automate-custom-reports

To automatically send a daily summary of exceptions to Microsoft Teams, you need to integrate error tracking and notification services with Azure services that can send alerts to Microsoft Teams. Here are the two Azure services you should recommend:

  1. Azure Application Insights: Azure Application Insights is an Application Performance Management (APM) service that provides monitoring and diagnostics for web applications. It automatically detects and logs exceptions, along with other telemetry data like request, dependency, and performance metrics. Application Insights also offers customizable alert rules based on exception count, exception rate, or other metrics. These alerts can be configured to send emails, SMS, or webhooks to various endpoints, including Microsoft Teams.

  2. Azure Logic Apps: Azure Logic Apps is a workflow automation service that enables you to integrate and orchestrate various services, including Azure Application Insights. You can create a Logic App workflow that triggers on an Application Insights alert and sends an HTTP request to the Microsoft Teams incoming webhook URL. This webhook URL can be created by setting up a new Incoming Webhook connector in a Microsoft Teams channel. The HTTP request payload can be customized to include the details of the exception, like exception type, message, stack trace, and related telemetry data.

Therefore, the recommended Azure services for automatically sending a daily summary of exceptions to Microsoft Teams are Azure Application Insights and Azure Logic Apps.