Back to Blog

Azure Policy Built-Ins for Azure AI Services - Enforcing Security Without Nagging Your Team

September 28, 2026•7 min read•Michael Ridland

Every security control you rely on a human to remember will eventually fail. Not because people are careless, but because they are busy, and the fifth time someone spins up an AI resource under deadline pressure, the hardening steps get skipped. This is the gap that governance-by-policy exists to close, and for Azure AI Services, Microsoft ships a set of built-in policy definitions that let you enforce the rules automatically rather than hoping everyone follows the runbook.

Microsoft maintains a reference list of Azure Policy built-ins for Azure AI Services, and it is one of those pages that looks dry and is actually one of the most useful tools you have for keeping an AI estate secure at scale. I want to explain what these policies do, how we use them with Australian clients, and where the practical limits are, because policy is powerful and it can also cause a lot of grief if you deploy it carelessly.

What Azure Policy actually does

If you are new to it, Azure Policy is the service that evaluates your resources against rules you define and either reports on, blocks, or automatically remediates anything that does not comply. It is the difference between a security standard that lives in a document nobody reads and a standard that is enforced by the platform itself.

The built-in definitions for Azure AI Services are policies Microsoft has already written for the common controls, so you do not have to author them from scratch. They cover the things you would expect a governance team to care about: whether resources are using private endpoints instead of public access, whether they are restricting network access, whether diagnostic logging is enabled, whether customer-managed keys are in use, and whether local authentication with keys is disabled in favour of identity-based access. These map neatly onto the security baseline controls, which is the point. The baseline tells you what good looks like; policy is how you enforce it without a human in the loop.

The three ways to use a policy

This is the part that trips people up, so it is worth being clear. Each policy has an effect, and choosing the right effect for each rule and each stage of your rollout is most of the skill.

Audit is the gentle one. The policy watches, records which resources are non-compliant, and does nothing else. This is where you always start. You get a compliance dashboard showing you the true state of your environment, usually with a few surprises, and nobody's work gets blocked while you figure out the picture.

Deny is the firm one. A deny policy stops non-compliant resources from being created or changed in the first place. Try to deploy an Azure AI resource with a public endpoint and the deployment fails. This is genuinely powerful and it is also the effect that generates angry messages if you turn it on before your team is ready. Deny is where governance stops being advisory and starts being real, so it needs to be introduced carefully.

DeployIfNotExists and Modify are the automatic ones. These remediate rather than block. They can, for example, switch on diagnostic settings for a resource that does not have them, so compliance happens without anyone doing anything. Used well these are the best of the lot, because the resource ends up compliant and nobody had to remember. Used badly they change things under people's feet and cause confusion, so they need testing.

How we actually roll this out

The failure mode I have seen repeatedly is a governance team getting enthusiastic, assigning a stack of deny policies across a subscription on a Friday afternoon, and spending Monday morning explaining why nobody can deploy anything. Then policy gets a reputation as the thing that breaks work, and you fight uphill to keep it.

The approach that works is boring and staged, which is how good governance usually goes. Start everything in audit mode. Let it run for a couple of weeks and actually look at the compliance dashboard. You will learn where your genuinely non-compliant resources are, and you will find resources you did not even know existed, which is its own useful discovery. Nothing is blocked, nobody is upset, and you are building an accurate picture.

Then remediate the existing non-compliance before you switch anything to deny. There is no point blocking new bad deployments while your existing estate is full of the same problems. Use the DeployIfNotExists policies to fix the things that can be fixed automatically, like turning on logging, and manually sort the ones that need a human decision.

Only once the estate is clean and the team understands what is coming do you move the highest-value policies to deny. And even then, be selective. Denying public network access on new AI resources is worth the friction. Denying something minor might not be. Match the strictness of enforcement to the actual risk, and communicate it before it lands. This is exactly the kind of work we help clients set up through our Azure AI consulting service, and the difference between a smooth rollout and a mutiny is almost entirely in the sequencing.

The Australian governance angle

For Australian organisations, policy is not just tidiness, it is how you make compliance sustainable. Under the Privacy Act and the Notifiable Data Breaches scheme, you are expected to have reasonable controls over personal information, and "we told people to configure it securely" is a weak position if a resource turns out to have been wide open. "The platform enforces private networking and logging on every AI resource by policy, and here is the compliance report" is a far stronger one.

Policy also gives you the evidence trail that auditors and regulators want to see. A compliance dashboard that shows your enforcement state over time is proof that you were not just intending to be secure but actually holding the line. For clients in regulated sectors, particularly around AI for financial services and AI for healthcare, this is often the piece that makes the risk team comfortable enough to say yes to an AI project at all. Governance is what unlocks the interesting work, not the thing that stops it.

Data residency ties in here too. You can write policy that restricts Azure AI resources to Australian regions, which turns "please deploy in Australia East" from a request people might forget into a rule the platform enforces. For anyone with data residency obligations, that is a genuinely useful guardrail.

Where the limits are

Built-in policies are a great starting point and they will not cover everything you care about. At some point you will want a custom policy for an organisation-specific rule, and writing good custom policy definitions is a real skill. The built-ins get you most of the way, so use them first and only reach for custom when you have a specific gap.

Policy also governs configuration, not behaviour. It can ensure a resource has private networking and logging switched on. It cannot tell you whether the model is being used sensibly, whether the prompts are leaking sensitive data, or whether the outputs are appropriate. Those are different problems that need different controls. Do not mistake a green compliance dashboard for "our AI is safe", because it only means "our resources are configured the way we said they should be". That is worth a lot, but it is not everything.

And like the security baseline, policy is not set-and-forget. Microsoft adds and updates built-in definitions, your environment changes, and your rules need to keep pace. Assign an owner, review the policy set periodically, and treat it as a living part of your governance rather than a one-time project.

The bottom line

The built-in Azure Policy definitions for Azure AI Services are one of the most practical tools available for keeping an AI estate secure without relying on everyone to remember the right steps. Start in audit, understand your real state, remediate what exists, then move the high-value rules to deny in a way you have communicated in advance. Done this way, policy is what lets you scale AI across an organisation while staying defensible in front of a regulator.

If you are standing up AI across a Microsoft environment and want governance that enforces itself rather than nagging your team, our Microsoft AI consultants set this up regularly. Have a chat with us and we will help you work out which policies to turn on first.


Reference: Azure Policy built-in definitions for Azure AI Services, Microsoft Learn.