Using ExpressRoute for routing Microsoft 365 traffic
An ExpressRoute circuit provides private connectivity to the Microsoft backbone network.
- It offers Private peering to connect to private endpoints of your IaaS deployment in Azure regions.
- Also, it offers Microsoft peering to connect to public endpoints of IaaS, PaaS, and SaaS services in the Microsoft network.
For more information about ExpressRoute, see the Introduction to ExpressRoute article.
Often time there's confusion about whether or not ExpressRoute can be used for routing Microsoft 365 SaaS traffic. ExpressRoute offers Microsoft peering, which allows you to access most public endpoints in the Microsoft network. With the use of a Route Filter, you can select Microsoft 365 service prefixes that you want to advertise over Microsoft peering to your on-premises network. These routes enable routing Microsoft 365 service traffic over the ExpressRoute circuit.
In this article, you learn about when it's necessary to use ExpressRoute to route Microsoft 365 traffic.
Network requirements of Microsoft 365 traffic
Microsoft 365 services often include real-time traffic such as voice & video calls, online meetings, and real-time collaboration. This real-time traffic has stringent network performance requirements in terms of latency and jitter. Within certain limits of network latency, jitter can be effectively handled by using a buffer at the client device. Network latency is a function of physical distance traffic need to travel, the link bandwidth, and the network processing latency.
Network optimization features of Microsoft 365
Microsoft strives to optimize network performance of all the cloud applications both in terms of architecture and features. To start, Microsoft owns one of the largest global networks, which is optimized to achieve the core objective of offering the best network performance. Microsoft's network is software defined, and uses a method called "cold potato" routing. In a "cold potato" traffic ingress and egress as close as possible to client-device/customer-network. Microsoft's network is designed with redundancy and is highly available. For more information about architecture optimization, see How Microsoft builds its fast and reliable global network.
To address the stringent network latency requirements, Microsoft 365 shortens route length by:
- Dynamically routing the end-user connection to the nearest Microsoft 365 entry point.
- From the entry point, traffic is efficiently routed within the Microsoft's global network to the nearest Microsoft 365 data center.
Microsoft 365 entry points get serviced by Azure Front Door. Azure Front Door is a widely distributed service present at Microsoft global edge network that creates a fast, secure, and highly scalable SaaS applications. For more information about how Azure Front Door accelerates web application performance, see What is Azure Front Door?. When selecting the nearest Microsoft 365 data center, Microsoft takes into consideration data sovereignty regulations within the geo-political region.
What is geo-pinning connections?
When you force a client-server to pass traffic through certain network device(s) located in a geographical location that is referred to as geo-pinning the network connection. In a traditional network architecture, the underlying design principle is that the clients-servers are statically located which commonly geo-pins connections.
For example, when you force your enterprise Internet connections to traverse through your corporate network. The egress is from a central location, typically via a set of proxy-servers or firewalls, you're geo-pinning the Internet connections. Another example of geo-pinning is when you have a SaaS application architecture that you force traffic through an intermediate datacenter in a region or using one or more intermediate network devices.
When is ExpressRoute not appropriate for Microsoft 365?
Microsoft 365 has the ability to dynamically shorten the route length and dynamically choose the closest server datacenter depending on the location of the clients. Microsoft 365 is said to be designed for the Internet. Some Microsoft 365 traffic can only be routed through the Internet. When you have your SaaS clients widely distributed across a region or globally, and you're geo-pinning the connections to a particular location then you're forcing your clients further away from the geo-pined location to experience higher network latency. The higher network latency can result in suboptimal network performance and poor application performance.
Therefore, in scenarios where you have widely distributed SaaS clients or clients that are mostly mobile, you don't want to geo-pin connections by any means including forcing the traffic through an ExpressRoute circuit in a specific peering location.
When to use ExpressRoute for Microsoft 365?
The following are some of the reasons why you may want to use ExpressRoute for routing Microsoft 365 traffic:
- Your SaaS clients are concentrated in a geo-location and the most optimal way to connect to Microsoft global network is using ExpressRoute.
- Your SaaS clients are concentrated in multiple global locations and each location has its own ExpressRoute connection that provides optimal connectivity to Microsoft's global network.
- You're required by law to route cloud-bound traffic with a private connection.
- You're required to route all the SaaS traffic to a geo-pinned centralized location whether it be a private or a public datacenter. The only optimal way to connect the centralized location to the Microsoft global network is by using ExpressRoute.
- For some of your static SaaS clients only ExpressRoute can provide optimal connectivity, while for the other clients they can use the Internet.
When you're using ExpressRoute, you can apply a route filter to Microsoft peering to only advertise a subset of Microsoft 365 services and/or Azure PaaS services prefixes over the ExpressRoute circuit. For more information, see Tutorial: Configure route filters for Microsoft peering.
- To understand how Microsoft Teams calls flow and how to optimize the network connectivity in different scenarios including while using Express Route for best results, see Microsoft Teams call flows.
- If you want to test to understand Microsoft 365 connectivity issues for individual office locations, see Microsoft 365 network connectivity test.
- To establish baseline and performance history to help detect emerging issues of Microsoft 365 performance, see Office 365 performance tuning using baselines and performance history.