Exchange Server 2019 Protocols Overview
Exchange Server 2019 Protocols Overview
Agenda
➢ New in Exchange Server 2019
➢ Exchange Protocols scope
➢ Exchange Protocols details
➢ Choice of protocol family
➢ Resources
Exchange Server 2019
Exchange Server 2019
Windows Server Core Faster and more reliable failovers Do Not Forward Meetings
New & improved search technology Simplifying connectivity Supporting EAI/IDN mail routing
Secure, Proven
Architecture
Exchange Server 2019 runs on Windows Server 2019 ONLY
Cloud Scale We made changes working with the Windows Server team to make this the most secure combination, and those
Indexes are now inside the database itself – in fact, inside each mailbox
Examples:
Remove-CalendarEvents -Identity “Greg Taylor" -
CancelOrganizedMeetings -QueryStartDate 11-1-2018 -
QueryWindowInDays 120
Support for the latest standards, enabling the use of non-English characters in email
Delighting addresses to be routed and delivered natively
End Users This means you can send and receive to/from external users with EAI addresses – but
you can’t add an EAI proxy or Accepted Domain to your mailbox yet
Cloud (M365)
Apps
E E
On Prem (Exchange Server
Exchange 2019)
W A
S On Prem S
MAPI
MS Clients
Client communication with Exchange Server
EAS Storage
EWS
ROPs
M
A NSPI
P
I MAPIHTTP
POP/IMAP
SMTP
There is more to Exchange then email
Calendars Recurring meetings, cross time zone scheduling
Availability – both attendees and conference rooms
Tasks One-time or recurring
Tracking Due Date and Assignment
Contacts Multiple Contacts Folders, Suggested Contacts
Address book for mobile devices
Reminders For Calendars, Tasks, Emails
Notifications Server notifies Client that mailbox changed (new mail, etc.)
Push or Pull
There is even more to Exchange then email
Rules Server Side and Client Side
Applied on messages on arrival, even when client is not connected
Out of Internal and External recipients can get different OOF messages
Office Time restrictions
Mail Tips Show user that recipient is Out of Office
Warning that mail includes very large DL, etc.
Compliance Legal Search (eDiscovery)
Legal Hold
Archiving Separate Archive for old emails, accessible by client
Retention policies set per folder
And so on... Delegate Access, Load Balancing. Mailbox moves, High Availability, and more.
ROP Protocols
History of terminology – what is “ROP”?
▅ Initial name: RPC protocols
• Remote Operations (ROPs) over RPC connection
• RPC is just a channel to exchange binary blobs between client and server
• This binary blob can be transmitted by other underlying protocols
• RPC over TCP or RPC over HTTPS (MS-OXCRPC)
• Pure HTTPS (MS-MAPIHTTP)
• https://github.com/OfficeDev/ews-managed-api
• https://docs.microsoft.com/en-us/exchange/client-developer/exchange-
web-services/explore-the-ews-managed-api-ews-and-web-services-in-
exchange
EWS Summary
▅ Recommended protocol for on-prem Exchange Server
applications
▅ Basic authentication only
• No OAUTH
▅ GRAPHAPIs is better alternative for Exchange Online
and Hybrid Exchange Server
• Modern authentication
• Seamless integration with other services (SharePoint,
OneDrive, Azure Active Directory, etc.)
• Feature updates will happen in Microsoft Graph APIs
Exchange Active Sync (EAS)
EAS Protocols
▅ Lightweight synchronization protocol for Exchange Server
• Optimized to work on high-latency and low-bandwidth networks
• Designed to minimize device power usage
▅ High level of abstraction, similar to EWS in complexity
• Provides access to email, calendar, contacts, tasks, documents,
etc...
▅ Transport Layer: WBXML over HTTPS
▅ Industry standard
• Several non-Exchange Server implementations
• Wide range of clients –iOS, Android, Windows, etc…
EAS Protocols Details
▅ Versioning
• Clearly defined version negotiation
• Version-specific features documented in open
specifications
▅ Document Naming: [MS-AS*]
• 15 Protocols; ~900 pages
▅ First Implementation: Exchange Server 2003
MS-ASPROV
MS-ASCNTC
MS-ASDOC
MS-ASCAL
MS-ASNOTE
MS-ASMS
MS-ASTASK
MS-ASCMD
MS-ASHTTP
MS-ASWBXML
MS-ASCON
MS-ASRM
MS-ASEMAIL
Where to start: EAS
MS-ASDTYPE
MS-ASAIRS
Typical Usage of Exchange ActiveSync
▅ Mobile Applications
▅ Tablets and lightweight desktop applications
• Allows for low-bandwidth and high-latency data (Internet)
connections while scaling reasonably on high-speed
connections.
▅ Additional considerations
• Not feature parity with Exchange ROPs and Web Service (EWS)
protocols
• Licensing requirements
▅ Microsoft Graph APIs is better alternative for Exchange online
Other Exchange protocols
▅ Autodiscover
▅ Content Conversion
▅ Standards-based protocols – Compliance and
Extensions
▅ [MS-OXPROTO] is a good reference
Which Protocol to use?
On-Premises choice
▅ EWS is recommended for new applications
Outlook for Mac uses EWS
▅ ROPs protocols are very complex
▅ EAS has special purpose
▅ Hybrid mode brings on-line richness to on-prem
implementations
Exchange Online has more…
▅ If you develop for Exchange Online, consider
Microsoft Graph APIs
• https://developer.microsoft.com/en-us/graph/
• https://aka.ms/30DaysMSGraph
Resources
Exchange Protocol Test Tools
▅ Protocol Test Suites
• Protocol families: EAS, EWS, and ROPs (RPC/MAPIHTTP)
▅ Fiddler Inspectors:
• Protocol families: ROPs (MAPIHTTP)
• Additional associated protocols
Exchange Protocol Resources
▅ All Exchange protocol documents
• https://docs.microsoft.com/en-us/openspecs/exchange_server_protocols
▅ Fiddler inspectors for Office and Exchange protocols
• https://github.com/OfficeDev/Office-Inspectors-for-Fiddler
▅ Protocol Test Suites
• https://github.com/OfficeDev/Interop-TestSuites
▅ Help with Open Specifications:
• mailto:[email protected]
▅ Office Interoperability blog:
• https://docs.microsoft.com/en-us/openspecs/blog/ms-offintbloglp/61fc0f77-b3e6-
4b4f-aea9-ce472fa98835