Forum Discussion
cosmos_vnet_blocked error with BYO standard agent setup
Hi!
We've tried deploying the standard agent setup using terraform as described in the https://learn.microsoft.com/en-us/azure/ai-foundry/agents/how-to/virtual-networks?view=foundry-classic and using the terraform sample available https://github.com/azure-ai-foundry/foundry-samples/tree/main/infrastructure/infrastructure-setup-terraform/15a-private-network-standard-agent-setup/code as a basis to give the necessary support in our codebase. However we keep getting the following error:
cosmos_vnet_blocked: Access to Cosmos DB is blocked due to VNET configuration. Please check your network settings and make sure CosmosDB is public network enabled, if this is a public standard agent setup.
Has anyone experienced this error?
2 Replies
- peter_31415Copper Contributor
One thing missing in the initial post is that we get the error when we try to deploy an agent either through the REST API or using the AI Foundry Portal.
- peter_31415Copper Contributor
An additional information is that, despite the error, we can see the agent database (enterprise_memory) and containers (*-agent-entity-store, *-system-thread-message-store, *-thread-message-store) are successfully created.