How to Detect and Block Risky AI Agents Using Microsoft Conditional Access (CA)

Learn how Perth SMBs can detect high-risk AI agent identities with Microsoft Entra ID Protection and block them automatically using Conditional Access policies—before they compromise your data.

Garry BloomGarry Bloom · Founder & CEO
2 June 2026
5 min read
risky AI agents
block AI Conditional Access
Microsoft Entra ID Protection
AI security Perth
MSP cloud security

Detect and Block Risky AI Agents Before They Compromise Your Data

Artificial intelligence is transforming how businesses work—but unmanaged AI agents can become a major security risk. Compromised or misconfigured AI agents may access sensitive data, exfiltrate customer information, or move laterally through your network.

The good news: Microsoft now lets you detect and block high-risk AI agents automatically using Conditional Access (CA) policies.

What Is “Agent Risk”?

Microsoft Entra ID Protection now includes Agent Risk (Preview), which evaluates AI agent identities for signs of compromise, unusual behavior, or policy violations. When an agent is flagged as High Risk, you can automatically block its access to all your cloud resources.

How to Block High-Risk AI Agents with Conditional Access

Follow these steps in the Microsoft Entra admin center:

  1. Sign in as a Conditional Access Administrator

  2. Go to Entra ID > Conditional Access > Policies

  3. Select New policy and give it a clear name (e.g., Block-High-Risk-AI-Agents)

  4. Under Assignments:

    • Select Users, agents (Preview) or workload identities
    • Choose Agents (Preview) → All agent identities (Preview)
  5. Under Target resources:

    • Select Resources (formerly cloud apps) → All resources
  6. Under Conditions > Agent risk (Preview):

    • Set Configure to Yes
    • Select High risk level
  7. Under Access controls > Grant:

    • Select Block access
  8. Set Enable policy to Report-only first to validate impact

  9. Create the policy, then switch from Report-only to On once confirmed

This policy ensures that any AI agent detected as high risk is immediately blocked from accessing your Microsoft 365, Azure, or other cloud apps.

Why This Matters for Perth SMBs

  • AI adoption is accelerating, but most small businesses lack AI governance
  • A single compromised AI agent can expose customer data, financial records, and IP
  • Conditional Access gives you automatic, policy-driven protection without slowing down legitimate users
  • As an MSP client, you can roll this out across all your environments from one central location

Next Steps

If your IT setup doesn’t yet include AI-agent risk controls, worth checking this setting in your environment today.

If this sounds like your current setup, I’m happy to help you tighten it up with a secure Conditional Access strategy tailored for Perth SMBs.

Garry Bloom
Written by
Garry Bloom
Founder & CEO · 29 years in IT

Garry founded Computer Mechanics — the business behind IT Support Perth — in 1997. With 29 years in IT management and support across internal and external service environments, he leads the team's technical direction and its cybersecurity and managed-IT strategy for Perth businesses.

Meet the IT Support Perth team →
Garry Bloom
2 June 2026
5 min read
risky AI agents
block AI Conditional Access
Microsoft Entra ID Protection
AI security Perth
MSP cloud security

Stay Updated with IT Insights

Get the latest cybersecurity tips and technology insights delivered to your inbox

Related Articles

October 2026 Patch Tuesday: 1,411 Fixes and a Live Windows Zero-Day, What Perth Businesses Should Do

Microsoft's October 2026 Patch Tuesday fixed a record 1,411 flaws, including a Windows Shell zero-day already being exploited. Here is what Perth businesses should check this week. From Computer Mechanics, Perth IT specialists since 1997.

5 min read

Microsoft Publisher Is Gone: What Perth Businesses Must Do With Their .pub Files

Microsoft 365 subscribers lose Publisher from October 2026, and old .pub files will no longer open. Here is how Perth businesses can convert flyers, brochures and price lists safely. From Computer Mechanics, Perth IT specialists since 1997.

5 min read

Citrix NetScaler Under Attack: What Perth Businesses Must Check Now

The ACSC has confirmed Australian organisations are being compromised through Citrix NetScaler flaws. Here is what Perth businesses should check, patch and review this week. From Computer Mechanics, Perth IT specialists since 1997.

5 min read

Need Expert IT Support?

Get personalized advice from our Perth IT experts. Free consultation available.

Related Content

Continue Reading

Explore more insights and expert advice on IT support, cybersecurity, and digital transformation

Microsoft 365
Copilot

Copilot Is Now Built Into Microsoft 365 Business: Decide Before 30 September

Microsoft has made Copilot a permanent part of its small business plans, with a discounted add-on price ending 30 September 2026. Here's what Perth businesses should check first. From Computer Mechanics, Perth IT specialists since 1997.

5 min read
9/11/2026
Cybersecurity
AI

Deepfake Voice Scams: The AI Fraud Threat Perth Businesses Can't Ignore

AI can now clone a voice from seconds of audio, and businesses are losing millions to fake 'CEO' calls. Here's how deepfake scams work, why Perth SMBs are targets, and the simple process that stops them. From Computer Mechanics, Perth IT specialists since 1997.

5 min read
7/13/2026
Cyber Security Perth
AI

Should You Let Staff Use ChatGPT at Work? Stopping AI Data Leaks for Perth Business

AI chatbots boost productivity but staff can leak sensitive data into them. A practical guide for Perth businesses on the risks of ChatGPT at work and how to control AI data leaks — from Computer Mechanics, Perth IT specialists since 1997.

5 min read
7/1/2026