Hi !
If you are a programmer, and you also use Azure , for sure you know and use Application Insights (check references). I got a couple of Apps in Azure and, after some upgrades or fixes, I started to check their health. And these are the steps I perform to do this
- Access Azure Portal
- Go to AppInsights
- Navigate to my WebApp
- Run a Query
- Analyze the query results
So, at this moment I realize I marched 2 checks on “process who can be automated using Microsoft Flow”
- The process is a series of steps
- I perform the process manually once a day (or even more!)
I make a quick research and I found that I can replace / automate this process at 100%. Let me share some of the specifications of the new Flow
- It will be triggered using a Flow Button. This is cool because I can trigger this from the Flow web portal or directly from the Flow App for iOS, Android or Windows 10 Mobile
- Then I’ll use a specific action in Flow for Azure Application Insights. This action runs a query and presents the results of the query on Chart mode or in HTML Table mode..
- I’ll send an email with the output of the query results.
To keep this sample simple (KISS, in an educated way) I’ll use a query requesting the complete list of requests on a WebApp. And the output will be an HTML Table
Using the ouput of the query, I’ll send an email with the HTML Table embedded in the body, and also in a Html file as an attachment..
The email will be similar to the one in the next image
And it’s basically a mirror of the information we got in AppInsights portal, running the same query
So, this is a very cool way to create a quick analysis process for an App in Azure using a Microsoft Flow Button!
Happy Coding!
Greetings @ Toronto
El Bruno
References
- Azure, Application Insights
My posts on Flow
- How to invoke a Flow from an external app using HTTP Request
- How to review a Flow process
- Push Notification Support
- Calling a Flow from a C# ConsoleApp
- Support for Team coauthoring and sharing
- Email Sentiment Analysis on a PowerBI dashboard, and Flow
- Schedule a Flow execution, recurrence supported!
- How To iterate through collections of elements (Excel, Sharepoint, Cognitive Services and more…)
- “Save as ” and interaction with physical buttons FLIC and BTTN
- New action definition to use Computer Vision APIs from Microsoft Cognitive Services
- Buttons Widgets in iOS and Android
- Handle exceptions, errors, timeouts and more in a Microsoft Flow definition
- Working with Variables in Microsoft Flow
- Advanced options to work with an HTTP Action in Microsoft Flow, Headers, Authentication and more
- How To emulate a Button for a Flow using a Browser
- Export and Import Flow definitions with advanced options
- Working with Expressions
- New input options when using Flow Button: list of choices
- Trigger a Flow associated to an item in a #SharePoint list
11 comments