# Ensure Application Insights are Configured

- Source: https://support.icompaas.com/support/solutions/articles/62000229917-ensure-application-insights-are-configured
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [General](https://support.icompaas.com/support/solutions/62000037933) › [Azure Compliance / Control / Check](https://support.icompaas.com/support/solutions/folders/62000168797)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

Description:

Application Insights is part of Azure Monitor, providing visibility into application performance, failures, user behavior, dependency health, telemetry, and availability. It helps detect issues proactively by collecting request logs, exceptions, traces, metrics, and dependency data. This control ensures that Application Insights is properly configured and linked to all relevant services, including App Services and Function Apps, to provide full observability and operational monitoring.

  

Rationale:

If Application Insights is not enabled, applications may operate without visibility into performance or failures. This prevents teams from detecting exceptions, latency issues, dependency failures, and performance degradation. Missing telemetry reduces diagnostic capabilities, slows incident response, and can lead to prolonged outages. Configuring Application Insights ensures proactive monitoring and supports compliance, reliability standards, and operational best practices.

  

Impact:

-   Enables real-time monitoring of application performance
    
-   Provides telemetry for troubleshooting and incident response
    
-   Offers analytics for performance tuning and optimization
    
-   Supports root cause analysis with end-to-end transaction tracking\\
    
-   Helps meet operational and monitoring compliance requirements.
    

  

Default Value:

Application Insights is not enabled by default. Users must manually configure it or enable automatic instrumentation.

  

Pre-Requisites:

-   Active Azure subscription
    
-   Existing App Service or Function App
    
-   Application Insights resource (existing or to be created)
    
-   Permission to update App Service settings
    

  

Test Plan:

1.  Sign in to the Azure Portal.
    
2.  Navigate to the App Service or Function App.
    
3.  Under Environment variables, Open Settings.
    
4.  Verify APPLICATIONINSIGHTS\_CONNECTION\_STRING is present.
    
5.  Search for Application Insights in the Azure Portal.
    
6.  Open the linked Application Insights resource.
    
7.  Select Live Metrics.
    
8.  Generate traffic to the application (for example, open the application URL).
    
9.  Confirm live request metrics are displayed.
    
10.  If metrics are not available, follow the Implementation Steps
     

![](https://support.icompaas.com/assets/kb/69ff8db0e01b4750.png)

  

Implementation Steps:

1.  Sign in to the Azure Portal.
    
2.  Search for Application Insights and select Create.
    

![](https://support.icompaas.com/assets/kb/05c14dd7ccfd1cfd.png)

3.  Choose the Subscription and Resource Group.
    
4.  Enter a Name and select the Region.
    
5.  Select an existing Log Analytics Workspace or create a new one.
    
6.  Click Review + Create, then Create.
    

![](https://support.icompaas.com/assets/kb/0b0fb8b69ac46a5a.png)  
  

7.  Open the newly created Application Insights resource.
    
8.  In the overview page, copy the Connection String.
    

![](https://support.icompaas.com/assets/kb/dcfef9953848786c.png)  
  

9.  Navigate to the App Service.
    
10.  Under Settings, open Environment variables, in App settings.
     

                                   ![](https://support.icompaas.com/assets/kb/613c34d812ebfcaa.png)

11.  Click Add and enter:
     

![](https://support.icompaas.com/assets/kb/212cccb9b7ad5974.png)

12.  Name: APPLICATIONINSIGHTS\_CONNECTION\_STRING
     
13.  Value: Application Insights connection string
     

![](https://support.icompaas.com/assets/kb/911878089479ad16.png)

14.  Save the changes.
     

  

Backout Plan:

1.  Sign in to the Azure Portal.
    
2.  Navigate to the App Service.
    
3.  Under Settings, open Environment variables, in App settings.
    
4.  Locate APPLICATIONINSIGHTS\_CONNECTION\_STRING.
    
5.  Remove the setting or clear its value.
    
6.  Save the changes.
    
7.  Restart the application if prompted.
    
8.  (Optional) Navigate to Application Insights and delete the resource only if it is not used by any other applications.
    

  

Reference:

-   [https://learn.microsoft.com/azure/azure-monitor/app/app-insights-overview](https://learn.microsoft.com/azure/azure-monitor/app/app-insights-overview)
    
-   [https://learn.microsoft.com/azure/azure-monitor/app/azure-web-apps](https://learn.microsoft.com/azure/azure-monitor/app/app-insights-overview)
    
-   [https://learn.microsoft.com/azure/azure-monitor/app/codeless-overview](https://learn.microsoft.com/azure/azure-monitor/app/app-insights-overview)
    
-   [https://learn.microsoft.com/azure/azure-monitor/app/sdk-overview](https://learn.microsoft.com/azure/azure-monitor/app/app-insights-overview)

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
