Query Details
id: b2c3d4e5-2003-4b22-9d01-0123456789c3
name: Copilot Studio - Connector error storm by conversation
description: |
Surfaces conversations and connector targets with a high rate of failed
calls (Success == false), broken down by result code. Useful to triage
backend enumeration, permission probing, throttling, or an action stuck
in a retry loop. Lower threshold than the analytic rule for proactive
review.
query: |
let lookback = 1d;
AppDependencies
| where TimeGenerated > ago(lookback)
| where AppRoleName == "Microsoft Copilot Studio" or DependencyType == "Connector"
| extend ConvId = tostring(Properties["conversationId"]),
ChannelId = tostring(Properties["channelId"])
| summarize
Total = count(),
Failures = countif(Success == false),
ResultCodes = make_set(ResultCode, 25),
Targets = make_set(Target, 25),
FirstSeen = min(TimeGenerated),
LastSeen = max(TimeGenerated)
by ConvId, ChannelId, Name
| extend FailureRate = round(100.0 * Failures / iff(Total == 0, 1, Total), 1)
| where Failures >= 5
| order by Failures desc
tactics:
- Discovery
- Impact
techniques:
- T1190
- T1499
tags:
- Sentinel-As-Code
- Custom
- CopilotStudio
- AI
This query is designed to identify conversations and connector targets within the "Microsoft Copilot Studio" that have a high rate of failed calls. It looks at data from the past day and focuses on instances where the success of calls is false. The query breaks down these failures by result code and is useful for diagnosing issues such as backend enumeration, permission probing, throttling, or actions stuck in a retry loop. It provides a more detailed view than the analytic rule for proactive review.
Here's a simplified breakdown of what the query does:
lookback = 1d).AppDependencies where the application role is "Microsoft Copilot Studio" or the dependency type is "Connector".The query is tagged with tactics and techniques related to discovery and impact, and it is associated with specific tags like Sentinel-As-Code, Custom, CopilotStudio, and AI.

David Alonso
Released: June 8, 2026
Tables
Keywords
Operators