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

Closing the Office Over Christmas? A Pre-Shutdown IT Checklist for Perth Businesses

Shutting down for Christmas and New Year? Here's what Perth businesses should patch, back up, lock down and arrange before the office goes quiet, including December's Patch Tuesday and Microsoft's SMTP change. From Computer Mechanics, Perth IT specialists since 1997.

5 min read

ACCC Warns About ASIC Lookalike Renewal Letters: How Perth Businesses Avoid Paying Extra

The ACCC has warned businesses about letters from Registration Pty Ltd that can look like ASIC invoices for company and business name renewals. Here's how Perth businesses can tell the difference and pay ASIC directly. From Computer Mechanics, Perth IT specialists since 1997.

5 min read

Java4Shell (CVE-2026-114938): Does Your Perth Business Run Java Without Knowing It?

A critical Java flaw called Java4Shell was patched on 17 November 2026. Here's how Perth businesses can find hidden Java, which versions are affected, and what to update first. 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

Cybersecurity
AI

Five Eyes Warn AI Is Speeding Up Cyber Attacks: What Perth Small Businesses Should Do Now

Australia's cyber agency and its Five Eyes partners say AI is making attacks faster and cheaper. Here is what that means for a Perth small business, and the practical steps worth taking this quarter. From Computer Mechanics, Perth IT specialists since 1997.

5 min read
11/2/2026
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