az monitor log-analytics query --workspace <workspace-id> --analytics-query "AppRequests | summarize count() by ResultCode"AppDependencies
AppDependencies is the Azure Monitor Logs table used by Application Insights to store dependency telemetry for downstream calls such as HTTP services, SQL databases, storage, queues, and other remote components. Use it to reason about App Service behavior, validate configuration with CLI, and prevent hidden production impact from networking, scaling, recovery, security, or observability changes.
Source: Microsoft Learn - Azure Monitor Logs reference - AppDependencies Reviewed 2026-05-10
- Exam trap
- Assuming missing dependency rows mean no dependency problems occurred.
- Production check
- Does dependency telemetry exist for the affected time window?
Article details and learning context
- Aliases
- None listed
- Difficulty
- fundamentals
- CLI mappings
- 2
- Last verified
- 2026-05-10
Understand the concept
In plain English
AppDependencies is the Azure Monitor Logs table used by Application Insights to store dependency telemetry for downstream calls such as HTTP services, SQL databases, storage, queues, and other remote components. Operators use it during design, release, incident, and cost reviews. Before changing it, verify sampling choices, telemetry volume, workspace retention, query cost, role naming, and whether dependencies are automatically or manually tracked. The risk is that missing, over-sampled, or mislabeled dependency data can hide outages, inflate costs, or mislead teams during incidents. In practice, it links configuration to production behavior, ownership, and validation evidence.
Why it matters
AppDependencies matters because it turns vague reports of slowness into evidence about which database, API, queue, or storage dependency is hurting users. In real environments, this term often decides whether an app is reachable, recoverable, observable, affordable, or able to handle demand. It also gives architects and operators a shared word for a production boundary that might otherwise be hidden behind App Service automation. When teams understand the term, they ask better questions before changing settings, document ownership more clearly, and avoid confusing symptoms with causes. The value is not memorizing a portal name; it is knowing what design, incident, security, or cost decision the term represents.
Official wording and source
AppDependencies is the Azure Monitor Logs table used by Application Insights to store dependency telemetry for downstream calls such as HTTP services, SQL databases, storage, queues, and other remote components. Microsoft Learn places it in Azure Monitor Logs reference - AppDependencies; operators confirm scope, configuration, dependencies, and production impact.
Technical context
Technically, AppDependencies sits in Application Insights dependency tracking, Log Analytics workspaces, KQL queries, Application Map, distributed tracing, dependency duration, target, type, and success columns. It is managed through Application Insights telemetry ingestion and Azure Monitor Logs table schema and depends on instrumentation, OpenTelemetry configuration, sampling, workspace retention, ingestion volume, cloud role naming, and correlation with AppRequests and AppExceptions. The result depends on sampling choices, telemetry volume, workspace retention, query cost, role naming, and whether dependencies are automatically or manually tracked. Operators should capture before-and-after output so reviewers know the changed boundary and approver.
Exam context
Compare with
Where it is used
Where you see it
- You see it in Log Analytics when KQL queries summarize dependency calls by target, dependency type, duration, success, operation ID, and cloud role for troubleshooting.
- You see it in Application Map when downstream databases, APIs, queues, storage accounts, and external services appear as dependency nodes connected to application components during performance review.
- You see it during incident reviews when slow requests are joined to dependency records to identify whether latency came from code or a downstream service.
Common situations
- Organize resources so ownership, cost, access, and lifecycle are clear.
- Apply guardrails before teams deploy production workloads.
- Query inventory and compliance across many subscriptions.
- Create repeatable deployments and cleanup workflows.
Illustrative Azure scenarios
These examples show how the concept can affect design and operations. They are illustrative scenarios, not customer claims.
Scenario 01 AppDependencies in action: stabilize a customer portal before open enrollment Scenario, objectives, solution, measured impact, and takeaway.
Northwind Benefits, a healthcare benefits administration company, needed to stabilize a customer portal before open enrollment. The platform team had to use AppDependencies carefully because the application was already serving production users.
- Keep customer-facing latency within the approved service target.
- Reduce incident triage time during the change window.
- Avoid creating unnecessary permanent cloud spend.
- Produce evidence for compliance and change management review.
The architecture team used AppDependencies as the production evidence point instead of making an unrelated change. They first captured the existing state with az monitor app-insights query, az monitor log-analytics query, and Azure Monitor workbook or portal KQL queries, reviewed sampling choices, telemetry volume, workspace retention, query cost, role naming, and whether dependencies are automatically or manually tracked, and mapped the setting to owners for application, network, security, cost, and monitoring. The implementation used instrumentation, sampling, retention, alerting, and workbook updates rather than direct table mutation only after staging validation, and the runbook included rollback, smoke tests, and evidence capture. The team also checked instrumentation, OpenTelemetry configuration, sampling, workspace retention, ingestion volume, cloud role naming, and correlation with AppRequests and AppExceptions so the change improved the intended objective without hiding a dependency failure, exposure issue, or surprise cost path.
- Peak-hour support tickets fell by 31 percent during the rollout week.
- Engineers reduced diagnosis time from 72 minutes to 24 minutes using captured evidence.
- The change stayed inside the approved budget because cleanup was scheduled.
- The audit team accepted the CLI output and runbook notes as release evidence.
AppDependencies is valuable because it turns a technical detail into an intentional, measurable operating decision rather than an afterthought.
Scenario 02 AppDependencies in action: support a seasonal promotion without weakening controls Scenario, objectives, solution, measured impact, and takeaway.
HarborPoint Retail, a regional retail and ecommerce company, needed to support a seasonal promotion without weakening controls. The platform team had to use AppDependencies carefully because the application was already serving production users.
- Protect checkout and account traffic during the promotion.
- Keep operations repeatable across production and staging.
- Prevent downstream systems from being overwhelmed by the change.
- Give business leaders measurable before-and-after results.
The architecture team used AppDependencies as the production evidence point instead of making an unrelated change. They first captured the existing state with az monitor app-insights query, az monitor log-analytics query, and Azure Monitor workbook or portal KQL queries, reviewed sampling choices, telemetry volume, workspace retention, query cost, role naming, and whether dependencies are automatically or manually tracked, and mapped the setting to owners for application, network, security, cost, and monitoring. The implementation used instrumentation, sampling, retention, alerting, and workbook updates rather than direct table mutation only after staging validation, and the runbook included rollback, smoke tests, and evidence capture. The team also checked instrumentation, OpenTelemetry configuration, sampling, workspace retention, ingestion volume, cloud role naming, and correlation with AppRequests and AppExceptions so the change improved the intended objective without hiding a dependency failure, exposure issue, or surprise cost path.
- Promotion traffic increased 2.8 times while p95 response time stayed under 900 milliseconds.
- No emergency configuration changes were needed during the event.
- Downstream database and API limits stayed below agreed thresholds.
- The team documented a reusable pattern for the next campaign.
AppDependencies is valuable because it turns a technical detail into an intentional, measurable operating decision rather than an afterthought.
Scenario 03 AppDependencies in action: recover confidence in a plant operations application after repeated incidents Scenario, objectives, solution, measured impact, and takeaway.
Cobalt Ridge Manufacturing, a industrial manufacturing company, needed to recover confidence in a plant operations application after repeated incidents. The platform team had to use AppDependencies carefully because the application was already serving production users.
- Improve operator confidence in the production web application.
- Create a repeatable validation process for every change.
- Reduce unplanned downtime tied to platform configuration mistakes.
- Give support staff clear signals to check during incidents.
The architecture team used AppDependencies as the production evidence point instead of making an unrelated change. They first captured the existing state with az monitor app-insights query, az monitor log-analytics query, and Azure Monitor workbook or portal KQL queries, reviewed sampling choices, telemetry volume, workspace retention, query cost, role naming, and whether dependencies are automatically or manually tracked, and mapped the setting to owners for application, network, security, cost, and monitoring. The implementation used instrumentation, sampling, retention, alerting, and workbook updates rather than direct table mutation only after staging validation, and the runbook included rollback, smoke tests, and evidence capture. The team also checked instrumentation, OpenTelemetry configuration, sampling, workspace retention, ingestion volume, cloud role naming, and correlation with AppRequests and AppExceptions so the change improved the intended objective without hiding a dependency failure, exposure issue, or surprise cost path.
- Unplanned downtime for the workflow dropped 42 percent over two months.
- The support team closed related tickets 38 percent faster after using the checklist.
- Configuration drift findings dropped from twelve to three during the next audit.
- Plant supervisors approved the pattern for two additional applications.
AppDependencies is valuable because it turns a technical detail into an intentional, measurable operating decision rather than an afterthought.
Azure CLI
Azure CLI is useful because dependency telemetry queries can be scripted for repeatable incident checks, evidence capture, and release comparisons across environments.
Useful for
- Query slow or failed dependencies for an Application Insights resource.
- Join dependency telemetry with request telemetry to isolate user-facing latency.
- Export KQL results for incident evidence or release validation.
Before you run a command
- Confirm the Application Insights resource, workspace, time range, and query permissions.
- Check whether sampling or filtering may hide low-volume but important dependency calls.
- Avoid querying broad time windows without limits because telemetry volume can be high.
What the output tells you
- Rows show dependency target, type, duration, success, and operation correlation details.
- Aggregations reveal which downstream service contributes most latency or failures.
- Empty output may mean no telemetry, wrong workspace, sampling, or an incorrect time range.
Mapped commands
Telemetry query
diagnosticaz monitor log-analytics query --workspace <workspace-id> --analytics-query "AppExceptions | summarize count() by bin(TimeGenerated, 1h)"Architecture context
AppDependencies is the Application Insights and Log Analytics table that shows outbound dependency calls made by an instrumented application. Architecturally, it is part of the observability data plane, not the application runtime itself. I use it to understand how a web app, function, API, or worker service depends on SQL, storage, queues, HTTP services, and other remote components. Its fields support dependency mapping, latency analysis, success-rate tracking, and correlation with requests, traces, and exceptions through operation identifiers. The table becomes especially valuable in distributed systems where the failing component is not the first one users notice. Good instrumentation turns AppDependencies into evidence for scaling, resilience, and dependency ownership decisions.
- Security
- For security, dependency telemetry may contain URLs, operation names, and targets, so teams should filter secrets, control workspace access, and review retention policies. This is not a standalone guarantee; it only helps when the surrounding design is reviewed as part of the same change. Teams should connect the setting to identity, networking, monitoring, deployment process, and dependency ownership, then record what was checked. In production, the safer pattern is to validate the current state with CLI or Resource Manager output, make the smallest approved change, and confirm the expected behavior afterward. Security review should include least privilege, exposure, secrets, and evidence that the intended boundary still holds.
- Cost
- For cost, high dependency volume can raise Log Analytics ingestion and retention cost, so sampling, filtering, and table retention need ownership. This is not a standalone guarantee; it only helps when the surrounding design is reviewed as part of the same change. Teams should connect the setting to identity, networking, monitoring, deployment process, and dependency ownership, then record what was checked. In production, the safer pattern is to validate the current state with CLI or Resource Manager output, make the smallest approved change, and confirm the expected behavior afterward. Cost review should include who pays, what changes the bill, and when temporary capacity or diagnostic volume should be reduced.
- Reliability
- For reliability, AppDependencies helps prove whether failures are inside the app or in downstream systems, but it depends on correct instrumentation and correlation. This is not a standalone guarantee; it only helps when the surrounding design is reviewed as part of the same change. Teams should connect the setting to identity, networking, monitoring, deployment process, and dependency ownership, then record what was checked. In production, the safer pattern is to validate the current state with CLI or Resource Manager output, make the smallest approved change, and confirm the expected behavior afterward. Reliability review should include rollback, health signals, dependency readiness, and what users experience if the setting fails.
- Performance
- For performance, dependency duration and failure rate reveal external bottlenecks that dominate response time even when application CPU and memory look healthy. This is not a standalone guarantee; it only helps when the surrounding design is reviewed as part of the same change. Teams should connect the setting to identity, networking, monitoring, deployment process, and dependency ownership, then record what was checked. In production, the safer pattern is to validate the current state with CLI or Resource Manager output, make the smallest approved change, and confirm the expected behavior afterward. Performance review should include user latency, saturation signals, dependency timings, and whether the change addresses the actual bottleneck.
- Operations
- For operations, operators query dependency duration, success, target, cloud role, and correlation IDs to triage incidents and build service maps. This is not a standalone guarantee; it only helps when the surrounding design is reviewed as part of the same change. Teams should connect the setting to identity, networking, monitoring, deployment process, and dependency ownership, then record what was checked. In production, the safer pattern is to validate the current state with CLI or Resource Manager output, make the smallest approved change, and confirm the expected behavior afterward. Operational review should include runbooks, alerting, evidence collection, and ownership of both normal changes and incidents.
Common mistakes
- Assuming missing dependency rows mean no dependency problems occurred.
- Logging secrets or sensitive query strings into dependency telemetry.
- Ignoring sampling and retention when comparing incidents across environments.