At development time you have to add the Application Insights SDK to your project. Right-click the project and select Configure Application Insights. Next question is, how to find the ApplicationInsights resource connected to the Web App.
- Go to the Web App.
- Open setting Application Insights.
- Click Turn On Site Extension.
- You will see the Application Insights resource the Web App is connected to.
- Next you can click [Change your resource] to select an existing or new ApplicationInsights resource.