Microsoft Entra and Copilot AI Agent Security Enhancements and Risks
Emerging Technology Risk · 4 sources · Updated 5mo ago · First seen Nov 26, 2025

Microsoft is introducing new security measures and features to address the growing use of AI agents within enterprise environments. The company announced Entra Agent ID, which extends Microsoft Entra's identity and access management (IAM) capabilities to AI agents, treating them with the same governance and controls as human users. This includes assigning unique identities to agents and applying conditional access, identity governance, and protection policies. The move is in response to the anticipated proliferation of both sanctioned and unsanctioned AI agents within organizations, aiming to mitigate risks associated with shadow IT and unauthorized agent activity. Additionally, Microsoft is rolling out a strengthened Content Security Policy for Entra ID sign-ins, restricting script execution to trusted Microsoft domains to prevent external script injection and cross-site scripting attacks during authentication processes.
Alongside these IAM enhancements, Microsoft is experimenting with new features such as the Agent Workspace for Copilot, which allows AI agents to access and manipulate files in isolated environments on Windows systems. While this feature is designed to improve productivity, it comes with significant security warnings. Microsoft documentation highlights risks such as cross-prompt injection, where malicious instructions embedded in files or applications could trick AI agents into performing unauthorized actions, including data exfiltration. To address these concerns, Microsoft emphasizes user supervision, least privilege access for agent accounts, and explicit user approval for sensitive actions. These developments reflect Microsoft's broader strategy to secure the expanding role of AI agents in enterprise IT while acknowledging the unique security challenges they introduce.
Why it matters
Impact assessment
Microsoft’s changes primarily affect enterprises using Microsoft Entra ID, Copilot, Copilot Actions, Windows Insider agent features, and organizations planning to operationalize AI agents at scale. The immediate impact is more about exposure management and architectural risk than an active vulnerability: unmanaged AI agents can create unauthorized access paths, expand data-exfiltration opportunities, and complicate compliance, especially in regulated sectors.
The scope is potentially broad because Entra ID and Microsoft 365 are widely deployed, but the highest-risk elements are currently preview or experimental features rather than a confirmed mass-exploitation event. No in-the-wild exploitation is described in the references, but Microsoft explicitly warns that indirect prompt injection and script-injection risks are credible enough to require new controls.
Supporting details
- Affected products and services:
- Microsoft Entra Agent ID
- Microsoft Entra ID browser-based sign-ins at login.microsoftonline.com
- Microsoft Copilot Actions
- Windows Agent Workspace feature for Windows Insiders
- Microsoft Graph beta endpoints for Agent ID administration
- Affected populations:
- Enterprises deploying AI agents in Microsoft ecosystems
- Security and IAM teams responsible for Entra governance
- Regulated industries with strict identity, audit, and data-protection requirements
- Users whose local files may be exposed to agent workflows
- Business risks:
- Unauthorized agent activity and shadow AI deployment
- Data exfiltration via indirect or cross-prompt injection
- Operational disruption if organizations rely on browser extensions or injected scripts on Entra sign-in pages before CSP enforcement in October 2026
- Governance gaps due to preview-stage tooling and Graph beta dependency
- Exposure scope:
- Broad strategic relevance across Microsoft enterprise customers
- More acute near-term exposure for organizations piloting Copilot agent features or relying on custom sign-in page script injection
- Known exploitation status:
- No confirmed exploitation in the wild cited
- PromptArmor proof of concept demonstrates realistic indirect prompt-injection abuse against another AI workflow, supporting plausibility of similar agent abuse patterns


