Add Azure Application Insights tracking to a page using this SPFx web part.
Compatibility: SharePoint Online, SharePoint 2019
- App Catalog: Ensure the App Catalog is setup in your SharePoint Online tenant.
- Download the latest SPFx package file from releases or clone the repo and build the package yourself.
- Upload sppkg file to the 'Apps for SharePoint' library in your Tenant App Catalog.
- Click Deploy
- Go to the target site, then Add an App
- Click the
Azure App Insights Web Part
app to install it in your site - Edit the page where you want to add the web part, then add the
Azure App Insights
web part and configure it - Save and publish the page
Follow the same steps as installation. Overwrite the existing package in the 'Apps for SharePoint' library when uploading the new package.
Tip: Be sure to check-in the sppkg file after the deployment if it is left checked-out.
Version | Date | Comments |
---|---|---|
1.0.0 | December 18, 2020 | Initial release. |
Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. We grant You a nonexclusive, royalty-free right to use and modify the Sample Code and to reproduce and distribute the object code form of the Sample Code, provided that You agree: (i) to not use Our name, logo, or trademarks to market Your software product in which the Sample Code is embedded; (ii) to include a valid copyright notice on Your software product in which the Sample Code is embedded; and (iii) to indemnify, hold harmless, and defend Us and Our suppliers from and against any claims or lawsuits, including attorneys' fees, that arise or result from the use or distribution of the Sample Code.