Did you set it up from your IDE (Visual Studio?) It is simple to setup using the GUI IDE (Right click project --> Application Insights -->Configure Application Insights) You will know it is working when you go into Azure Cloud Shell and use this command to check --> Get-AzureRmApplicationInsights, this will show you what app is connected and help. See https://learn.microsoft.com/en-us/powershell/module/azurerm.applicationinsights/get-azurermapplicationinsights?view=azurermps-6.13.0 for further reference.
Enable Application insights in AppService
I would like to enable Application insights in appservices..
I have a web api and my configuration is:
In the appservice of the SPA app. I have the configuration:
I don't know if my settings are correct.
2 answers
Sort by: Oldest
-
-
Joffrey NURIT 206 Reputation points MVP
2020-01-02T08:36:02.257+00:00 Hi @juan maximiliano aguilar abanto ,
You have to create a App Insight service in Azure first. When you go on your app service, you have an instrumentation key.
you need to set this instrumentation key in you app service config (actually, is empty in your screen. The first line) and / or set this key in your code (in appsettings file if you have a standard app, directly in your telemetry service if you use workers).