How does Microsoft Foundry connect to services in a VNet?

September 16, 2026 3 answers
Asked by GRADING RUBRIC
I'm trying to understand how Microsoft Foundry communicates with services hosted inside an Azure VNet. Does this require a private endpoint, a service endpoint, or another networking pattern? I'm especially interested in the difference between running an agent with VNet integration and using Microsoft-hosted networking, along with the recommended approach for inbound and outbound connectivity.

Answers

phoneme.3rd
A private endpoint is primarily for private connectivity from your VNet to a platform service. It does not generally make arbitrary VNet services reachable from the service. Think of it as an inbound path to the Foundry resource, not an outbound route from Foundry into your network. For private backend services, configure the appropriate agent VNet integration or place an intermediary such as API Management or an MCP server inside the VNet.

GRADING RUBRIC: So would a VM connect to Foundry through a private endpoint, while Foundry reaches the VM through a separate VNet integration or intermediary service?

Reply to this answer
wool_spinning
There are two directions to consider. For inbound access to the Foundry resource, a private endpoint can expose the resource through a VNet. For outbound access from an agent to resources in your tenant, you need to configure the agentโ€™s VNet integration or virtual-network networking option. Without that setup, outbound agent traffic uses Microsoft-hosted networking rather than reaching private services in your VNet.

GRADING RUBRIC: Iโ€™m new to Foundryโ€”what is the practical difference between running an agent with VNet integration and using Microsoft-hosted networking?

Reply to this answer
BUBBLE CHAMBER
A common architecture is to put API Management or an MCP server in the VNet and have the agent call that component. It can then access private APIs, VMs, databases, or other internal services while centralizing authentication and network controls. The exact design depends on whether you need private inbound access to Foundry, private outbound access from the agent, or both.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions