In this article, we’ll walk through what happens behind the scenes when users access Outlook on the Web (OWA), set up a new Outlook profile, or connect their mobile devices via Exchange ActiveSync. All of these operations go through Exchange using HTTPS, but each one involves its own handshakes, authentication, and routing logic.

Scenarios We’re Covering

Key Exchange Components in Play

Protocols & Ports

How Each Scenario Works

1. Outlook on the Web (OWA)

When a user visits https://mail.domain.com/owa:

2. Outlook Profile Setup with mail.domain.com

When a user sets up Outlook and types mail.domain.com:

3. Exchange ActiveSync (Mobile Devices)

When setting up a phone or tablet:

How Exchange Knows What You’re Trying to Do

Tools You Can Use (PowerShell)

To check the configuration:

Final Summary

Scenario: OWA

What Happens: Browser → DNS → CAS → Auth → Mailbox Server

Scenario: Outlook Setup

What Happens: Outlook → Autodiscover → CAS → MAPI/HTTP

Scenario: Mobile (EAS)

What Happens: Phone → Autodiscover or EAS → CAS → Mailbox

Corrections and Notes