Securing Copilot & AI Agents with Microsoft Purview Poisoned Tool Protection & SharePoint Rewind

✨ AI Security Brief β€” Poisoned Tool Protection, AU-Scoped DLP & SharePoint Rewind (Nov 2026)
  • Poisoned Tool Protection (Preview): Integrated into Agent 365, Microsoft Defender and Purview now inspect MCP/connector tool calls and payloads in real time to block prompt-injection or poisoned tool responses before an AI agent executes downstream actions.
  • Copilot & Cowork DLP Administrative Units (GA): Purview DLP policies for Copilot and Cowork now support Microsoft Entra Administrative Units, letting compliance teams scope web-search blocks and sensitivity-label guardrails by region or department.
  • SharePoint Content Resilience: Microsoft introduced enhanced SharePoint oversharing controls, an upgraded SharePoint Admin Agent, and SharePoint Rewind to roll back unintended bulk edits or deletions triggered by autonomous agents.

As enterprise tenants move from interactive chat prompts to autonomous Agent 365 workflows and Microsoft 365 Copilot tool integrations, the attack surface shifts from traditional phishing to indirect prompt injection and poisoned tool responsesβ€”where an external API, email, or SharePoint document tricks an agent into exfiltrating data or deleting content.

In November 2026, Microsoft introduced a three-layer defense across Agent 365, Microsoft Purview, and SharePoint Online: Poisoned Tool Protection, Administrative Unit (AU)-scoped Copilot DLP, and SharePoint Rewind. This runbook explains how these controls work together and how to audit your Entra Administrative Units and SharePoint governance readiness using PowerShell.


Architecture: Three-Layer Defense for Autonomous Copilot Agents

Agent 365 & Purview Runtime Guardrails (November 2026) 1. POISONED TOOL PROTECTION β€’ Inspects Agent 365 tool calls β€’ Blocks indirect prompt injection β€’ Halts risky connector outputs Defender + Purview Inspection 2. AU-SCOPED COPILOT DLP β€’ Scoped via Entra Admin Units β€’ Blocks external web search on PII β€’ Stops labeled file processing GA in Microsoft Purview 3. SHAREPOINT REWIND β€’ Oversharing & SAM Guardrails β€’ SharePoint Admin Agent checks β€’ Fast rollback for agent deletions Business Continuity Layer

Step 1: Audit Entra Administrative Units for Copilot & Cowork DLP Scoping

With Copilot & Cowork DLP Administrative Unit support (GA), regional or departmental compliance admins can enforce strict web-search and sensitivity-label restrictions without applying a single blunt policy to the entire global tenant.

Use Microsoft Graph PowerShell to inventory your Administrative Units and verify their visibility and membership before attaching them to Purview DLP policies:

POWERSHELL
# Connect to Microsoft Graph (App-Only Certificate Auth)
Connect-MgGraph `
    -ClientId "c841ae33-4093-4385-8a90-6a530761f9b9" `
    -TenantId "ab85c7a1-366d-44ba-acc6-924fa0950045" `
    -CertificateThumbprint "BEAC429DE404B46FF030811C0C9DE00DE701C027" `
    -NoWelcome

# List all Microsoft Entra Administrative Units available for Purview Copilot DLP scoping
$AUs = (Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/directory/administrativeUnits?`$select=id,displayName,visibility").value

$Report = foreach ($AU in $AUs) {
    $Members = (Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/directory/administrativeUnits/$($AU.id)/members?`$select=id").value
    [PSCustomObject]@{
        DisplayName = $AU.displayName
        Visibility  = if ($AU.visibility) { $AU.visibility } else { "Default (Public)" }
        MemberCount = $Members.Count
        UnitId      = $AU.id
    }
}

$Report | Format-Table -AutoSize

Live Output from Our LAB 365 (xzf58.onmicrosoft.com) Tenant:

TEXT
DisplayName          Visibility Id
-----------          ---------- --
Delhi                           4a820620-4f9f-4500-864f-21dccaf19a4d
Noida                           7ec2b38c-a023-4b56-98a7-0cd72f93b329
AU-Region-APAC-Users            b7f6db8d-eff4-44f6-ab75-0325bf1b2235

Step 2: Operational Checklist for Poisoned Tool Protection & SharePoint Rewind

  1. Enable Poisoned Tool Protection in Agent 365: In the Microsoft 365 Defender / Agent 365 portal, enable real-time tool-call inspection for custom Copilot Studio agents and MCP connectors so malicious external payloads are intercepted before execution.
  2. Restrict External Web Search in Purview DLP: Configure a Microsoft 365 Copilot & Cowork DLP policy scoped to your high-risk Administrative Units (such as AU-Region-APAC-Users) to block external web-search grounding whenever a prompt references Confidential or Restricted sensitivity labels.
  3. Audit SharePoint Oversharing Before Broad Agent Rollouts: Run SharePoint Advanced Management (SAM) Data Access Governance (DAG) reports and verify SharePoint Rewind readiness for business-critical sites so any runaway agent modification can be rolled back cleanly.

References & Official Microsoft Documentation

πŸ’¬ Reader Comments & Feedback

Did this runbook help, or did Microsoft change a cmdlet or UI menu? Share your feedback below.