An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
Hello Aarushi Saraswat
When configuring Azure OpenAI (Cognitive Services) networking (Firewall & virtual networks → Selected networks and private endpoints), saving IPv4 addresses or VNets fails with:
Unable to evaluate policy for resource
'/subscriptions/.../providers/Microsoft.CognitiveServices/accounts/OPENAI'.
Policy evaluation timed out
This error occurs when Azure Policy assignments at the subscription, management group, or resource group scope interfere with network configuration changes on the Azure OpenAI resource.
Specifically:
- Azure evaluates all applicable policies during a resource update.
- If one or more policies:
- Restrict
Microsoft.CognitiveServices/accounts- Enforce private endpoints only
- Restrict public network access or IP allow‑lists
- Are complex / large‑scope (management group level)
- Then the policy engine may fail to complete evaluation within the allowed time, resulting in a policy evaluation timeout instead of a normal “Denied by policy” message.
- Restrict public network access or IP allow‑lists
- Enforce private endpoints only
- Restrict
This is a policy evaluation failure, not a networking or OpenAI service issue.
To fix this issue, please try below provided workarounds:
- Identify blocking Azure Policies:
Check both subscription and resource group scopes:
Azure Portal
- Subscription → Policy → Assignments
- Resource Group (
WNDRG) → Policy → Assignments
Look for policies that:
- Deny or restrict
Microsoft.CognitiveServices/accounts - Enforce private endpoint only
- Restrict public IP ranges
- Use Deny effect instead of Audit
Policies with a Deny effect are the most common cause of this timeout.
- Reduce policy impact on the OpenAI resource:
Ask the policy owner to do one of the following (all are valid fixes):
- Exclude the OpenAI resource or its resource group
- Narrow the policy scope (do not apply at management group level)
- Temporarily disable the policy during the networking change
- Change effect from Deny → Audit if enforcement is not required
This allows the networking configuration to be saved successfully.
- Retry networking configuration:
After policy adjustment:
- Go back to OpenAI resource → Networking
- Select “Selected networks and private endpoints”
- Add VNets and IPv4 addresses
- Save again
The change will succeed once policy evaluation completes within time.
- This error does not mean the OpenAI resource is unsupported.
- It is not caused by invalid IPs or portal UI issues.
- Azure Policy timeouts are common when policies are applied at large scopes (management group / many assignments).
The issue is caused by Azure Policy assignments blocking or delaying policy evaluation when modifying Azure OpenAI networking settings. Adjusting or excluding the relevant Azure Policy allows the firewall/VNet configuration to be saved successfully.
If the provided information is helpful please click "upvote".
If you’re still experiencing the problem or need further clarification, please feel free to share additional information so we can continue investigating and assist you further.
Thanks,
Suchitra.