Our use of cookies

We use cookies to tailor your experience, gather analytics, and provide you with live assitance. By clicking "Accept" or continuing to browse our site you agree to the use of cookies. For more details please read our Cookie Policy.

Gain valueable Insights into your PowerApps using Application Insights

by Danish Ali Detho | O365 & Power Platform Solution Architect

Power Platform provides a great way for citizen developers to develop Apps using low-code /no-code tools like PowerApps, PowerAutomate, and PowerBI. With this approach, the focus is more towards designing an App that provides business value to the business users than the architecture used for developing App. This provides a platform for citizen developers to build Apps at a lightning pace that does deliver value to the business however once the App is in the user’s hands, there is little you can do within Power Platform to gain some insights on how the App is performing or how it is being used by the users. That’s where Application insights come into play and integrating your PowerApps with Application Insights will allow you to gain insights and get some telemetry goodness from your App. In this blog, we will try to answer some of the questions around what is Application Insights, How Application Insights can help you with your PowerApps, and finally how to setup and integrate your PowerApps with Application Insights.

What is Telemetry and Application Insights?

Telemetry is the process of collecting usage, performance, and process-level information from the application into some data store, which then can be used by application developers or system administrators to improve, diagnose or support the application. Application Insights is an Azure monitoring feature that enables developers and DevOps professionals to include telemetry and instrumentation services for their Applications. In other words, It provides you insights into what’s really going on in your application and how the users are using it. It comes with some great features that can help developers to monitor their live applications and detect performance anomalies and includes powerful analytics tools to help you diagnose issues and understand what users actually do with your app.

What value can PowerApps get from Application Insights?

Power Platform doesn’t provide any tools for monitoring live applications which can be troublesome for developers and administrators when it comes to analyzing your app performance or tracing any information, troubleshooting via logs, or getting usage-related information. This can be accomplished by connecting your PowerApp to Application Insights in Azure which will then allow you to monitor your canvas and model-driven Apps in order to find out any bugs or to understand how your users are using the App.

How to Connect PowerApp to Application Insights?

Step 1: Create App Insights Resource in Azure Portal

Log on to https://portal.azure.com and click on Create a resource. Search for Application Insights and then click create. Enter the required information.

Review the information and then click on Create. This will start the Application Insights deployment process and once it’s done the resource will be created.

Now go to the App Insight resource and copy the Instrumentation Key which will be used for connecting our Canvas Apps to App Insights.

Step 2: Connect PowerApps Canvas Apps to Application Insights

Go to http://make.powerapps.com and select Apps from the left menu. Right-click on your App and click on Edit.

Click on the App icon in the left-hand navigation and paste the instrumentation key in the instrumentation key field highlighted below.

Now go to File-> Save to Save and Publish the App. Now App insights will start collecting the telemetry data from your App.

Note: You can connect your model-driven App and Portals as well using the instrumentation key.

Step 4: View Telemetry Data in Application Insights

Now go to Azure Portal and open your App insights resource.

In the left pane select Usage-> Users. This will show the User’s details and you can even drill down to view each user’s details as well as session details.

Now, Select Usage->Events in the left pane, this will show detailed information on all the events which are triggered by the users in the App. You can also see a summary of all the screens viewed across all the sessions.

In order to generate a PowerBI report on the telemetry data, you can export the data and import it in PowerBI, and then use it to build a PowerBI report.

To Summarize

Building resilient Apps requires efficient monitoring to make sure you find out about any errors in order to troubleshoot them and to understand how your users are using your Apps in order to improve the user experience. Connecting your App to App insights will enable you to extract the telemetry information you need to understand the usage patterns, identify your users, and report on the usage of your App. There is no better way to analyze the success of an App than to show real-time data on the usage to stakeholders. In this article, we covered some of the key telemetry information you can easily access through App Insights but there is a lot more you can do including writing custom trace events directly to App Insights to analyze information specific to your use case scenarios as well.

 

Latest articles

AxioWorks Newsletter November 2023: ESPC23, new partnership, and SQList update!

30 Nov 2023

Hello Reader, Welcome to this month’s edition of the AxioWorks newsletter! We’re thrilled to bring you updates on our recent […]
[read article]

Why Support Legacy SharePoint Versions Like SharePoint 2010?

16 Nov 2023

In the fast-paced world of technology, where new versions and updates are continuously rolled out, a recurring question often arises: “Why […]
[read article]

Why Companies are choosing SQList over Power Automate

30 Oct 2023

In the realm of synchronisation services, AxioWorks’ SQList and Microsoft’s Power Automate (earlier known as PowerApps) have emerged as […]
[read article]

AxioWorks Newsletter October 2023: An exhilarating month.

28 Oct 2023

Hello Reader, As we step into the season of autumn, we are thrilled to share with you the latest developments and opportunities unfolding at […]
[read article]

Why Choose SQList for SharePoint Data Extraction Over DIY Solutions

16 Oct 2023

In the ever-evolving world of technology and data management, the question often arises: “Why should I use a product like #SQList when I can […]
[read article]

AxioWorks Newsletter September 2023: An exhilarating month.

30 Sep 2023

Hello Reader, September has been a bustling and exhilarating month for us at AxioWorks, filled with advancements, collaborations, and a whole lot of […]
[read article]

The Collaborative Pathway: Bridging Minds in the AI Ecosystem

19 Sep 2023

In recent days, I found myself immersed in an enlightening conversation with a friend, a fellow entrepreneur steering his ship in the vast sea of […]
[read article]

AxioWorks Newsletter August 2023: A month of milestones and innovation.

28 Aug 2023

Hello Reader, September seems to be a month of unexpected milestones and continued innovations at AxioWorks. As the summer wanes and the autumn […]
[read article]

Use Graph API in Power Automate to read large Excel files from SharePoint

28 Aug 2023

Power Automate, a part of Microsoft’s suite of tools, is increasingly becoming a preferred choice for automating workflows and business […]
[read article]

From Punch Cards to Python: Still Hitting the Keys in my 50s

16 Aug 2023

I spent the entire weekend writing code, not because of deadlines to meet or million-pound dreams, but for the kick that I still get from doing it. […]
[read article]

Get SharePoint and SQL news to your inbox

Stay up-to-date with industry news and trends, SQL and SharePoint innovations and all the latest from AxioWorks by subscribing to our monthly newsletter.

Subscribe to the AxioWorks newsletter

*