Free tech learning for everyone, from basics to pro

SD-WANNetworking SecurityIntermediate

SaaS optimisation with SD-WAN: getting Microsoft 365, Zoom and Salesforce onto the best path

In short: Most business applications now live in SaaS, yet many WANs still send internet traffic back to a central data centre. SD-WAN can measure the quality of each SaaS service through every available exit and send traffic to the best one, often directly from the branch. Local DNS and local egress let SaaS providers connect users to their nearest front door.

The backhaul problem

A branch in one city sends all internet traffic over the WAN to a data centre in another country, where a firewall inspects it before it reaches Microsoft 365. Teams calls travel twice the distance, compete with everyone else's traffic and suffer. Since many SaaS providers have points of presence close to users, the shortest path is often from the branch itself.

Reaching SaaS from a branchBackhaul to data centreExtra distanceHub internet congestionCentral inspectionPoor user experienceOptimised SaaS pathLocal or regional exitBest path measuredCloud security serviceFaster applications
Figure 1. Steering SaaS traffic to the best nearby exit improves speed while keeping security.

Measuring SaaS performance

SD-WAN platforms send probes (for example HTTP requests) to SaaS services through each local internet link and through the hubs. They calculate a quality score and send each application through the best exit, updating as conditions change. Cisco calls this Cloud OnRamp for SaaS; other vendors use SaaS probes or performance SLA health checks.

Exit options

  • Direct internet access (DIA) from the branch: lowest latency, needs local security.
  • Regional hub or gateway: fewer exits to secure, still closer than a distant data centre.
  • Cloud security service: branch tunnels to a nearby SSE point of presence that inspects and forwards traffic.

Microsoft 365 principles

Microsoft recommends identifying its "Optimize" category endpoints, sending them directly to the internet from the user's location, using local DNS so users reach the nearest front door, and avoiding proxies and TLS inspection for those endpoints. Microsoft publishes the endpoint lists through a web service, which many SD-WAN platforms import automatically.

DNS and egress location

SaaS providers use the DNS resolver's location to choose the nearest server. If branches use a resolver in a distant data centre, they are sent to distant servers even when breaking out locally. Use local or nearby resolvers for SaaS domains.

Security when breaking out locally

Direct access must still follow policy: branch firewall features, a cloud security service, or both. Allow only trusted SaaS directly if your risk policy requires central inspection for general web traffic.

Real-world example: Teams from Dubai

A company's Middle East offices sent all traffic to a European data centre. Teams calls had 180 ms latency. Enabling local breakout for Microsoft 365 Optimize endpoints, with local DNS, cut latency to under 30 ms and removed most call quality complaints, while other web traffic still went through the cloud security service.

Practice

Why does backhauling SaaS traffic to a data centre hurt performance?
It adds distance and congestion and sends users to distant SaaS servers.
How does SD-WAN choose the best exit for a SaaS application?
It probes the service through each available exit, scores quality and steers traffic to the best one.
Why does DNS resolver location matter for SaaS?
Providers use the resolver's location to choose the nearest server or front door.

Key takeaways

  • Backhauling SaaS traffic adds distance, congestion and poor experience.
  • SD-WAN measures SaaS quality through each exit and steers to the best.
  • Use local DNS and local or regional breakout for trusted SaaS.
  • Keep security with branch firewalls or cloud security services.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: