# Why are Application Insights events missing from my Power Apps code app?

Exam: AB-400 — Power Platform Developer Associate
Knowledge domain: Extend the user experience (25–30%)
Updated: 2026-11-25T06:47:19.646185+00:00
HTML: https://learningpathx.com/faq/AB-400/ab400-power-apps-code-app-monitor-application-insights.html

## Also asked as

- How can I verify whether a code app loaded its logger and sent telemetry?
- When should I use Monitor instead of Application Insights for a code app telemetry issue?

Use **Monitor** for app startup evidence and **Application Insights** for telemetry after the code app loads successfully. If events are missing, check whether the app started, initialized its logger and attempted delivery before investigating the Azure query.

The documented integration configures the Application Insights web SDK and a `setConfig` logger that can forward platform metric payloads through `logMetric`. In an isolated environment, run one known interaction and record its time. Check the browser for logger exceptions and the Network panel for an attempted send. If CSP is blocking delivery, have the environment administrator review the approved telemetry destination against `connect-src`.

Verify the telemetry target separately from the application's data-source environment variables. Check the intended Application Insights resource and time range for the event in `customEvents`. Keep the evidence small and free of sensitive row values or tokens. Validate one known event after the change so you can distinguish restored delivery from continued silence.

[Application Insights for code apps](https://learn.microsoft.com/en-us/power-apps/developer/code-apps/how-to/set-up-azure-app-insights) · [Code app CSP settings](https://learn.microsoft.com/en-us/power-apps/developer/code-apps/how-to/content-security-policy)

Source: [AB-400: Deploying and Troubleshooting Power Apps Code Apps](https://learningpathx.com/news/ab-400-deploying-and-troubleshooting-power-apps-code-apps.html)
