An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
Network access for the shell tool’s container is controlled by an organization-level policy on the Azure OpenAI side, not by a setting in the Responses API call or in the Azure Portal resource configuration shown in the provided context.
The error message:
"Network policy 'allowlist' is not permitted because the organization policy disables container network access."
means that container network access has been disabled by policy for the Azure OpenAI organization/tenant, so network_policy values that require outbound network (like allowlist) are rejected.
Because this is enforced by an organization policy, it cannot be enabled from within the code or via the Responses API parameters. To use the shell tool with network access:
- Contact the Azure subscription or tenant administrator who manages Azure OpenAI policies.
- Ask them to review and update the organization policy that disables container network access for tools (such as the shell tool used with the Responses API).
- After the policy is changed to allow container network access, the
network_policyconfiguration withtype: "allowlist"andallowed_domainswill be accepted.
If policy changes are not possible in the current environment, the only option is to run the network operations (HTTP calls, package installation, etc.) outside of the Responses API shell tool and pass the results into the model as regular input.
References: