Azure

Combine Azure Utility Insights With Energy Apps

Beneath are the elements used on this doc:

  1. Energy Apps
  2. Azure Utility Perception

Introduction

 

Many occasions we get a requirement the place a person has to trace person actions like what number of customers visited the display or which person clicked on a specific button on the Energy App Type. This may be made attainable utilizing Azure Utility Insights. You possibly can examine the hyperlink on learn how to create an Azure Utility Service by clicking on MS Doc hyperlink. Beneath is the step-by-step description to realize the identical.

 

Get Utility Perception Instrumentation Key

  1. Open Azure Portal and browse to your Utility Perception

  2. Copy the Instrumentation Key talked about on the display.

    https://www.c-sharpcorner.com/Publish/CreateArticle.aspx?ArticleID=ccf33ae6-0b8b-4ba0-990c-9abf68f25c22&PagePath=/article/integrate-azure-application-insights-with-power-apps/default.aspx

Add Azure Utility Perception to Energy Apps

  1. Open your Energy Apps kind and click on on the App on the left menu bar

    https://www.c-sharpcorner.com/Publish/CreateArticle.aspx?ArticleID=ccf33ae6-0b8b-4ba0-990c-9abf68f25c22&PagePath=/article/integrate-azure-application-insights-with-power-apps/default.aspx

  1. Paste the Instrumentation Key copied from the Azure portal within the beneath highlighted part

    https://www.c-sharpcorner.com/Publish/CreateArticle.aspx?ArticleID=ccf33ae6-0b8b-4ba0-990c-9abf68f25c22&PagePath=/article/integrate-azure-application-insights-with-power-apps/default.aspx

  1. Now your Energy App kind is built-in with Azure Utility Perception, however learn how to write the knowledge to perception? That may be completed utilizing Hint(). For instance: log data of the present person to Insights.

    https://www.c-sharpcorner.com/Publish/CreateArticle.aspx?ArticleID=ccf33ae6-0b8b-4ba0-990c-9abf68f25c22&PagePath=/article/integrate-azure-application-insights-with-power-apps/default.aspx

    Right here within the above instance, I’m tracing person login, the kind of hint is simply easy data (since it isn’t a warning or error to be logged) and lastly I’m sending some customized particulars like Consumer Identify, UserEmail and Display Identify to be logged in Insights.

  1. Equally we are able to log the button clicks as effectively to Insights.

    https://www.c-sharpcorner.com/Publish/CreateArticle.aspx?ArticleID=ccf33ae6-0b8b-4ba0-990c-9abf68f25c22&PagePath=/article/integrate-azure-application-insights-with-power-apps/default.aspx

Right here within the above instance I’m logging Consumer Identify, Consumer E mail, Display, Occasion, and another metadata from the shape.

 

Now play the facility app kind and you may browse to the screens and click on on the button the place you might be tracing the knowledge to Perception. Then you’ll be able to browse to Azure Portal to view the Data logged within the Perception you created.

 

https://www.c-sharpcorner.com/Publish/CreateArticle.aspx?ArticleID=ccf33ae6-0b8b-4ba0-990c-9abf68f25c22&PagePath=/article/integrate-azure-application-insights-with-power-apps/default.aspx 

 

That’s it. I hope you will have discovered one thing new from this text and can make the most of this in your work.

Show More

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button