Skip to content
Cloud Governance Tools

Azure AI Search services should disable public network access

Azure AI Search services should disable public network access is an Azure guardrail written in Azure Policy. Denies Azure AI Search services that leave public network access enabled. What it breaks: existing search services that are public are marked non-compliant but not changed; Microsoft suggests private endpoints to limit exposure.

More ai services guardrails ยท About Azure Policy

Built-in policy definition: Azure AI Search services should disable public network access
Definition ID: ee980b6d-0eca-4501-8d54-f6290fd512c3
Category: Search
Supported effects: Audit, Deny, Disabled
policyRule (copied from the repository file):
{
    "if": {
      "allOf": [
        {
          "field": "type",
          "equals": "Microsoft.Search/searchServices"
        },
        {
          "field": "Microsoft.Search/searchServices/publicNetworkAccess",
          "notEquals": "Disabled"
        }
      ]
    },
    "then": {
      "effect": "[parameters('effect')]"
    }
  }
Blocks
Denies Azure AI Search services that leave public network access enabled.
Breaks
Existing search services that are public are marked non-compliant but not changed; Microsoft suggests private endpoints to limit exposure. (source)
Test before applying
As for every Azure Policy guardrail: how to test before enforcing
Mechanism
Azure Policy (built-in definitions): Resources at the scope of the assignment (management group, subscription, resource group) and their children, except notScopes and exemptions
Taken from
open source set, MIT License, Azure/azure-policy repository, https://raw.githubusercontent.com/Azure/azure-policy/master/LICENSE

What the source says

"Disabling public network access improves security by ensuring that your Azure AI Search service is not exposed on the public internet." (read 10 Nov 2026).

What it breaks is documented for every guardrail of this mechanism: see Azure Policy.

Sources

  1. Azure AI Search services should disable public network access, read 10 Nov 2026
  2. What it breaks, read 10 Nov 2026
  3. How to test it first, read 10 Nov 2026

Last reviewed 16 Nov 2026.