Escolar Documentos
Profissional Documentos
Cultura Documentos
In the following article, we will taste just part of the passable Exchange onPremises scenarios in an enterprise environment, so we will be able to understand
better, the way that the Autodiscover services are implemented in a multiple Active
Directory and Exchange server environments.
Note in the context of the Autodiscover infrastructure, when using the term
multiple Exchange servers, the meaning is to multiple Exchange servers who has
the CAS (Client Access Server) role.
In the Exchange infrastructure, the Exchange server who holds the CAS role is
responsible for providing the client (such as Outlook) Autodiscover services.
The method that was described in which the Autodiscover client just pick an
Exchange server name from a list, doesnt provide the need for load balancing.
The subject of implementing a load balancing solution for Exchange CAS servers
has changed radically in Exchange 2013 architecture versus Exchange 2010
architecture.
We will not get into the specific details of the load balancing and high availability
world in Exchange environment, but instead will be satisfied with a very simple
explanation.
ex01.o365info.local
NY
ex01.o365info.local
Bangkok
N/A
LA
What will acutely happen is that the Los Angles Exchange client will randomly pick
on of Exchange CAS server names from the list.
Statistically 50% of the connection requests will be pointed to the New York
Exchange CAS server (ex03.o365info.local) and the other 50% of the connection
requests will be pointed to the Bangkok Exchange CAS server (ex03.o365info.local).
The basic assumption is that we would like to avoid this scenario because, there is
no point that the Los Angles users will be connected to their mailbox via the
Bangkok Exchange CAS server who is located on the other side of the world.
The good news is that there is a solution for this problem named Site Affinity
The option of Site Affinity, enable us to mark a specific Exchange CAS server as a
preferred server for a one or more Active Directory site.
In our scenario, the New York Exchange CAS server was automatically registered as
an Exchange CAS server for the New York site.
In our scenario we will like to tell to the Los Angles Exchange client that they
should prefer the New York Exchange CAS server (ex01.o365info.local).
To implement this requirement, we can bind or attach an additional Active
Directory site name to the New York Exchange CAS server.
The implemented of this binding in which we define the New York Exchange CAS
server as a sieve that consider as prefer Exchange CAS server for Los Angles users
is implemented by editing specific Exchange values that are registered in the Active
Directory named Keyword
After completing this task, from this day forwards, each time the Exchange client
from Los Angeles site will query the Active Directory for available Exchange CAS
servers, because the New York Exchange CAS server (ex01.o365info.local) has the
Keyword that includes their site name (LA), they will prefer to connect this specific
Exchange CAS server.
Additional reading
A popular example could be Office 365 users whom his mailbox is hosted in
Exchange Online.
The organization uses an Exchange on-Premises infrastructure, but, in our scenario,
the specific user needs to connect to the external Exchange infrastructure
(Exchange Online) and not to the Exchange on-Premises infrastructure.
Note that in our scenario, the user uses an organizations desktop, which can access
the On-Premise Active Directory.
The basic assumption of Outlook client is that the local Active Directory can
provide the required information about the Autodiscover Endpoint names (URLs if
we want to be more accurate) of the available Autodiscover Endpoints.
Technically, the Outlook client doesnt know that the mailbox that he wants to
connect is not hosted on an Exchange on-Premises server.
To make the example real, lets use the following scenario:
The Autodiscover logarithm is based on the method in which, when the first
Autodiscover Endpoint in the list cannot provide the required information, the
Autodiscover client move to the next name in the list (if such name is exist).
In our scenario, the Autodiscover Endpoint that provided by the Active Directory
include the additional name ex03.o365info.local
Outlook mail client assumes that this is the right Autodiscover Endpoint that will
provide the required Autodiscover information.
Outlook addresses the ex03.o365info.local Exchange CAS server and again, the
assumption is that Outlook will find the internal IP address of ex03.o365info.local,
manage to complete the mutual authentication process, but the process cannot be
successfully completed becauseex03.o365info.local is also not responsible or
authoritative for the domain name Ihaveaverysmallbrain.com (number 3 in the
diagram).
Phase 3- looking for the Autodiscover Endpoint by using the SMTP domain
name
This is the phase in which the Autodiscover client understands that he cannot
continue to use the Active Directory Autodiscover method.
The next Autodiscover method (which will be reviewed in details in the text articleXX) is implemented by extracting the SMTP domain name from the recipient Email address and connect a DNS server looking for the IP address of the Host
name
In our scenario, Outlook will extract the domain name
Ihaveaverysmallbrain.com and ask for a DNS server the IP of this domain.
In case that the DNS server has an IP address that is mapped to the domain name,
the DNS server provides to the client (Outlook) the IP address (number 4 in the
diagram).
Outlook client will query the DNS server. Given that all the required configurations
were applied in advance, the DNS will provide an answer that includes the IP
address of the Exchange Online infrastructure.
The Autodiscover client can complete the process with the external Exchange CAS
server.
Outlook client will address Exchange Online, complete the process of mutual
authentication and send a request for Autodiscover information.
Exchange Online sends to Outlook (the Autodiscover client) the required
Autodiscover information.
The outlook client uses the information that is included in the Autodiscover.xml file
for building a new Outlook mail profile and enables the user to connect to his
remote or external Exchange Online mailbox.