SlideShare a Scribd company logo
Page 1 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools
| Part 1#4 | Part 21#36
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
Outlook Test E-mail AutoConfiguration
| Autodiscover troubleshooting tools |
Part 1#4 | Part 21#36
In the current article, we will review one of the most useful and “strongest”
Autodiscover troubleshooting tools, Outlook client built-in tool named: Test E-mail
AutoConfiguration.
Autodiscover Troubleshooting tools | The article series
The article series include the following articles:
Page 2 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools
| Part 1#4 | Part 21#36
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
1. Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools
| Part 1#4 | Part 21#36
2. Microsoft Remote Connectivity Analyzer (ExRCA) | Autodiscover
troubleshooting tools | Part 2#4 | Part 22#36
3. Microsoft Connectivity Analyzer (MCA) | Autodiscover troubleshooting tools |
Part 3#4 | Part 23#36
4. Using Fiddler for Autodiscover troubleshooting scenarios | Part 4#4 | Part
24#36
Q: What is the purpose of the Outlook Test E-mail AutoConfiguration tool?
A: The Outlook Test E-mail AutoConfiguration tool, enable us to view the “behind
the scene” of the Autodiscover process.
By using the option of- “Test E-mail AutoConfiguration”, we can get a clear view of
1. The methods that the Autodiscover client (Outlook) use such as LDAP query,
DNS query by using Root domain name and so on
2. The content of the Exchange server Autodiscover response that includes
different type of information such as – information about the available
Exchange web services URL addresses and more.
Outlook Test E-mail AutoConfiguration tool | charters
advantages and disadvantages
Advantages
The Outlook Test E-mail AutoConfiguration tool, have two main prominent
advantages:
1. Outlook built-in tool
The Test E-mail AutoConfiguration is part of the Outlook client meaning, there is no
need to download dedicated tools or access an external website (such as in the
ExRCA scenario).
All we need to do is just – on the click on the Outlook icon on the bottom taskbar
while we press the CTRL key on the keyboard. I have no idea for the mandatory
Page 3 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools
| Part 1#4 | Part 21#36
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
requirement of pressing the CTRL key because, if we wouldn’t press the CTRL key,
the option of Test E-mail AutoConfiguration will not appear.
2. Inspect Autodiscover session in Active Directory environment and a non-Active
Directory environment
This is the charter, which distinguishes the Outlook Test E-mail
AutoConfiguration from the rest of the Autodiscover troubleshooting tools.
As far as I know, the only tool that enables us to inspect the Autodiscover process in
an Active Directory environment is – the Outlook Test E-mail AutoConfiguration.
All the rest of the Microsoft Autodiscover troubleshooting tools that we will review
in the next articles such as – the ExRCA (Exchange Remote Connectivity
Analyzer) and MCA (Microsoft Connectivity Analyzer) are built for analyzing the
Autodiscover process that is implemented in a non-Active Directory environment.
Disadvantages
1. Non-complete description of the Autodiscover process
The results are, the output that we get from Outlook Test E-mail
AutoConfiguration tool doesn’t include the complete information about all the
steps that were involved in the Autodiscover flow.
Page 4 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools
| Part 1#4 | Part 21#36
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
For example, we cannot see “Autodiscover flow” in which the Autodiscover client
addresses the local Active Directory by using an LDAP query or the flow in which the
Autodiscover client address the DNS server – we cannot see to which DNS server
the Outlook client access, what was the IP address that was returned by the DNS
server to the Outlook client etc.
2. The chicken and the egg syndrome
One of the most popular scenarios in which we would need to use the Outlook
Test E-mail AutoConfiguration toll is the scenario, which can be described as –
“cannot create a new Outlook mail profile”.
In this case, we would like to analyze the Autodiscover workflow so, we would be
able to find the cause of the problem that prevents us from completing the task of-
“cannot create a new Outlook mail profile”.
The funny thing is that in this scenario, the option of – Outlook Test E-mail
AutoConfigurationtool is not available for use because, we don’t have an Outlook
mail profile.
In the section Tip – Outlook Test E-mail AutoConfiguration , creating a demo
Outlook profile we will review a little trick that will help us to overcome this
limitation.
Page 5 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools
| Part 1#4 | Part 21#36
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
Scenario + infrastructure configuration
To demonstrate the use of Outlook Test E-mail AutoConfiguration option, we will
base our test of the following scenario:
We want to be able to get a look at the Autodiscover flow that is implemented
between the Autodiscover client (Outlook client in our scenario) and Autodiscover
Endpoint (Exchange CAS server).
The organization mail infrastructure details are:
 On-Premise Active Directory domain name –o365info.local
 Organization public domain name – o365info.com
 Exchange On-Premise servers – the organization Exchange environment includes
three Exchange CAS servers. The FQDN of these servers is
– o365info.local, ex02.o365info.local and sts.o365info.local
Page 6 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools
| Part 1#4 | Part 21#36
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
In our scenario, we will like to check the Autodiscover process of a user named John
that uses the E-mail address- john@o365info.com
The desktop that we use for performing the Outlook Test E-mail
AutoConfiguration is a domain member is located at the company internal
network.
Using the option of Outlook Test E-mail
AutoConfiguration
To be able to use the option of Test E-mail AutoConfiguration, use the following
instructions:
 On the right bottom of the task bar, click on the small arrow
Page 7 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools
| Part 1#4 | Part 21#36
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
 Choose the CTRL Key
 Click on the Outlook icon
 Choose the option of Test E-mail AutoConfiguration….
 Type the email address of the recipient, which we want to check his ability to
access the Autodiscover services
 Type the recipient password (number 1 in the screenshot)
 Un-check the option of – Use Guessmart
 Un-check the option of – secure Guessmart Authentication (number 2 in the
screenshot)
 Click on the Test option
Note – the option of the Guessmart is an old method that is not used anymore.
For my opinion, this option should have been removed a long time ago, but at the
Page 8 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools
| Part 1#4 | Part 21#36
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
current time, it’s important to uncheck this option to avoid a “mess” of the test
results.
Analyzing the test results of the Outlook Test E-mail
AutoConfiguration
The result of the Outlook Test E-mail AutoConfiguration is displayed using three
different tabs.
Just a quick reminder, in our scenario, the Desktop from which we execute the
Outlook
Test E-mail AutoConfiguration is a domain joined desktop.
The meaning is that – Outlook client will start with an Autodiscover method that
should be implemented in an “Active Directory based environment”
Log tab
The Log tab “tell us” what was the Autodiscover method that was used by the
Autodiscover client (Outlook) for finding the required Autodiscover Endpoint
(Exchange CAS On-Premise server).
In our scenario, Outlook finds the required Exchange servers list by sending an
LDAP query to local Active Directory.
The method is described as SCP (number 2).
The Autodiscover address the Autodiscover Endpoint by using the following URL –
https://autodiscover.o365info.com/Autodiscover/Autodiscover.xml
In the Log result (number 2), we can see that the “mission complete successfully”
meaning that
 Outlook managed to locate a local Exchange CAS server
 Outlook managed to address the Exchange server
 Outlook managed to complete all of the required steps such as authentication
Page 9 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools
| Part 1#4 | Part 21#36
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
 The Exchange server sends to the Autodiscover client the required information
(the Autodiscover.xml file).
Results Tab
The result tab includes information about the “Exchange services” that are available
for the Exchange client.
1. Exchange availability services (number 1)
The Exchange Availability services (FreeBusy time) are provided by Exchange server
named –mail.o365info.com and, the URL address for accessing this service is –
https://mail.o365info.com/EWS/Exchange.asmx
2. Automatic reply or OOF (Out Of Office)
The Exchange service is provided by Exchange server named
– ex02.o365info.local and, the URL for accessing this service is –
https://mail.o365info.com/EWS/Exchange.asmx
Page 10 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting
tools | Part 1#4 | Part 21#36
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
Note – at first glance is look like a mistake, because the OOF URL is identical to the
Exchange Availability services. The reason for the “identical URL” is that Exchange
uses the EWS (Exchange Web Services) URL as a “focal point” for providing a couple
of services such as: Availability serviced (FreeBusy time) services, OOO, Mail tips
and so on.
3. Unified message
Anther capability of Exchange server is to provide the services of – Unified
messaging.
We can see the URL that the client will need to use in case that he needs to use
unified messaging.
Page 11 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting
tools | Part 1#4 | Part 21#36
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
On the next “section” we can see the Exchange server setting that was sent to the
Outlook client that required for the configuring the Outlook Anywhere settings.
The feature of “Outlook Anywhere”, enable the Outlook client to get access to
“internal Exchange services” when the client is located on a public network.
The “client” (Outlook) needs to have details such as:
Protocol name – in our scenario the protocol is HTTP (number 4)
Exchange server name (number 5) – usually this is the “public name” of the
Exchange server who configured as “RPC proxy server” that provides the “server
side” of the Outlook Anywhere services. In our scenario, the server name is
– mail.o365info.com
Encryption requirement (number 6) – The Outlook Anywhere service mandatory
requirement is to encrypt the communicating channel.
The encryption is implemented by using the SSL protocol
Authentication (number 7) – this is the section that describes the “Type of
Authentication”. Outlook Anywhere service is based on a mutual authentication
process, in which the Autodiscover client needs to identify the Autodiscover
Endpoint (the server will provide a public certificate) and after the identification
process successfully completed, the Autodiscover client will need to provide his
credentials to the “server”.
Certificate principal name- msstd (number 8) – the client (Outlook) that is configured
to use the Outlook Anywhere service, will look for the “server name” in the
certificate that the server sends to the Autodiscover client.
Page 12 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting
tools | Part 1#4 | Part 21#36
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
XML Tab
The XML tab includes the content of the Autodiscover response that was sent to the
Autodiscover client (Outlook).
Using the XML tab, we can see the information that was sent from the Autodiscover
Endpoint to the Autodiscover client using the Autodiscover communication
channel.
The Autodiscover response includes many details.
In our example, we will review only a sample of the information that appears in the
XML Autodiscover response.
Page 13 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting
tools | Part 1#4 | Part 21#36
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
Note- XML format is based on a concept of opening and closing tag (<tag>) that
defines the type of information and, the “information” is included between the
opening and closing tags.
1. Action tag (number 1)
In the <Action> tag, we can see that the value is – settings.
The meaning is that – the information that appears in this section, should be used
for “creating a new Outlook mail profile).
2. Type (number 2)
The <Type> tag “instruct” Outlook client about the configuration setting of a specific
Outlook provider. In the specific section, the information is relevant for the EXCH
Outlook provider.
Additional reading
 The Autodiscover Service and Outlook Providers – how does this stuff work?
Page 14 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting
tools | Part 1#4 | Part 21#36
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
Continuing our “walk” in the XML log, we can see additional parts of information.
3. AD (number 3)
Under the <AD> XML tag, we can see the name of the DC server that serves as a
“source of information” for the Exchange server list.
As mention before, in On-Premise Active Directory environment, the Autodiscover
client will try to connect to the local Active Directory and use an LDAP query asking
to available Autodiscover Endpoints (Exchange CAS servers).
In our scenario the DC name who provides the client the required information is –
DC01.o365info.local
4. Exchange web services (number 4) – this is the section that includes information
about all the available Exchange web services.
Page 15 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting
tools | Part 1#4 | Part 21#36
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
When using the XML format, a “dedicated tag” is allocated for each of the Exchange
services. For example:
 The <ASUrl> tag is used for “holding” the URL address for Exchange available
service (Free/ Busy time).
 The <EwsUrl> tag is used for “holding” the URL address of – Exchange Web
services
Saving the test results
The Outlook Test E-mail AutoConfiguration is not included by default an option for
saving the information from the test results.
In case that we want to save the content of the Autodiscover response, we can
bypass this limitation by copy the information to a Text editor such as – notepad.
Page 16 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting
tools | Part 1#4 | Part 21#36
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
In the XML tab, choose all the content by using the CTRL+ A keyboard key
combination, and then use the CTRL+ C keyboard key combination to copy the
data.
Open a notepad and paste the information.
To be able to read the information more comfortably, we will save the information
as an XML file.
Save the file name using any name whom you prefer, but it’s important to use the
.xml suffix in the file name.
In the Save as type box, use the option of – All Files
In the following screenshot, we can see an example in which we use an advanced
TXT editor such as Notepad++ for displaying the content of the XML file that we
saved in the former section.
Tip – Outlook Test E-mail AutoConfiguration , creating a
demo Outlook profile
Page 17 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting
tools | Part 1#4 | Part 21#36
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
1. The user credentials
The tool of “Outlook Test E-mail AutoConfiguration” is not depended on by the user
who is logged-in at the current time to the Outlook mail profile.
For example, in case that in the current time, the user who is logged in to the
Outlook mail profile is – Bob@o365info.com , we can use the “Outlook Test E-mail
AutoConfiguration” for testing the Autodiscover process of other recipients named
– John@o365info.com
2. Using the Outlook Test E-mail AutoConfiguration interface
In a scenario in which, for some reason, we cannot create a new Outlook mail
profile, technically; we cannot use the Outlook Test E-mail
AutoConfiguration because, the “activation” of this option, is from Outlook mail
profile (the chicken and the egg syndrome).
In this case, in case that we wantneed to use the option of –
Outlook Test E-mail AutoConfiguration, we can use a little trick.
Instead of connecting to the Exchange server using the standard Outlook protocol
such as RPC, we can bypass this challenge by creating a new POPIMAP mail profile
using “non-existing mail servers” the purpose is just to create a temporary Outlook
mail profile that will enable us to use the feature or the option of “Outlook Test E-
mail AutoConfiguration”
We will start to create a new Outlook mail profile and choose the option of “manual
settings” (Manual setup or additional server types).
Page 18 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting
tools | Part 1#4 | Part 21#36
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
On the next screen, we will choose the option of -POP or IMAP.
Page 19 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting
tools | Part 1#4 | Part 21#36
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
In the details box such as incoming mail server or E-mail address, you can put any
details that you want.
Page 20 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting
tools | Part 1#4 | Part 21#36
Written by Eyal Doron | o365info.com | Copyright © 2012-2015
The final result will be a demo Outlook mail profile that is not connected to a “real
mail server” but the option of Outlook built-in tool – the Test E-mail
AutoConfiguration.

More Related Content

PPT
IBM Performance Optimizaiton Toolkit for Rational Performance Tester
PDF
98-381 Dumps Questions
PPTX
TFS Change Management Training
PPT
Enhancements
PDF
Siebel 8.1 Certifications Question Answers
PPTX
Component interface
PPT
Siebel eScript
PPT
Less09 2 e_testermodule_8
IBM Performance Optimizaiton Toolkit for Rational Performance Tester
98-381 Dumps Questions
TFS Change Management Training
Enhancements
Siebel 8.1 Certifications Question Answers
Component interface
Siebel eScript
Less09 2 e_testermodule_8

What's hot (8)

DOCX
Microsoft 365 Audit Log Reports - M365 Learning Document
PDF
Oracle Fusion Employment Models
PPTX
What's New in ilinkONE Version 8 (June 2012)
PDF
Uploading Data Using Oracle Web ADI
PDF
Advanced Rational Performance Tester reports
DOCX
Introduction to the .NET Access Control Service
PPTX
Cloud flow designer: Salesforce.com
PDF
Creating Workflows Windows Share Point Services
Microsoft 365 Audit Log Reports - M365 Learning Document
Oracle Fusion Employment Models
What's New in ilinkONE Version 8 (June 2012)
Uploading Data Using Oracle Web ADI
Advanced Rational Performance Tester reports
Introduction to the .NET Access Control Service
Cloud flow designer: Salesforce.com
Creating Workflows Windows Share Point Services
Ad

Viewers also liked (13)

PDF
IND-2012-299 Alok Bharati Public School -Golden Hour
PPTX
IND-2012-277 St.Xavier’s High School -Zero Garbage Campaign
PPTX
Past perfect tense Nurlaela 201212500067
PPT
Introduction to Arema Connect
PDF
Comparing taxonomies for organising collections of documents presentation
PDF
Autodiscover flow in an exchange on premises environment non-active director...
PDF
IND-2012-286 Loreto School Education - Spreading Literacy
PPTX
TAM-2012-11 PUMS Pandiapuram
PPTX
Ozon
PDF
My E-mail appears as spam | The 7 major reasons | Part 5#17
PPT
Величко М.В. (2012) — Территориальные инновации, их внедрение и кадровое обе...
PDF
TAM-2012-07 R C PS Malayakulam -
PDF
PATHS at the eCult dialogue day 2013
IND-2012-299 Alok Bharati Public School -Golden Hour
IND-2012-277 St.Xavier’s High School -Zero Garbage Campaign
Past perfect tense Nurlaela 201212500067
Introduction to Arema Connect
Comparing taxonomies for organising collections of documents presentation
Autodiscover flow in an exchange on premises environment non-active director...
IND-2012-286 Loreto School Education - Spreading Literacy
TAM-2012-11 PUMS Pandiapuram
Ozon
My E-mail appears as spam | The 7 major reasons | Part 5#17
Величко М.В. (2012) — Территориальные инновации, их внедрение и кадровое обе...
TAM-2012-07 R C PS Malayakulam -
PATHS at the eCult dialogue day 2013
Ad

Similar to Outlook test e mail auto configuration autodiscover troubleshooting tools part 1#4 part 21#36 (20)

PDF
Outlook autodiscover decision process choosing the right autodiscover method ...
PDF
Autodiscover flow in an exchange on premises environment non-active director...
PDF
The autodiscover algorithm for locating the source of information part 05#36
PDF
Autodiscover flow in an office 365 environment part 3#3 part 31#36
PPTX
exchange-2013-autodiscover-overview_en.pptx
PDF
Autodiscover flow in active directory based environment part 15#36
PDF
Microsoft connectivity analyzer (mca) autodiscover troubleshooting tools pa...
PDF
Microsoft connectivity analyzer (mca) autodiscover troubleshooting tools pa...
PDF
O365con14 - migrating your e-mail to the cloud
PDF
Autodiscover flow in an exchange on premises environment non-active director...
PDF
Microsoft remote connectivity analyzer (exrca) autodiscover troubleshooting ...
PDF
Microsoft remote connectivity analyzer (ex rca) autodiscover troubleshooting...
PDF
Exchange Outlook 2007 Setup
PDF
Exchange outlook2007setup
PDF
Exchange Server 2013 and SharePoint Server 2013 Integration
PPTX
Upgrade to Exchange 2010 - San Francisco
PPT
10135 a 04
PPTX
Security and Compliance for Exchange Online in Office 365
PDF
Stage migration, exchange and autodiscover infrastructure part 1#2 part 35#36
PDF
Outlook Express
Outlook autodiscover decision process choosing the right autodiscover method ...
Autodiscover flow in an exchange on premises environment non-active director...
The autodiscover algorithm for locating the source of information part 05#36
Autodiscover flow in an office 365 environment part 3#3 part 31#36
exchange-2013-autodiscover-overview_en.pptx
Autodiscover flow in active directory based environment part 15#36
Microsoft connectivity analyzer (mca) autodiscover troubleshooting tools pa...
Microsoft connectivity analyzer (mca) autodiscover troubleshooting tools pa...
O365con14 - migrating your e-mail to the cloud
Autodiscover flow in an exchange on premises environment non-active director...
Microsoft remote connectivity analyzer (exrca) autodiscover troubleshooting ...
Microsoft remote connectivity analyzer (ex rca) autodiscover troubleshooting...
Exchange Outlook 2007 Setup
Exchange outlook2007setup
Exchange Server 2013 and SharePoint Server 2013 Integration
Upgrade to Exchange 2010 - San Francisco
10135 a 04
Security and Compliance for Exchange Online in Office 365
Stage migration, exchange and autodiscover infrastructure part 1#2 part 35#36
Outlook Express

More from Eyal Doron (20)

PPTX
How to simulate spoof e mail attack and bypass spf sender verification - 2#2
PDF
How does sender verification work how we identify spoof mail) spf, dkim dmar...
PDF
Dealing with the threat of spoof and phishing mail attacks part 6#9 | Eyal ...
PDF
Why our mail system is exposed to spoof and phishing mail attacks part 5#9 |...
PDF
What is the meaning of mail phishing attack in simple words part 4#9 | Eyal...
PDF
What is so special about spoof mail attack part 3#9 | Eyal Doron | o365info.com
PDF
What are the possible damages of phishing and spoofing mail attacks part 2#...
PDF
Dealing with a spoof mail attacks and phishing mail attacks a little story ...
PDF
Exchange In-Place eDiscovery & Hold | Introduction | 5#7
PDF
Mail migration to office 365 measure and estimate mail migration throughput...
PDF
Mail migration to office 365 factors that impact mail migration performance...
PDF
Mail migration to office 365 optimizing the mail migration throughput - par...
PDF
Mail migration to office 365 mail migration methods - part 1#4
PDF
Smtp relay in office 365 environment troubleshooting scenarios - part 4#4
PDF
Autodiscover flow in an exchange hybrid environment part 1#3 part 32#36
PDF
Outlook test e mail auto configuration autodiscover troubleshooting tools p...
PDF
Should i use a single namespace for exchange infrastructure part 1#2 part ...
PDF
Public san certificate deprecated support in the internal server name part ...
PDF
Exchange infrastructure implementing single domain namespace scheme part 2#...
PDF
Exchange clients and their public facing exchange server part 13#36
How to simulate spoof e mail attack and bypass spf sender verification - 2#2
How does sender verification work how we identify spoof mail) spf, dkim dmar...
Dealing with the threat of spoof and phishing mail attacks part 6#9 | Eyal ...
Why our mail system is exposed to spoof and phishing mail attacks part 5#9 |...
What is the meaning of mail phishing attack in simple words part 4#9 | Eyal...
What is so special about spoof mail attack part 3#9 | Eyal Doron | o365info.com
What are the possible damages of phishing and spoofing mail attacks part 2#...
Dealing with a spoof mail attacks and phishing mail attacks a little story ...
Exchange In-Place eDiscovery & Hold | Introduction | 5#7
Mail migration to office 365 measure and estimate mail migration throughput...
Mail migration to office 365 factors that impact mail migration performance...
Mail migration to office 365 optimizing the mail migration throughput - par...
Mail migration to office 365 mail migration methods - part 1#4
Smtp relay in office 365 environment troubleshooting scenarios - part 4#4
Autodiscover flow in an exchange hybrid environment part 1#3 part 32#36
Outlook test e mail auto configuration autodiscover troubleshooting tools p...
Should i use a single namespace for exchange infrastructure part 1#2 part ...
Public san certificate deprecated support in the internal server name part ...
Exchange infrastructure implementing single domain namespace scheme part 2#...
Exchange clients and their public facing exchange server part 13#36

Recently uploaded (20)

DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Machine learning based COVID-19 study performance prediction
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Empathic Computing: Creating Shared Understanding
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
A Presentation on Artificial Intelligence
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Spectral efficient network and resource selection model in 5G networks
The AUB Centre for AI in Media Proposal.docx
MYSQL Presentation for SQL database connectivity
Diabetes mellitus diagnosis method based random forest with bat algorithm
Machine learning based COVID-19 study performance prediction
Unlocking AI with Model Context Protocol (MCP)
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Digital-Transformation-Roadmap-for-Companies.pptx
Empathic Computing: Creating Shared Understanding
“AI and Expert System Decision Support & Business Intelligence Systems”
Mobile App Security Testing_ A Comprehensive Guide.pdf
Electronic commerce courselecture one. Pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Reach Out and Touch Someone: Haptics and Empathic Computing
A Presentation on Artificial Intelligence
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Spectral efficient network and resource selection model in 5G networks

Outlook test e mail auto configuration autodiscover troubleshooting tools part 1#4 part 21#36

  • 1. Page 1 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 In the current article, we will review one of the most useful and “strongest” Autodiscover troubleshooting tools, Outlook client built-in tool named: Test E-mail AutoConfiguration. Autodiscover Troubleshooting tools | The article series The article series include the following articles:
  • 2. Page 2 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 1. Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 2. Microsoft Remote Connectivity Analyzer (ExRCA) | Autodiscover troubleshooting tools | Part 2#4 | Part 22#36 3. Microsoft Connectivity Analyzer (MCA) | Autodiscover troubleshooting tools | Part 3#4 | Part 23#36 4. Using Fiddler for Autodiscover troubleshooting scenarios | Part 4#4 | Part 24#36 Q: What is the purpose of the Outlook Test E-mail AutoConfiguration tool? A: The Outlook Test E-mail AutoConfiguration tool, enable us to view the “behind the scene” of the Autodiscover process. By using the option of- “Test E-mail AutoConfiguration”, we can get a clear view of 1. The methods that the Autodiscover client (Outlook) use such as LDAP query, DNS query by using Root domain name and so on 2. The content of the Exchange server Autodiscover response that includes different type of information such as – information about the available Exchange web services URL addresses and more. Outlook Test E-mail AutoConfiguration tool | charters advantages and disadvantages Advantages The Outlook Test E-mail AutoConfiguration tool, have two main prominent advantages: 1. Outlook built-in tool The Test E-mail AutoConfiguration is part of the Outlook client meaning, there is no need to download dedicated tools or access an external website (such as in the ExRCA scenario). All we need to do is just – on the click on the Outlook icon on the bottom taskbar while we press the CTRL key on the keyboard. I have no idea for the mandatory
  • 3. Page 3 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 requirement of pressing the CTRL key because, if we wouldn’t press the CTRL key, the option of Test E-mail AutoConfiguration will not appear. 2. Inspect Autodiscover session in Active Directory environment and a non-Active Directory environment This is the charter, which distinguishes the Outlook Test E-mail AutoConfiguration from the rest of the Autodiscover troubleshooting tools. As far as I know, the only tool that enables us to inspect the Autodiscover process in an Active Directory environment is – the Outlook Test E-mail AutoConfiguration. All the rest of the Microsoft Autodiscover troubleshooting tools that we will review in the next articles such as – the ExRCA (Exchange Remote Connectivity Analyzer) and MCA (Microsoft Connectivity Analyzer) are built for analyzing the Autodiscover process that is implemented in a non-Active Directory environment. Disadvantages 1. Non-complete description of the Autodiscover process The results are, the output that we get from Outlook Test E-mail AutoConfiguration tool doesn’t include the complete information about all the steps that were involved in the Autodiscover flow.
  • 4. Page 4 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 For example, we cannot see “Autodiscover flow” in which the Autodiscover client addresses the local Active Directory by using an LDAP query or the flow in which the Autodiscover client address the DNS server – we cannot see to which DNS server the Outlook client access, what was the IP address that was returned by the DNS server to the Outlook client etc. 2. The chicken and the egg syndrome One of the most popular scenarios in which we would need to use the Outlook Test E-mail AutoConfiguration toll is the scenario, which can be described as – “cannot create a new Outlook mail profile”. In this case, we would like to analyze the Autodiscover workflow so, we would be able to find the cause of the problem that prevents us from completing the task of- “cannot create a new Outlook mail profile”. The funny thing is that in this scenario, the option of – Outlook Test E-mail AutoConfigurationtool is not available for use because, we don’t have an Outlook mail profile. In the section Tip – Outlook Test E-mail AutoConfiguration , creating a demo Outlook profile we will review a little trick that will help us to overcome this limitation.
  • 5. Page 5 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 Scenario + infrastructure configuration To demonstrate the use of Outlook Test E-mail AutoConfiguration option, we will base our test of the following scenario: We want to be able to get a look at the Autodiscover flow that is implemented between the Autodiscover client (Outlook client in our scenario) and Autodiscover Endpoint (Exchange CAS server). The organization mail infrastructure details are:  On-Premise Active Directory domain name –o365info.local  Organization public domain name – o365info.com  Exchange On-Premise servers – the organization Exchange environment includes three Exchange CAS servers. The FQDN of these servers is – o365info.local, ex02.o365info.local and sts.o365info.local
  • 6. Page 6 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 In our scenario, we will like to check the Autodiscover process of a user named John that uses the E-mail address- john@o365info.com The desktop that we use for performing the Outlook Test E-mail AutoConfiguration is a domain member is located at the company internal network. Using the option of Outlook Test E-mail AutoConfiguration To be able to use the option of Test E-mail AutoConfiguration, use the following instructions:  On the right bottom of the task bar, click on the small arrow
  • 7. Page 7 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 Written by Eyal Doron | o365info.com | Copyright © 2012-2015  Choose the CTRL Key  Click on the Outlook icon  Choose the option of Test E-mail AutoConfiguration….  Type the email address of the recipient, which we want to check his ability to access the Autodiscover services  Type the recipient password (number 1 in the screenshot)  Un-check the option of – Use Guessmart  Un-check the option of – secure Guessmart Authentication (number 2 in the screenshot)  Click on the Test option Note – the option of the Guessmart is an old method that is not used anymore. For my opinion, this option should have been removed a long time ago, but at the
  • 8. Page 8 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 current time, it’s important to uncheck this option to avoid a “mess” of the test results. Analyzing the test results of the Outlook Test E-mail AutoConfiguration The result of the Outlook Test E-mail AutoConfiguration is displayed using three different tabs. Just a quick reminder, in our scenario, the Desktop from which we execute the Outlook Test E-mail AutoConfiguration is a domain joined desktop. The meaning is that – Outlook client will start with an Autodiscover method that should be implemented in an “Active Directory based environment” Log tab The Log tab “tell us” what was the Autodiscover method that was used by the Autodiscover client (Outlook) for finding the required Autodiscover Endpoint (Exchange CAS On-Premise server). In our scenario, Outlook finds the required Exchange servers list by sending an LDAP query to local Active Directory. The method is described as SCP (number 2). The Autodiscover address the Autodiscover Endpoint by using the following URL – https://autodiscover.o365info.com/Autodiscover/Autodiscover.xml In the Log result (number 2), we can see that the “mission complete successfully” meaning that  Outlook managed to locate a local Exchange CAS server  Outlook managed to address the Exchange server  Outlook managed to complete all of the required steps such as authentication
  • 9. Page 9 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 Written by Eyal Doron | o365info.com | Copyright © 2012-2015  The Exchange server sends to the Autodiscover client the required information (the Autodiscover.xml file). Results Tab The result tab includes information about the “Exchange services” that are available for the Exchange client. 1. Exchange availability services (number 1) The Exchange Availability services (FreeBusy time) are provided by Exchange server named –mail.o365info.com and, the URL address for accessing this service is – https://mail.o365info.com/EWS/Exchange.asmx 2. Automatic reply or OOF (Out Of Office) The Exchange service is provided by Exchange server named – ex02.o365info.local and, the URL for accessing this service is – https://mail.o365info.com/EWS/Exchange.asmx
  • 10. Page 10 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 Note – at first glance is look like a mistake, because the OOF URL is identical to the Exchange Availability services. The reason for the “identical URL” is that Exchange uses the EWS (Exchange Web Services) URL as a “focal point” for providing a couple of services such as: Availability serviced (FreeBusy time) services, OOO, Mail tips and so on. 3. Unified message Anther capability of Exchange server is to provide the services of – Unified messaging. We can see the URL that the client will need to use in case that he needs to use unified messaging.
  • 11. Page 11 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 On the next “section” we can see the Exchange server setting that was sent to the Outlook client that required for the configuring the Outlook Anywhere settings. The feature of “Outlook Anywhere”, enable the Outlook client to get access to “internal Exchange services” when the client is located on a public network. The “client” (Outlook) needs to have details such as: Protocol name – in our scenario the protocol is HTTP (number 4) Exchange server name (number 5) – usually this is the “public name” of the Exchange server who configured as “RPC proxy server” that provides the “server side” of the Outlook Anywhere services. In our scenario, the server name is – mail.o365info.com Encryption requirement (number 6) – The Outlook Anywhere service mandatory requirement is to encrypt the communicating channel. The encryption is implemented by using the SSL protocol Authentication (number 7) – this is the section that describes the “Type of Authentication”. Outlook Anywhere service is based on a mutual authentication process, in which the Autodiscover client needs to identify the Autodiscover Endpoint (the server will provide a public certificate) and after the identification process successfully completed, the Autodiscover client will need to provide his credentials to the “server”. Certificate principal name- msstd (number 8) – the client (Outlook) that is configured to use the Outlook Anywhere service, will look for the “server name” in the certificate that the server sends to the Autodiscover client.
  • 12. Page 12 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 XML Tab The XML tab includes the content of the Autodiscover response that was sent to the Autodiscover client (Outlook). Using the XML tab, we can see the information that was sent from the Autodiscover Endpoint to the Autodiscover client using the Autodiscover communication channel. The Autodiscover response includes many details. In our example, we will review only a sample of the information that appears in the XML Autodiscover response.
  • 13. Page 13 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 Note- XML format is based on a concept of opening and closing tag (<tag>) that defines the type of information and, the “information” is included between the opening and closing tags. 1. Action tag (number 1) In the <Action> tag, we can see that the value is – settings. The meaning is that – the information that appears in this section, should be used for “creating a new Outlook mail profile). 2. Type (number 2) The <Type> tag “instruct” Outlook client about the configuration setting of a specific Outlook provider. In the specific section, the information is relevant for the EXCH Outlook provider. Additional reading  The Autodiscover Service and Outlook Providers – how does this stuff work?
  • 14. Page 14 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 Continuing our “walk” in the XML log, we can see additional parts of information. 3. AD (number 3) Under the <AD> XML tag, we can see the name of the DC server that serves as a “source of information” for the Exchange server list. As mention before, in On-Premise Active Directory environment, the Autodiscover client will try to connect to the local Active Directory and use an LDAP query asking to available Autodiscover Endpoints (Exchange CAS servers). In our scenario the DC name who provides the client the required information is – DC01.o365info.local 4. Exchange web services (number 4) – this is the section that includes information about all the available Exchange web services.
  • 15. Page 15 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 When using the XML format, a “dedicated tag” is allocated for each of the Exchange services. For example:  The <ASUrl> tag is used for “holding” the URL address for Exchange available service (Free/ Busy time).  The <EwsUrl> tag is used for “holding” the URL address of – Exchange Web services Saving the test results The Outlook Test E-mail AutoConfiguration is not included by default an option for saving the information from the test results. In case that we want to save the content of the Autodiscover response, we can bypass this limitation by copy the information to a Text editor such as – notepad.
  • 16. Page 16 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 In the XML tab, choose all the content by using the CTRL+ A keyboard key combination, and then use the CTRL+ C keyboard key combination to copy the data. Open a notepad and paste the information. To be able to read the information more comfortably, we will save the information as an XML file. Save the file name using any name whom you prefer, but it’s important to use the .xml suffix in the file name. In the Save as type box, use the option of – All Files In the following screenshot, we can see an example in which we use an advanced TXT editor such as Notepad++ for displaying the content of the XML file that we saved in the former section. Tip – Outlook Test E-mail AutoConfiguration , creating a demo Outlook profile
  • 17. Page 17 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 1. The user credentials The tool of “Outlook Test E-mail AutoConfiguration” is not depended on by the user who is logged-in at the current time to the Outlook mail profile. For example, in case that in the current time, the user who is logged in to the Outlook mail profile is – Bob@o365info.com , we can use the “Outlook Test E-mail AutoConfiguration” for testing the Autodiscover process of other recipients named – John@o365info.com 2. Using the Outlook Test E-mail AutoConfiguration interface In a scenario in which, for some reason, we cannot create a new Outlook mail profile, technically; we cannot use the Outlook Test E-mail AutoConfiguration because, the “activation” of this option, is from Outlook mail profile (the chicken and the egg syndrome). In this case, in case that we wantneed to use the option of – Outlook Test E-mail AutoConfiguration, we can use a little trick. Instead of connecting to the Exchange server using the standard Outlook protocol such as RPC, we can bypass this challenge by creating a new POPIMAP mail profile using “non-existing mail servers” the purpose is just to create a temporary Outlook mail profile that will enable us to use the feature or the option of “Outlook Test E- mail AutoConfiguration” We will start to create a new Outlook mail profile and choose the option of “manual settings” (Manual setup or additional server types).
  • 18. Page 18 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 On the next screen, we will choose the option of -POP or IMAP.
  • 19. Page 19 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 In the details box such as incoming mail server or E-mail address, you can put any details that you want.
  • 20. Page 20 of 20 | Outlook Test E-mail AutoConfiguration | Autodiscover troubleshooting tools | Part 1#4 | Part 21#36 Written by Eyal Doron | o365info.com | Copyright © 2012-2015 The final result will be a demo Outlook mail profile that is not connected to a “real mail server” but the option of Outlook built-in tool – the Test E-mail AutoConfiguration.