MSBA-232 · Lesson 2 of 12 · 17 min
Network requirements and testing
▶ Video coming soon A video version of this lesson is on the way.
Before the head office pilot began, Felix had tested the network, and he was glad he had kept the results. When complaints arrived in the first week, the first question was whether the network had changed since the tests or whether the tests had missed something. This lesson covers what Microsoft asks of a network that carries Teams media, the tools for planning and testing it, and the network settings in Teams that later make monitoring meaningful.
Microsoft's network principles
Microsoft's guidance for Teams networks rests on a few principles that apply to every Microsoft 365 service but matter most for real-time media. Traffic to Microsoft should leave the corporate network as close to the user as possible, so that it enters Microsoft's network at a nearby point of presence. It should not be sent through distant data centers, proxies that inspect traffic, or VPN tunnels unless there is no alternative. Teams media should be allowed to use UDP on the documented ports to Microsoft's media addresses. And the network should be sized so that real-time traffic is not queued behind bulk transfers.
Corvallin was in a good position. Having moved out of its file server in 2022, it was cloud-only, with each office connecting straight to the internet. There was no head office data center for branch traffic to detour through. Still, the head office firewall had been configured years earlier, and Felix wanted to confirm that it was not inspecting or slowing Teams media.
Performance targets
Microsoft publishes performance targets for two segments of the path. The first is from the Teams client to the Microsoft network edge, which is what users experience end to end. The second is from the organization's network edge, usually its internet firewall, to the Microsoft network edge, which is what the organization's internet connection and provider contribute. The second segment has stricter targets because it is only part of the journey. Felix used the client-to-edge targets as the main yardstick and the edge-to-edge segment to decide whether a problem lay inside the building or beyond it.
| Measure | Client to Microsoft edge target |
|---|---|
| Latency, one way | Under 50 milliseconds |
| Latency, round trip | Under 100 milliseconds |
| Packet loss | Under 1 percent in any 15-second interval |
| Jitter | Under 30 milliseconds in any 15-second interval |
| Packet reorder | Under 0.05 percent of packets |
Targets are not guarantees of good quality, and missing them does not guarantee bad quality. Teams copes well with modest loss and jitter. But targets give a network team something objective to measure and to hold an internet provider to.
Bandwidth
Bandwidth is the other half of readiness. Teams adjusts its use to what is available, so there is no single figure for a call, but more bandwidth allows higher quality, especially for video and screen sharing. Rough planning figures are a few tens of kilobits per second for audio, a few hundred kilobits to a couple of megabits for video, and more for high-definition video and group video layouts. The best tool for turning those figures into a plan is the Network planner.
The Network planner
The Network planner lives in the Teams admin center under Planning. It requires a Global Administrator, Teams Administrator or Teams Communications Administrator role. It helps estimate bandwidth by site, from the number of people at each site and how they use Teams.
A network plan contains sites. Each site represents a building or office and has a name, a number of network users, whether it is connected to a WAN and how much WAN capacity it has, how it reaches the internet (locally or through another site), how it reaches the PSTN, and its internet capacity. Sites that connect locally should be created before sites that connect through them. Capacity values are needed for specific recommendations.
Personas describe how groups of people use Teams. Microsoft provides three recommended personas, office workers, remote workers and Teams Rooms systems, and an administrator can add up to three custom personas. On the Reports tab, the planner distributes each site's users across personas, by default 80 percent office workers and 20 percent remote workers, and produces a table of bandwidth by activity and an overall recommendation.
Felix had built a plan in September with head office and the four branches. Head office, with about 130 people on site, needed nowhere near its 500-megabit connection. The North Branch, with 62 staff, was the only site whose result came close to its link, which in September was still a 50-megabit download and 10-megabit upload service. The planner's upload figure for peak meeting use was uncomfortably close to 10 megabits, which was one of the reasons the branch link was later upgraded to a symmetric service.
Testing with the Network Assessment Tool
Planning predicts; testing measures. The MS-721 skills outline names the Microsoft Teams Network Assessment Tool, a command-line program downloaded from the Microsoft Download Center. It runs two kinds of test from the computer it is installed on. Run without options, it checks connectivity: whether the network allows traffic to the Teams addresses and ports that media needs. Run with the quality check option, it streams packets to the nearest Teams media relay and back and reports packet loss, jitter and round-trip time over a period.
# Run from the folder where the tool was installed
# Connectivity check (no option)
.\NetworkAssessmentTool.exe
# Quality check: streams media-like packets to the nearest relay
.\NetworkAssessmentTool.exe /qualitycheck
# Results are written to text and CSV files in the user profile;
# compare loss, jitter and round-trip time with the targetsThe tool's strength is that it can run for a long time from a fixed place. Felix installed it on a spare laptop, plugged it into a second-floor east network port, and let the quality check run through a working afternoon. A short test at nine in the morning would have shown a clean network; an afternoon run showed jitter climbing after one o'clock, the same pattern the pilot calls showed. Repeated on Wi-Fi from a desk near the overloaded access point, it showed loss as well.
The Microsoft 365 network connectivity test
The Microsoft 365 network connectivity test is a browser-based tool at connectivity.office.com. A user signs in, the tool detects or asks for the office location, and it runs tests from that computer, with an advanced client that the user downloads for deeper checks. For Teams it checks whether UDP media can reach the service, and measures packet loss, latency and jitter during a short test call. Its Teams thresholds are packet loss under 1 percent, latency under 100 milliseconds and jitter under 30 milliseconds. It also shows where traffic leaves the corporate network and which Microsoft front door it reaches, which is useful for spotting detours.
Reports from the test are uploaded to the tenant and can be shared with other users in the organization or by link, and an administrator can turn sharing off in the Microsoft 365 admin center's network connectivity settings. Felix asked each branch manager to run it once from a branch desk, which gave him a baseline for every office without traveling.
A testing plan that matches reality
Testing is only useful if it matches how people work. Felix's checklist had five rules.
First, test where people sit, not from the network room. The server room is usually the best-connected place in a building. Second, test at busy times. Problems that only appear when everyone is online after lunch will not show up in an early-morning test. Third, test both Wi-Fi and wired connections, because many problems are local to wireless. Fourth, test from home and mobile connections for people who work remotely, because they are part of the service too. Fifth, write the results down with the date, because a baseline is what makes a later problem obvious.
| Tool | Runs from | Best for |
|---|---|---|
| Network planner | Teams admin center | Estimating bandwidth per site before deployment |
| Teams Network Assessment Tool | Command line on a test computer | Long quality runs and port checks from a fixed point |
| Microsoft 365 network connectivity test | Browser, with an optional client | Quick checks by local staff and spotting detours |
| Pilot calls and telemetry | Real users | Confirming that real use matches the tests |
Network configuration that monitoring depends on
Several settings in Teams describe the network to Microsoft. They matter for features such as dynamic emergency calling and location-based routing, and they also make monitoring useful, because the tools can only report quality by place if they know which subnet belongs to which place.
Network topology. In the Teams admin center under Locations, the network topology defines network regions, network sites and subnets, plus trusted IP addresses, the public addresses that the organization's networks use to reach the internet. Corvallin had created a head office network site with its subnets for dynamic emergency calling in the pilot, and planned branch sites for January 2027. Network sites are also the scope for network roaming policies.
Reporting labels. Also under Locations, reporting labels attach names such as building, floor and city to subnets, so that call analytics shows where a user was. A label is applied by uploading a file that maps subnets to locations. The MS-721 outline calls this configuring reporting labels for call analytics.
Building data for the Call Quality Dashboard. CQD uses its own uploaded building file, which also maps subnets to buildings and marks whether each subnet is inside the corporate network. Lesson 5 covers the format. Felix kept one master spreadsheet of subnets and generated both uploads from it, because two separate lists drift apart within months.
Media bit rate and network roaming policies
Two settings control how much bandwidth Teams media may use. The media bit rate setting in meeting policies limits the total bit rate for audio, video and sharing in calls and meetings for users assigned the policy. A network roaming policy, assigned to a network site rather than to users, controls whether IP video is allowed and the media bit rate for anyone connected at that site, whoever they are. Network roaming policies are useful when a small office has a constrained link: the limit applies to visitors and staff alike while they are at that site, and lifts when they leave.
After the upgrade of the North Branch link, Felix decided not to apply a roaming policy there, but he wrote a ready-made one into the branch runbook in case the link ever failed over to its backup connection, which was much smaller.
# Illustrative: a roaming policy for a small site, then link it to the site
New-CsTeamsNetworkRoamingPolicy -Identity "SmallSite-Limit" `
-AllowIPVideo $true -MediaBitRateKb 1000
Set-CsTenantNetworkSite -Identity "North-Branch" `
-NetworkRoamingPolicy "SmallSite-Limit"The head office firewall
The test results also exposed a configuration problem at head office. The Microsoft 365 connectivity test showed that UDP media reached the service, but the Network Assessment Tool's connectivity check failed for some media ports from one of the head office VLANs. The firewall had an old rule, written for a video conferencing system long since retired, that allowed only part of the range. Teams worked anyway, falling back to TCP for users on that VLAN, which explained why some pilot users' calls degraded more quickly under load. Felix corrected the rule to match Microsoft's published endpoints and ports, retested, and recorded the change.
Teodor asked why the first test had not caught it. The answer was that Felix had run the first connectivity check from his own desk, on a different VLAN. Testing where people sit applies to network segments as much as to rooms.
Home and mobile workers
About twenty of the thirty pilot users worked from home one or two days a week. Their quality depended on home internet connections that Corvallin did not control. Felix wrote a one-page guide for them: use a cable when possible, sit near the Wi-Fi router, pause large cloud uploads during calls, avoid mobile hotspots for long calls, and run the connectivity test once from home and send him the link. Two people discovered that their home routers were more than ten years old, and one found that a family member's gaming console was saturating the upload every evening.
Corvallin had no VPN for general use, so there was no question of VPN detours for Teams media. Felix noted in the guide, for future reference, that if a VPN were ever introduced, Teams media should be excluded from the tunnel with split tunneling, sending Microsoft's documented Teams media addresses directly to the internet.
Common mistakes
MistakeTesting the network from the server room at nine in the morning.
InsteadTest where people sit, at busy times, on both Wi-Fi and wired connections.
MistakeTreating a passing test as permanent proof.
InsteadKeep dated baselines and retest after network changes.
MistakeMaintaining separate subnet lists for emergency calling, reporting labels and CQD.
InsteadKeep one master list and generate each upload from it.
MistakeLeaving firewall rules that force Teams media onto TCP.
InsteadAllow UDP media to Microsoft's published addresses and ports.
Summary and key terms
- Teams media should leave the network locally, avoid inspection and VPN detours, and use UDP.
- Client-to-edge targets: under 50 milliseconds one way, under 1 percent loss and under 30 milliseconds jitter in any 15 seconds.
- The Network planner estimates bandwidth per site from users, personas and capacities.
- The Network Assessment Tool checks connectivity by default and quality with /qualitycheck.
- The Microsoft 365 network connectivity test runs in a browser and also reveals detours.
- Network topology, reporting labels and CQD building data tell the tools where users are.
- Network planner
- A Teams admin center tool that estimates bandwidth per site.
- Persona
- A profile of how a group of users uses Teams, used by the Network planner.
- Teams Network Assessment Tool
- A command-line tool that tests connectivity and media quality to Teams.
- Network site
- A named location in the Teams network topology, defined by subnets.
- Trusted IP address
- A public address that the organization uses to reach the internet.
- Reporting label
- A name for a subnet location shown in call analytics.
- Network roaming policy
- A policy, assigned to a network site, that controls video and media bit rate there.
- Split tunneling
- Sending selected traffic directly to the internet instead of through a VPN.
Practice problems
Work each problem on paper first, then reveal the answer to check.
Why should a quality test run in the afternoon as well as the morning?
Show answer
Congestion problems often appear only at busy times.
Which tool would you give branch managers to run themselves?
Show answer
The browser-based Microsoft 365 network connectivity test.
What problem did the old head office firewall rule cause?
Show answer
It blocked part of the UDP media range, so some users fell back to TCP.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.