Skip to main content
Mallory
← Back to News
ai-platform-securityidentity-authentication-vulnerabilitycloud-misconfiguration

Microsoft Entra and Copilot AI Agent Security Enhancements and Risks

Emerging Technology Risk · 4 sources · Updated 5mo ago · First seen Nov 26, 2025

Microsoft Entra and Copilot AI Agent Security Enhancements and Risks

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
New surface, new adversariesTrack how attackers are adapting to this technology.
Track this risk
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

6 events · Nov 25, 2025 – Oct 1, 2026
  1. Oct 1, 20262mo ago

    Microsoft schedules stricter Entra ID sign-in CSP for October 2026

    Microsoft announced it will enforce a stricter Content Security Policy for browser-based Entra ID sign-ins at login.microsoftonline.com in mid-to-late October 2026. The change will block external script injection and unsupported browser extensions or tools that inject scripts into sign-in pages.

  2. Jan 1, 202611mo ago

    Microsoft plans commercial availability of Entra Agent ID in 2026

    Microsoft said Entra Agent ID, after its public preview, is expected to become commercially available in 2026. Pricing had not yet been finalized at the time of the announcement.

  3. Nov 26, 20251y ago

    Microsoft launches Entra Agent ID in public preview

    Microsoft introduced Entra Agent ID within Entra IAM to assign managed identities to AI agents and apply controls such as conditional access, governance, and protection. The feature is intended to help enterprises monitor and restrict agent behavior and is available in public preview.

  4. Nov 25, 20251y ago

    Microsoft warns Agent Workspace expands prompt-injection and data-exfiltration risks

    In documentation accompanying Agent Workspace, Microsoft warned that agentic AI features create notable risks from cross-prompt and indirect prompt injection, including possible data exfiltration. Researchers also noted that access to folders like Downloads increases exposure to untrusted third-party content, while Copilot Actions can retain desktop screenshots for up to 30 days.

  5. Nov 25, 20251y ago

    Microsoft introduces experimental Agent Workspace for Windows Insiders

    Microsoft introduced an experimental Windows feature for Windows Insiders that lets Copilot agents access local files through a separate Agent Workspace account. The feature is disabled by default and supports background tasks such as resizing photos, renaming files, and filling out forms.

  6. Nov 25, 20251y ago

    PromptArmor demonstrates indirect prompt injection against Claude for Excel

    PromptArmor recently published a proof of concept showing that hidden instructions in a spreadsheet could indirectly prompt-inject Anthropic's Claude for Excel. The demonstration highlighted how malicious file content can manipulate AI agents into unintended actions.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Microsoft Entra Id

Organizations

1 linked
Microsoft Corporation
Do you run this?Follow how adversaries are adapting to this technology, and where it touches your stack today.
Track This Risk
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.