Configure Azure Machine Learning workspaces to disable public network access
Facts read 10 Nov 2026. Page reviewed 16 Nov 2026.
Configure Azure Machine Learning workspaces to disable public network access is an Azure guardrail written in Azure Policy. Sets public network access to disabled on Azure Machine Learning workspaces on create or update. Copied from a licensed open source set and read on 10 Nov 2026.
More ai services guardrails ยท About Azure Policy
Built-in policy definition: Configure Azure Machine Learning Workspaces to disable public network access
Definition ID: a10ee784-7409-4941-b091-663697637c0f
Category: Machine Learning
Supported effects: Modify, Disabled
policyRule (copied from the repository file):
{
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.MachineLearningServices/workspaces"
},
{
"field": "Microsoft.MachineLearningServices/workspaces/publicNetworkAccess",
"notEquals": "Disabled"
}
]
},
"then": {
"effect": "[parameters('effect')]",
"details": {
"roleDefinitionIds": [
"/providers/microsoft.authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c"
],
"conflictEffect": "audit",
"operations": [
{
"condition": "[greaterOrEquals(requestContext().apiVersion, '2021-10-01')]",
"operation": "addOrReplace",
"field": "Microsoft.MachineLearningServices/workspaces/publicNetworkAccess",
"value": "Disabled"
}
]
}
}
}
- Blocks
- Sets public network access to disabled on Azure Machine Learning workspaces on create or update.
- Breaks
- Modify changes the property during create or update instead of rejecting the request, and existing workspaces change only through a remediation task; Microsoft suggests private endpoints to control exposure instead. (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
"Disable public network access for Azure Machine Learning Workspaces so that your workspaces aren't accessible over the public internet." (read 10 Nov 2026).
What it breaks is documented for every guardrail of this mechanism: see Azure Policy.
Related guardrails
- Region deny that allows Bedrock cross-Region inferenceAWS, Service control policies (SCPs), ai services
- Allow only approved Amazon Bedrock modelsAWS, Service control policies (SCPs), ai services
- Deny Amazon Bedrock API keysAWS, Service control policies (SCPs), ai services
- Configure Cognitive Services accounts to disable public network accessAzure, Azure Policy (built-in definitions), ai services
- Configure Cognitive Services accounts to disable local authenticationAzure, Azure Policy (built-in definitions), ai services
- Configure Azure AI Services resources to disable local key accessAzure, Azure Policy (built-in definitions), ai services
Related pages
Sources
- Configure Azure Machine Learning workspaces to disable public network access, read 10 Nov 2026
- What it breaks, read 10 Nov 2026
- How to test it first, read 10 Nov 2026
Last reviewed 16 Nov 2026.