← Back to SOC feed Coverage →

Copilot Studio AI Agents - No Authentication Required

kql MEDIUM Azure-Sentinel
T1078T1190
backdoorhuntingmicrosoftofficial
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at Azure-Sentinel →
Retrieved: 2026-04-21T09:00:00Z · Confidence: medium

Hunt Hypothesis

AI agents in Copilot Studio that lack authentication mechanisms may indicate a misconfigured environment allowing unauthorized access and potential exploitation by adversaries. SOC teams should proactively hunt for this behavior in Azure Sentinel to identify and remediate exposed AI agents before they are leveraged in targeted attacks.

KQL Query

AIAgentsInfo  
| where RegistrySource != "A365"
| summarize arg_max(Timestamp, *) by AIAgentId 
| where AgentStatus != "Deleted"  
| where AuthenticationTrigger == "As Needed" or UserAuthenticationType == "None" 
| project-reorder AgentCreationTime, AIAgentId, AIAgentName, AgentStatus, CreatorAccountUpn, OwnerAccountUpns

Analytic Rule Definition

id: 2b7c1d3e-4f5a-6b7c-8d9e-0f1a2b3c4d5e
name: Copilot Studio AI Agents - No Authentication Required
description: |
  This query identifies Copilot Studio AI agents without authentication mechanisms. Authentication is an agent-level configuration. 
  Such misconfiguration poses significant security risks because when the agent accesses resources requiring authentication, it authenticates as the agent's creator, not the user interacting with it. 
  If the agent has access to sensitive information, this could allow users to access resources they shouldn`t. Additionally, it expands the attack surface: if an attacker compromises a user who can access such an agent, the attacker can also authenticate as the maker.
requiredDataConnectors: []
tactics:
  - InitialAccess
  - PrivilegeEscalation
relevantTechniques:
  - T1078
  - T1190
query: |
  AIAgentsInfo  
  | where RegistrySource != "A365"
  | summarize arg_max(Timestamp, *) by AIAgentId 
  | where AgentStatus != "Deleted"  
  | where AuthenticationTrigger == "As Needed" or UserAuthenticationType == "None" 
  | project-reorder AgentCreationTime, AIAgentId, AIAgentName, AgentStatus, CreatorAccountUpn, OwnerAccountUpns
entityMappings:
  - entityType: Account
    fieldMappings:
      - identifier: FullName
        columnName: CreatorAccountUpn
  - entityType: Host
    fieldMappings:
      - identifier: HostName
        columnName: AIAgentName

version: 1.0.0

MITRE ATT&CK Context

References

False Positive Guidance

Original source: https://github.com/Azure/Azure-Sentinel/blob/main/Hunting Queries/AI Agents/Copilot Studio Connector/NoAuthenticationRequiredAIAgents.yaml