DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
Redmond desk5 min

Microsoft Foundry Agent Subnet Sizing: Plan for Shared Capacity and Rollouts

Microsoft recommends a /24 starting subnet for production BYO VNet deployments, but account-wide demand, components, rollout headroom, and regional quotas determine practical capacity.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a production Microsoft Foundry Agent Service deployment using a customer-managed virtual network, Microsoft recommends starting with a /24 agent subnet. Treat that as a planning baseline, not a concurrency guarantee: subnet capacity is shared across projects in the Foundry account, hosted-agent sessions and project components consume addresses, and your regional session quota may be lower than the subnet’s capacity.

Plan for peak account-wide demand, keep expected subnet utilization below 80%, and leave room for temporary capacity needs during rollouts and maintenance. A /27 is the documented minimum, but its limited headroom makes it a poor default for production planning.

As an Amazon Associate I earn from qualifying purchases.

Choose the networking model before assigning address space

The account networking choice affects its projects, so decide whether your team will manage the network before finalizing a subnet size. The options differ in who owns address planning and network operations.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Option Network and address ownership When it may fit
Public egress Outbound traffic remains public. A private endpoint can restrict inbound access. Isolation is not required, or private inbound access is sufficient.
Bring your own VNet (BYO VNet) Your team controls address ranges, routing, peering, and firewall rules. You need integration with a network your organization manages and can plan for dedicated subnets, DNS, and dependencies.
Managed VNet Microsoft manages the network boundary; managed private endpoints are abstracted from your VNet resources. You want isolation without managing your own address ranges, or overlapping address space makes BYO VNet difficult.

Managed networking modes and supported regions can change. Check Microsoft’s current requirements for the intended deployment, and confirm that the tools your agents need work with the selected isolation model.

Which agents and components use subnet addresses?

For BYO VNet, subnet capacity is an account-level concern, not a separate pool reserved for each project. Include projects across the Foundry account when estimating demand.

  • Hosted agents: Hosted-agent sessions consume subnet addresses. Plan around peak concurrent sessions across the account, rather than counting only one project or the number of agent definitions.
  • Project-level components: These also consume addresses and reduce the capacity available for sessions.
  • Prompt agents: They use a small static pool rather than taking one subnet address for every revision. Their address use therefore differs from hosted-agent session use.

Microsoft Learn describes a default one-to-one mapping between usable subnet IPs and concurrent sessions, subject to regional limits. Because project components and operational events also need capacity, the mapping should not be treated as a promise of usable session capacity.

What the approximate subnet figures do—and do not—tell you

Microsoft Learn’s networking deep dive gives the following approximate concurrent-session capacities under the default mapping. These are illustrations, not production targets or guaranteed limits.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Subnet size Approximate concurrent sessions
/27 20
/26 50
/25 100
/24 250
/23 500
/22 1,000
/21 2,000

The same guidance recommends a /24 starting point for production and identifies /27 as the minimum. It also advises keeping subnet utilization below 80%. The approximate /24 figure of 250 sessions is therefore not a recommendation to run 250 sessions in production: project components and headroom consume capacity, while the regional quota can impose a lower session ceiling.

Project count is not a reliable substitute for session demand. Microsoft’s deep dive gives an illustration of about 250 projects at low traffic, potentially falling to about 25 under heavy traffic, depending on IP availability. Those figures are context-dependent estimates, not project limits.

How to size for account-wide peak demand

  1. Estimate simultaneous hosted-agent sessions. Combine expected peak concurrency across all projects in the Foundry account for the relevant region. Use anticipated demand, not an average or a per-project estimate.
  2. Check the regional session quota. Compare the intended workload with the applicable subscription and regional limit. A larger subnet adds address capacity; it does not itself raise that quota.
  3. Allow for components and operations. Account for project-level components and keep expected utilization below Microsoft’s 80% guidance. Leave additional room for rollouts, scaling, and maintenance, when old and new infrastructure may run in parallel.
  4. Select a subnet with headroom. Use Microsoft’s approximate mapping as a planning illustration, then check it against your workload, the account’s other projects, and the regional quota. For production, Microsoft’s /24 starting recommendation is more useful than treating the /27 minimum as a target.
  5. Revisit the plan when demand changes. New projects, higher peak concurrency, or changes to deployment patterns can consume the headroom that made the original allocation workable.

If the regional quota is too low, Microsoft’s guidance is to request a limit increase; availability depends on regional capacity. If expected concurrency exceeds available subnet IP capacity and the subnet cannot be expanded, the deep dive also describes asking support about a higher IP-to-session mapping. Neither path should be assumed to be available without confirmation.

BYO VNet checks before deployment

Subnet size is only one part of the network design. Microsoft’s setup guidance identifies several dependencies that can block deployment or agent connectivity.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Reserve a dedicated agent subnet and delegate it to Microsoft.App/environments for the applicable BYO setup.
  • Leave separate address space for private endpoints, and avoid ranges that overlap with peered networks.
  • Set up private DNS for dependent private resources and configure outbound rules for required dependencies. Microsoft specifically calls out AzureActiveDirectory for Microsoft Entra authentication.
  • Verify the allowed address ranges for the exact deployment path. Microsoft’s FAQ and networking deep dive describe RFC 1918 ranges for the delegated subnet, while the networking-options page also mentions RFC 6598/CGNAT space with exclusions. That documentation does not establish CGNAT support for every deployment path, so confirm the current requirement before allocating it.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How to spot and respond to capacity trouble

Subnet exhaustion can prevent new projects or compute from provisioning. It may also appear as data proxy HTTP 500 errors. Microsoft says it does not proactively warn when IP capacity is running low, and the portal has no direct IP monitoring, so do not rely on an automatic low-capacity alert.

  1. Record the symptom and scope. Note whether the failure affects new project or compute provisioning, data proxy requests, or both, and which projects and deployments are involved.
  2. Review the account-level capacity plan. Reconcile current projects and expected peak hosted-agent sessions against available subnet capacity, including the room reserved for components and operational events.
  3. Check the regional quota separately. If the quota is the limiting factor, pursue a limit increase; adding subnet addresses alone will not change it.
  4. Use the documented support path when address capacity is the constraint. If the subnet cannot be expanded and session demand exceeds available IP capacity, ask support whether a higher IP-to-session mapping is possible.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.