Call quality and networking
Planning and deployment

Prepare Network

In brief

The network preparation guidance now states that Teams clients, including in some VDI environments, might send media to UDP ports 49152–53247. Blocking these ports can cause media setup failures.

What Teams admins need to know

Review firewall rules and allow the specified UDP traffic from Teams clients where required.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

ms.service: msteams ms.subservice: msteams-admin ms.reviewer: snchatur ms.date: 2026-05-26T00:10-28T00:00:00.0000000Z audience: admin description: Learn about preparing your organization's network for Microsoft Teams, including network requirements, network optimization, and bandwidth requirements. ms.localizationpriority: high | Network planner | For help with assessing your network, including bandwidth calculations and network requirements across your org's physical locations, check out the Network Planner tool, in the Teams admin center. When you provide your network details and Teams usage, the Network Planner calculates your network requirements for deploying Teams and cloud voice across your organization's physical locations.

For an example scenario, see Using Network Planner - example scenario. | | Advisor for Teams | Advisor for Teams is part of the Teams admin center. It assesses your Microsoft 365 or Office 365 environment and identifies the most common configurations that you might need to update or modify before you can successfully roll out Teams. | | External Name Resolution | Be sure that all computers running the Teams client can resolve external DNS queries to discover the services provided by Microsoft 365 or Office 365 and that your firewalls aren't preventing access. For information about configuring firewall ports, go to Microsoft 365 and Office 365 URLs and IP ranges. | | High-port usage | Teams media prefers UDP ports 3478-3481. In some environments, such as virtual desktop infrastructure (VDI), Teams clients might also send media to UDP ports 49152-53247. If these ports are blocked, media setup can fail, so allow UDP traffic from Teams clients to destination ports 49152-53247. Direct Routing also uses high ports; for details, see Plan Direct Routing. | | Maintain session persistence | Make sure your firewall doesn't change the mapped Network Address Translation (NAT) addresses or ports for UDP. | | Validate NAT pool size | Validate the network address translation (NAT) pool size required for user connectivity. When multiple users and devices access Microsoft 365 or Office 365 using Network Address Translation (NAT) or Port Address Translation (PAT), you need to ensure that the devices hidden behind each publicly routable IP address don't exceed the supported number. Ensure that adequate public IP addresses are assigned to the NAT pools to prevent port exhaustion. Port exhaustion contributes to internal users and devices being unable to connect to the Microsoft 365 or Office 365 service. | | Routing to Microsoft data centers | Implement the most efficient routing to Microsoft data centers. Identify locations that can use local or regional egress points to connect to the Microsoft network as efficiently as possible. |