SPFx – Application Insights Dashboard


This webpart displays different statistics data captured in the Azure Application Insights in a graphical representation. Filters are provided to search for certain period of days. There are few Application Customizer which can be activated in SharePoint Online to track page view, performance etc., to Azure Application Insights, but the data can be viewed only by the administrator who is in-charge of Azure portal. Not all the users will have access to this data, this webpart will provide access to those data that can be used by the portal administrators and developers to keep track of the page performance and hits. Fetched insights data using Application Insights API.


Azure Application Insights has to be configured. If you want to track the SharePoint Online webparts and pages, please use either of the following Application Customizer or you can use your own extensions to track the pages and other components.

Following are required to access the data using App Insights API. The API has been provided in a very simple way with API Explorer for the developers to play around the API to understand the schema and the methods that can used.

  • Application ID of the Application Insights
  • API Key for the data access
App Insights API Access
New API Key


  • Application ID: Application ID of the Azure Application Insights API Access.
  • Application Key: Application Key of the Azure Application Insights API Access.


Source Code

The above web-part is shared with the community and is of free to use. Please click the below link to download the code and have fun.


Happy Coding…


One thought on “SPFx – Application Insights Dashboard

  1. Pingback: SharePoint PnP Dev SPFx JS SIG Call – July 30th, 2020 – Screenshot Summary - Warner Digital

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s