Skip to main content
KBY Technologies Logo

Intune Software Compliance Policy for Local AI Agents: What the Preview Can and Cannot Block

Intune's preview can mark devices noncompliant for unapproved AI apps, and Conditional Access can lock them out. What it can see, what it cannot, and what to check first.

KBY News Desk6 min read
Bearded man working on a computer indoors, focused on cybersecurity tasks.

Advertising disclosure: this article includes partner links. KBY may earn a commission if you sign up or buy through one, at no extra cost to you. How we make money.

Underlined words are defined in the KBY Lexicon. Tap or click one to see what it means.

Microsoft has put a way to block unapproved AI agents from corporate data into public preview. Intune’s software compliance policy can mark a Windows device as noncompliant when a restricted app is installed. Entra can then lock that device out. Microsoft repeated the capability in its December security roundup on Thursday 3 December. The preview only sees what Intune’s app inventory can see, so it is narrower than the headline suggests.

#What Microsoft says the preview does

Microsoft’s December roundup says Intune uses its app inventory and Microsoft Agent 365 to discover local AI agents on managed devices. A software compliance policy can then mark devices running specific unapproved agents as noncompliant. Conditional Access policies that require a compliant device can block those machines from company data. Microsoft lists the feature as public preview. It describes four steps: identify the agent, decide whether it is approved, apply a policy, and guide employees back to compliance.

The detail sits in Microsoft’s Intune Customer Success guide of 17 November. It says the policy checks installed apps by supported identifiers. For a Win32 app that identifier is the MSI product code. For a Store app it is the package full name. Microsoft says the block applies to the whole device, even when the agent itself is not running.

#How the setup works

Microsoft’s guide gives four steps. Create a software compliance policy in Intune. Add each restricted app’s identifier as a restricted software entry. Assign the policy to a device or user group. Then make sure a Conditional Access policy requires a compliant device for the resources you care about.

A walkthrough by the HTMD blog, dated 24 November, shows the same flow using ChatGPT Desktop as its example. In the Intune admin center it goes to Devices, then Compliance policies, then Create policy. It picks Windows 10 and later, chooses Software Compliance Policy, and adds a discovery rule using the package full name. The non-compliance actions mark the device noncompliant and email the user straight away with the “Uninstall Software” template.

The user’s side is simple. The HTMD walkthrough says the Company Portal shows that the device cannot reach company resources and asks the user to uninstall the restricted app. Microsoft says employees can then request an immediate compliance check. Access returns once Intune confirms compliance and the Conditional Access policy allows it. Admins can also write a custom message explaining the problem.

#The catch: you can only block what inventory can see

This is where the headline and the product part ways. Microsoft’s own guide lists the limits. The policy acts only on apps it can see. In the preview, editor extensions, npm packages and standalone executables cannot be selected. An agent with several host apps may need several entries.

That matters because many developer-focused agents are not installed as a classic app. A command-line agent installed through a package manager may never appear as a Win32 or Store app. Microsoft says inventory only shows those two kinds. Our reading is that the policy suits desktop AI apps well and command-line tools poorly, and Microsoft’s guide does not claim otherwise.

The HTMD walkthrough raises a related gap. It does not explain how to find the right package full name or product code for a given app. It also does not describe licensing. Microsoft’s guide points to the “Platform-specific app ID” property in app inventory for exactly that purpose, which brings us to the first thing to check.

#App inventory is not on by default

Microsoft’s Learn documentation says app inventory, unlike the older Discovered apps, requires you to create and assign a device configuration policy. Devices do not report app inventory until one is assigned. The policy is a Properties catalog profile with the ApplicationProperties settings. To get the identifier you need, select the optional Platform-specific app ID property as well as the defaults.

Learn also sets the boundaries. App inventory works on Windows 10 and 11 devices that are enrolled in Intune and joined to Microsoft Entra. It is supported in GCC High but not in operated by 21Vianet. Collection runs several times a day for active devices. If you remove the policy, Learn says collection continues for about three days before it stops and the data is removed.

Devices that are only registered, or hybrid joined without the right state, may therefore never show up. If your estate includes them, a compliance rule that depends on inventory will not protect them. We would treat that as a coverage question to answer before any policy is switched on.

#Our view: audit first, then block

We think the safer order is to use the preview as a discovery tool before it is an enforcement tool. Turn on app inventory for a pilot group. Filter the All apps view for the AI desktop apps your staff actually install. Record each one’s package name or product code. Only then write restricted entries, and only for apps your policy genuinely forbids.

The reason for caution is blast radius. Because Conditional Access blocks the whole device, one restricted app can cut a user off from email, files and Teams. Microsoft describes that as the intended behaviour. A user who installed an AI app out of curiosity will meet it as a sudden loss of access. The message you write in the policy therefore matters as much as the rule.

Pilot the policy on a small group, and test with a harmless app first. Start with a Conditional Access policy in report-only mode where you can, so the sign-in logs show who would have been blocked. Our recent report on Entra Backup and Recovery Premium covers another Entra preview with similar caveats about scope and billing.

#What to do this week

  1. Create an app inventory policy for a pilot group and include the Platform-specific app ID property.
  2. Review the All apps view on a few devices and list the AI apps you find, with their identifiers.
  3. Decide which of those apps your acceptable-use policy forbids. Do not restrict an app you have not agreed to ban.
  4. Write the custom non-compliance message in plain words, with the approved alternative and a help contact.
  5. Check which devices are not Entra joined, because inventory will not cover them.
  6. Confirm the Conditional Access policy that requires compliance, and test it in report-only mode first.
  7. Keep a separate list of agents that arrive as extensions or packages. This policy cannot see them in the preview.

Following along? Tap a step’s number to tick it off.

#What is not known

Microsoft’s roundup does not state licensing for the compliance feature. Its guide lists licences only for Defender’s separate runtime protection: Defender for Endpoint Plan 2, E5, Agent 365 or Microsoft 365 E7. Do not assume the compliance policy needs the same licences, and do not assume it does not. Check the product documentation for your tenant before you roll it out.

Microsoft also has not said when the preview ends or whether the editor extension and package gaps will close. We expect pressure to widen the identifiers, because the agents causing the most concern are often installed outside the Store. If Microsoft adds package support, this policy becomes far more useful. If it does not, admins will need to combine it with application control or network rules.

Evidence trail

Sources and verification

Primary documentation and external technical references used in this article.

  1. 01Microsoft Security Blog: What's new in Microsoft Security, December 2026microsoft.com
  2. 02Microsoft Tech Community: A guide to governing local AI agents with Intunetechcommunity.microsoft.com
  3. 03Microsoft Learn: App inventory for Windows deviceslearn.microsoft.com
  4. 04HTMD Blog: Software Compliance Policy in Intune helps detect and block unauthorised AI agentsanoopcnair.com

About this page

Credited to

Dates

Published

Corrections

No corrections are listed for this page. Some review sweeps corrected pages without naming each one; those are in the corrections log.

Found this useful? Follow KBY for more like it.

Reader Interaction

Comments

Add a thoughtful note on Intune Software Compliance Policy for Local AI Agents: What the Preview Can and Cannot Block. Comments are checked for spam and held for moderation before appearing.

Loading comments...

More from KBY that goes with this story.

More news

All news

Discover more

Was this useful?

Reports go to the site owner and are used to correct pages. Corrections are listed at /corrections.

Get new fixes by email.

For IT teams: new runbooks, configuration traps and fixes, and the Microsoft and Apple deadlines coming up, about twice a week.