Listen to this Post

Introduction:
Microsoft is fundamentally reshaping how enterprises secure AI agents with the July 1, 2026, enforcement of Microsoft Agent 365 licensing. Starting this date, several AI agent security capabilities in Microsoft Defender and Microsoft Entra will require Microsoft Agent 365—a $15 per user per month standalone license or included in Microsoft 365 E7 at $99 per user per month. Organizations still operating on legacy security controls face a silent enforcement gap where block rules simply stop working without warning. This article breaks down the seven critical security impacts, provides step‑by‑step migration guidance, and delivers actionable commands to ensure your AI agent security posture remains intact through the transition.
Learning Objectives:
- Master the migration from AIAgentsInfo to AgentsInfo Advanced Hunting tables before the July 1 cutoff
- Understand Block Mode enforcement deprecation and configure new real‑time protection policies
- Identify deprecated threat detection alerts and transition to Microsoft Agent 365 observability logs
- Implement third‑party agent discovery via Registry Sync for AWS Bedrock, Google Vertex AI, Salesforce Agentforce, and Databricks Genie
- Configure Conditional Access and ID Protection for AI agents with proper licensing prerequisites
You Should Know:
- AIAgentsInfo → AgentsInfo Table Migration: The Clock Is Ticking
The AI agent inventory in Microsoft Defender Advanced Hunting is transitioning from the `AIAgentsInfo` table to a new `AgentsInfo` table, powered by Microsoft Agent 365 as the source of authority for AI agent inventory. The `AIAgentsInfo` table remains accessible only until July 1, 2026; after that date, queries referencing the old table will fail.
Critical Warning: Many Copilot Studio Agent Security settings—such as UserAuthenticationType—are not available in the new `AgentsInfo` table. Security teams must audit all saved queries, custom detections, and workbooks that reference `AIAgentsInfo` and update them to `AgentsInfo` before the deadline.
Step‑by‑Step Migration Guide:
Step 1: Audit Existing Queries
Run this KQL query in Microsoft Defender Advanced Hunting to identify all custom detections using the legacy table:
CustomDetection | where Query contains "AIAgentsInfo" | project DetectionName, Query, LastModified
Step 2: Map Schema Differences
Review the new `AgentsInfo` schema documentation and identify fields that have been renamed or removed. The new table provides a unified schema supporting Copilot Studio, Microsoft Foundry, Microsoft 365 Copilot, third‑party agents, and endpoint‑discovered agents.
Step 3: Rewrite Queries
Replace all `AIAgentsInfo` references with `AgentsInfo`. Example transformation:
// Legacy query AIAgentsInfo | where AgentName contains "production" | project AgentName, UserAuthenticationType // New query (note: UserAuthenticationType may not be available) AgentsInfo | where AgentName contains "production" | project AgentName, AgentId, SecurityPosture
Step 4: Validate in Preview
Test rewritten queries in the Advanced Hunting preview pane before deploying to production detections.
Step 5: Update Workbooks and Dashboards
Review all Microsoft Defender workbooks and custom dashboards for embedded `AIAgentsInfo` references and update accordingly.
2. Block Mode Enforcement: The Silent Security Gap
Tenants currently configured to “Block” on existing Agent 365 rules will stop blocking on July 1, 2026. This is not a graceful deprecation—block rules don’t error out; they simply stop enforcing. Organizations relying on these rules for AI agent security will experience an invisible gap in their defense.
Step‑by‑Step Remediation:
Step 1: Inventory Existing Block Rules
Export all current Agent 365 block rules from the Microsoft Defender portal under Settings → Security for AI agents.
Step 2: Prepare for New Policy Experience
Starting July 1, 2026, define rules under the new real‑time protection policy experience, located at Settings → Security for AI → Policies.
Step 3: Configure New Block Rules
Create equivalent block rules in the new policy framework. Ensure each rule specifies:
– Target agent types (Copilot Studio, Foundry, third‑party)
– Conditions for blocking (risk threshold, behavior patterns)
– Action (Block, Audit, or Alert)
Step 4: Validate Enforcement
After July 1, verify that new rules are actively blocking by reviewing the `BehaviorInfo` table for enforcement events.
- Real‑Time Protection Changes: From Alerts to Queryable Telemetry
Alerts generated by legacy real‑time protection rules—in both audit and block modes—will be replaced by equivalent Advanced Hunting behaviors. These behaviors record events as queryable telemetry in the `BehaviorInfo` table, enabling custom detections, hunting queries, and downstream automation.
Key Requirement: The Microsoft 365 connector must be connected for telemetry to flow. Near‑real‑time detection alerts remain unchanged. Real‑time protection for Microsoft Copilot Studio (through Microsoft Defender for Cloud Apps) remains unchanged for tenants continuing that experience; no action is required.
Step‑by‑Step Transition:
Step 1: Verify Connector Status
Check that the Microsoft 365 connector is active in Defender for Cloud Apps.
Step 2: Build Custom Detections
Create Advanced Hunting queries against the `BehaviorInfo` table:
BehaviorInfo | where Timestamp > ago(1h) | where BehaviorType contains "AgentSecurity" | summarize Count = count() by AgentId, RiskLevel
Step 3: Automate Responses
Configure automated actions (e.g., ServiceNow tickets, email alerts) triggered by `BehaviorInfo` queries.
- Threat Detection Alert Deprecations: Know What’s Going Away
Two major alert categories are being deprecated:
- Copilot Studio agent threat detection alerts in Defender for Cloud Apps will be deprecated. Equivalent alerts will run over Microsoft Agent 365 observability logs after July 1, 2026, and remain available through the Defender portal for licensed tenants.
-
Foundry agent‑specific alerts in the Microsoft Defender for AI Services plan will be deprecated.
Action Required: Review existing alert rules and transition to the new observability log‑based alerts. Test new alert configurations before July 1 to ensure no coverage gaps.
- Third‑Party Agent Discovery: Registry Sync Is the New Standard
Third‑party cloud agents (AWS Bedrock, Google Vertex AI, Salesforce Agentforce, and Databricks Genie) will no longer be discoverable through Microsoft Defender for Cloud connectors. To continue discovering them, organizations must configure Registry Sync in the Microsoft 365 agent registry (preview).
Step‑by‑Step Registry Sync Configuration:
Step 1: Access Agent Registry
Navigate to the Microsoft 365 admin center → Agents → All Agents.
Step 2: Configure Registry Sync
Select “Registry Sync” and authenticate once per environment.
Step 3: Connect Supported Platforms
Connect to AWS Bedrock, Google Vertex AI, Salesforce Agentforce, and/or Databricks Genie environments.
Step 4: Synchronize Agents
Sync agents from external environments into Microsoft Agent 365 agent registry.
Step 5: Verify Discovery
Confirm discovered agents appear in the agent registry with full metadata.
- Microsoft Defender Portal Changes: UI and Data Location Updates
AI Agent security related Microsoft Defender information will remain available in the Microsoft Defender portal, but with significant changes:
- Assets → AI Agents → Agents / Local agents remains available
- AI Agents recommendations (Foundry agents) remains available
- Advanced Hunting → AIAgentsInfo migrated to AgentsInfo
- Settings → Security for AI remains available
- AI Agents sub‑tab under Cloud Assets will be removed for all customers (already removed in some tenants)
- Microsoft Foundry agent data in the Azure portal will no longer appear in the Data and AI dashboard or Cloud Security Explorer
Action Required: Update any automation, reporting, or monitoring that relies on the deprecated UI locations.
- Conditional Access and ID Protection for Agents: Licensing Enforcement Coming
Microsoft Entra provides two agent‑specific security capabilities:
Conditional Access for Agents: Requires Microsoft Entra ID P1 or P2 AND a Microsoft Agent 365 license. Enforcement of the Microsoft Agent 365 license begins with service plan rollout starting July 2026 and completing by early August.
ID Protection for Agents: Requires Microsoft Entra ID P2 AND a Microsoft Agent 365 license. Enforcement rollout follows the same timeline—starting July 2026, completing by early August.
Step‑by‑Step Configuration:
Step 1: Verify Licensing
Ensure users have Microsoft Entra ID P1/P2 and Microsoft Agent 365 licenses assigned.
Step 2: Configure Conditional Access Policies
Navigate to Microsoft Entra admin center → Conditional Access → Create policy targeting agent identities.
Step 3: Set Risk Policies
Use Conditional Access for agents to set risk policies that block risky agents from accessing resources or other agents.
Step 4: Enable ID Protection
Configure ID Protection for agents to detect and remediate compromised agent identities.
What Undercode Say:
- Licensing Is the New Security Control Plane: Microsoft is using license enforcement as the mechanism to gate AI agent security capabilities. Organizations without Agent 365 licensing lose access to critical security features—not through technical incompatibility, but through deliberate enforcement gates.
-
The Migration Window Is Narrow: With only days remaining before July 1, organizations must prioritize table migrations, block rule transitions, and registry sync configurations. The silent failure of block rules is particularly dangerous—security teams won’t receive error notifications; they’ll simply lose protection.
-
Third‑Party Agent Visibility Requires Proactive Action: The deprecation of Defender for Cloud connectors for third‑party discovery means organizations must actively configure Registry Sync. Failure to do so creates blind spots for AWS Bedrock, Google Vertex AI, Salesforce Agentforce, and Databricks Genie agents.
-
Entra Capabilities Are Coming, but Licensing Enforcement Lags: Conditional Access and ID Protection for agents require Agent 365 licensing, but enforcement doesn’t begin until July 2026 and completes by early August. This creates a confusing window where licenses are technically required but not yet enforced.
-
E5 Is Now a Prerequisite, Not a Substitute: Effective June 1, 2026, new standalone Agent 365 purchases require Microsoft 365 E5 as a prerequisite—E3 alone does not qualify. Organizations on E3 must upgrade to E5 before they can purchase Agent 365 standalone, making E7 ($99/user/month) the more cost‑effective bundle that includes E5, Copilot, and Agent 365.
Prediction:
-
+1 The Agent 365 license enforcement will accelerate enterprise AI agent governance maturity, forcing organizations to inventory, classify, and secure AI agents with the same rigor applied to human identities and endpoints.
-
+1 Registry Sync will become the de facto standard for multi‑cloud AI agent discovery, creating opportunities for unified security posture management across AWS, Google, Salesforce, and Databricks environments.
-
-1 Organizations that miss the July 1 migration deadline will experience undetected security gaps—particularly around block rule enforcement failure—leading to potential data exfiltration or unauthorized agent activity in the weeks following enforcement.
-
-1 The phased rollout of Entra licensing enforcement (July to August 2026) will create confusion and potential misconfigurations as security teams struggle to distinguish between “license required” and “license enforced” states.
-
+1 The convergence of AI agent security into Microsoft Defender, Entra, and Purview under a single licensing model will simplify vendor management for enterprises already committed to the Microsoft security ecosystem, reducing the need for point solutions.
-
-1 Small and mid‑size enterprises without E5 or E7 licensing will be locked out of AI agent security capabilities, potentially creating a two‑tier security landscape where only well‑funded organizations can securely deploy AI agents at scale.
▶️ Related Video (74% Match):
https://www.youtube.com/watch?v=_AbcvGfP-eI
🎯Let’s Practice For Free:
🎓 Live Courses & Certifications:
Join Undercode Academy for Verified Certifications
🚀 Request a Custom Project:
Secure, high-velocity infrastructure and disruptive technological engineering. Contact our engineering team for high-tier development and proprietary systems:
[email protected]
💎 Smart Architecture | 🛡️ Secure by Design | ⭐ Trusted by Thousands
IT/Security Reporter URL:
Reported By: Derkvanderwoude %F0%9D%90%8D%F0%9D%90%9E%F0%9D%90%B0 – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅


