<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Exchange-Genie &#187; Autodiscover</title>
	<atom:link href="http://www.exchange-genie.com/tag/autodiscover/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.exchange-genie.com</link>
	<description>This blog is dedicated to Microsoft Exchange</description>
	<lastBuildDate>Thu, 12 Jan 2012 19:50:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Configuring Outlook Anywhere for Exchange 2007 SP1</title>
		<link>http://www.exchange-genie.com/2008/02/configuring-outlook-anywhere-for-exchange-2007-sp1/</link>
		<comments>http://www.exchange-genie.com/2008/02/configuring-outlook-anywhere-for-exchange-2007-sp1/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 04:07:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[rpc/https]]></category>
		<category><![CDATA[Autodiscover]]></category>
		<category><![CDATA[exchange 2007]]></category>
		<category><![CDATA[Exchange 2007 SP1]]></category>
		<category><![CDATA[Outlook Anywhere]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=39</guid>
		<description><![CDATA[Updated April 22, 2008 Exchange 2007 has rebranded rpc/https which is now called Outlook Anywhere and has even made some slight modification from RTM to Exchange 2007 SP1. + http://msexchangeteam.com/archive/2007/11/08/447484.aspx When utlizing Outlook 2007 the autodiscover service is heavily tied into Outlook anywhere functionality, I am going to reference a previous posting that explains those [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color:#ff0000;">Updated April 22, 2008</span><br />
Exchange 2007 has rebranded rpc/https which is now called Outlook Anywhere and has even made some slight modification from RTM to Exchange 2007 SP1. +<br />
<a href="http://msexchangeteam.com/archive/2007/11/08/447484.aspx">http://msexchangeteam.com/archive/2007/11/08/447484.aspx</a></p>
<p>When utlizing Outlook 2007 the autodiscover service is heavily tied into Outlook anywhere functionality, I am going to reference a previous posting that explains those functions in detail.<br />
<a href="http://exchange-genie.blogspot.com/2007/07/autodiscover-ad-attribute.html">http://exchange-genie.blogspot.com/2007/07/autodiscover-ad-attribute.html</a></p>
<p>With Exchange 2007 in order to allow clients remote access to the mail system you will need to install an Exchange 2007 CAS server which will allow clients to access thier mail via Imap,Pop,OWA,Active Sync, and Rpc/https (outlook anywhere).</p>
<p>For this article I am going to skip the installation of each server role and just work with the configuration. The lab consists of 1 DC, 1 CAS/Hub and 1 MBX server running Windows 2003 and Exchange 2007 SP1.</p>
<p><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R-rtPie74OI/AAAAAAAAAr8/pgCGZ3anNmo/s1600-h/rpc_proxy.jpg"><img id="BLOGGER_PHOTO_ID_5182215172453556450" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R-rtPie74OI/AAAAAAAAAr8/pgCGZ3anNmo/s320/rpc_proxy.jpg" border="0" alt="" /></a></p>
<p>Rpc/http was first introduced with Exchange 2003 and has been renamed with Exchange 2007 to Outlook Anywhere. In order to use this functionality with Exchange we must install the RPC over HTTP Proxy networking component on a server (recommened on your Exchange server).</p>
<p>What does this network componet do for us?<br />
RpcProxy.dll is an Internet Server API (ISAPI) that runs in Internet Information Services (IIS). RpcProxy.dll listens for activity on the RPC virtual directory</p>
<p>The rpcproxy.dll requires authentication and will not pass anonymous request even if IIS is configured for anonymous authentication.</p>
<p>When an Outlook clients typicaly communicates with an Exchange server the client attempts to connect via Mapi Rpc, with Rpc/http Outlook makes a http connection to the rpc proxy server which strips the http and send the rpc request to tha appropriate Exchange server.</p>
<p><strong>Installing Rpc/http networking componet:</strong><br />
1. From the Add/Remove programs select Windows components<br />
2. Select Networking Services then details<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R89CLJxkTVI/AAAAAAAAAqk/QN7m9Zo9KrI/s1600-h/i1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174427256241802578" style="CURSOR: pointer" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R89CLJxkTVI/AAAAAAAAAqk/QN7m9Zo9KrI/s320/i1.jpg" border="0" alt="" /></a><br />
3. Select Rpc over http proxy -&gt; OK<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R89CSZxkTWI/AAAAAAAAAqs/NGjo8FIjkqA/s1600-h/i2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174427380795854178" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R89CSZxkTWI/AAAAAAAAAqs/NGjo8FIjkqA/s320/i2.jpg" border="0" alt="" /></a><br />
4. Click Next to start the installation<br />
5. Click Finish to complete the installation</p>
<p>How do we verify the installation?<br />
1. Validate you have 2 virtual directories installed called RPC and RPC with Cert<br />
The 2 new virtual directories points to C:\WINDOWS\System32\RpcProxy which is the location of the rpcproxy.dll<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89CbpxkTXI/AAAAAAAAAq0/EJFYBsu1sZg/s1600-h/v1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174427539709644146" style="width: 267px; cursor: pointer; height: 207px;" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89CbpxkTXI/AAAAAAAAAq0/EJFYBsu1sZg/s320/v1.jpg" border="0" alt="" /></a><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R89CjZxkTYI/AAAAAAAAAq8/50XPAuSMnbQ/s1600-h/v2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174427672853630338" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R89CjZxkTYI/AAAAAAAAAq8/50XPAuSMnbQ/s320/v2.jpg" border="0" alt="" /></a><br />
2. Verify the RPC Proxy server extension is allowed in IIS (this will be enabled after you install the component)<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R89Ct5xkTZI/AAAAAAAAArE/uLa2PK4wfL0/s1600-h/v3.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174427853242256786" style="CURSOR: pointer" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R89Ct5xkTZI/AAAAAAAAArE/uLa2PK4wfL0/s320/v3.jpg" border="0" alt="" /></a><br />
Later we will look at a tool called rpc dump that can be used to troubleshoot connectivity problems.</p>
<p>After we have installed our CAS server we need to enable Outlook Anywhere which can be done in 1 of two ways, 1. EMS (command line) or 2. EMC (gui)</p>
<p><strong>1. EMS</strong><br />
To work with Outlook anywhere via EMS we would use the the following set of commands Get-OutlookAnywhere,Set-OutlookAnywhere,Enable-OutlookAnywhere.</p>
<p>A. Open EMS<br />
B. Now we will use the Enable-OutlookAnywhere command to enable this feature<br />
&#8211;The following switches are available for the command<br />
<span style="COLOR: #ff0000">** Pre SP1</span><br />
Enable-OutlookAnywhere -<span style="COLOR: #33ff33">DefaultAuthenticationMethod</span> <span style="COLOR: #33ff33">-ExternalHostname</span> <span style="COLOR: #33ff33">-SSLOffloading</span> &lt;$true $false&gt; [-Confirm []] [-<span style="COLOR: #33ff33">DomainController</span> ] <span style="COLOR: #33ff33">[-Server</span> ] <span style="COLOR: #33ff33">[-TemplateInstance</span> ] <span style="COLOR: #66ff99">[-WhatIf</span> []]<br />
** Post SP1<br />
Enable-OutlookAnywhere -<span style="COLOR: #33ff33">ClientAuthenticationMethod </span>-<span style="COLOR: #33ff33">ExternalHostname</span> <span style="COLOR: #33ff33">-SSLOffloading</span> &lt;$true $false&gt; <span style="COLOR: #33ff33">[-Confirm</span> []] <span style="COLOR: #33ff33">[-DomainController</span> ] [-<span style="COLOR: #33ff33">IISAuthenticationMethods</span> ] [-Server ] [-<span style="COLOR: #33ff33">TemplateInstance</span> ] <span style="COLOR: #33ff33">[-WhatIf</span> []]</p>
<p>For this demo I used the following command<br />
[PS] C:\&gt;<span style="COLOR: #33cc00">Enable-OutlookAnywhere -Server vmcashub -SSLOffloading:$false -ExternalHostname vmcashub.vn.local -ClientAuthenticationMethod basic -IISAuthenticationMethods basic<br />
</span><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89C3pxkTaI/AAAAAAAAArM/h_ycvdAmSk0/s1600-h/ems-en1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174428020745981346" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89C3pxkTaI/AAAAAAAAArM/h_ycvdAmSk0/s320/ems-en1.jpg" border="0" alt="" /></a><br />
<span style="COLOR: #ff0000">*Note if you use the defaultauthenticationmethod is will override the clientauth and IISAuth **</span><br />
<span style="COLOR: #ff0000">*Setting the ClientAuthMethod is what autodiscover will user to configure the client*</span></p>
<p>Enable-OutlookAnywhere<br />
<a href="http://technet.microsoft.com/en-us/library/bb124993%28EXCHG.80%29.aspx">http://technet.microsoft.com/en-us/library/bb124993%28EXCHG.80%29.aspx</a></p>
<p>We can ouse the Get-OutlookAnywhere command to view our configuration<br />
Get-OutlookAnywhere<br />
<a href="http://technet.microsoft.com/en-us/library/bb124263%28EXCHG.80%29.aspx">http://technet.microsoft.com/en-us/library/bb124263%28EXCHG.80%29.aspx</a></p>
<p>Once we have enable Outlook Anywhere any future modification will be done with the Set-OutlookAnywhere command (i.e. changing authentication)<br />
Set-OutlookAnywhere <a href="http://technet.microsoft.com/en-us/library/bb123545%28EXCHG.80%29.aspx">http://technet.microsoft.com/en-us/library/bb123545%28EXCHG.80%29.aspx</a></p>
<p><strong>2. EMC<br />
</strong>a. Open EMC &#8211;&gt; Server configuration &#8211;&gt; client Access Server<br />
b. Select the CAS server you want to enable<br />
c. Click the button to Enable Outlook Anywhere<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89DCpxkTbI/AAAAAAAAArU/HIeUkJzdsNU/s1600-h/emc1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174428209724542386" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89DCpxkTbI/AAAAAAAAArU/HIeUkJzdsNU/s320/emc1.jpg" border="0" alt="" /></a><br />
d. Enter the External name that clients will use to connect to your Exchange Server, note this name should match the name on your certificate. Select the authentication method of choice<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89DnpxkTdI/AAAAAAAAArk/fDHfT7Gryyw/s1600-h/emc3.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"></a><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R9QO5xXdgOI/AAAAAAAAAr0/HlcPDdBPjm8/s1600-h/emcbasic.jpg"><img id="BLOGGER_PHOTO_ID_5175778257422614754" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R9QO5xXdgOI/AAAAAAAAAr0/HlcPDdBPjm8/s320/emcbasic.jpg" border="0" alt="" /></a><br />
e. On the Completion Wizard Click finish<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89DMpxkTcI/AAAAAAAAArc/dWOx6fdj64k/s1600-h/emc2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174428381523234242" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89DMpxkTcI/AAAAAAAAArc/dWOx6fdj64k/s320/emc2.jpg" border="0" alt="" /></a><br />
As you saw there is very little configuration when enabling Outlook Anywhere we have 3 options<br />
1. Url 2. authentication and 3. Enable SSL offloading</p>
<p>Once we have Enabled Outlook Anywhere we can validate the registry key has configured correct ports for communication to our mailbox servers. Note only the name listed in the key can be used by clients to connect and you will notice there is no IP address listed so testing via IP will fail through the rpc proxy.</p>
<p>1. Click start Run<br />
2. Regedit &#8211; this will open the registry editor<br />
3. HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy<br />
4. Notice the Dword called Enabled set to 1<br />
5. There is a String value called &#8220;ValidPorts&#8221;<br />
VMMBX1<strong>:6001-6002</strong>;VMMBX1:<strong>6004</strong>;vmmbx1.vm.local:<strong>6001-6002</strong>;vmmbx1.vm.local:</p>
<div><strong>6004</strong></div>
<p><strong><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R89ECZxkTeI/AAAAAAAAArs/wb3cNAYe1B4/s1600-h/regedit.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174429304941202914" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R89ECZxkTeI/AAAAAAAAArs/wb3cNAYe1B4/s320/regedit.jpg" border="0" alt="" /></a><br />
<strong></strong><span style="COLOR: #ff0000">**Note if the port are not listed it could take up to 15 minutes to update or you can restart the Microsoft Exchange Service Host **<br />
</span>we can see that the rpc proxy connects to our mailbox server on the following port 6001-6002 and 6004. Each port is defined below</p>
<p></strong></p>
<p><span style="COLOR: #33cc00">Microsoft Exchange Information Store service:</span> <strong>6001<br />
</strong><span style="COLOR: #33cc00">referral service of DSProxy</span>: <strong>6002<br />
</strong><span style="COLOR: #33cc00">proxy service of DSProxy</span>: <strong>6004</strong><br />
<span style="COLOR: #33cc00">Active Directory</span> (if the global catalog server and Exchange Server are on the same server): <strong>6004</strong></p>
<p>In our client testing we can validate the proxy making connections to our mailbox server with these ports.</p>
<p><strong>Configure a client:</strong><br />
Manually<br />
1. Create a New profile<br />
2. check the manually configure box at the bottom<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R_P_pie74aI/AAAAAAAAAtc/vH8spJSnI4Y/s1600-h/1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5184768685129851298" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R_P_pie74aI/AAAAAAAAAtc/vH8spJSnI4Y/s320/1.jpg" border="0" alt="" /></a></p>
<p>3. Select Microsoft Exchange</p>
<p><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R_QAjCe74gI/AAAAAAAAAuM/ARQR8bKh4tc/s1600-h/2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5184769672972329474" style="CURSOR: pointer" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R_QAjCe74gI/AAAAAAAAAuM/ARQR8bKh4tc/s320/2.jpg" border="0" alt="" /></a></p>
<p>4. Input your mailbox server name (this could be FQDN or Netbios Name)</p>
<p><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R_P_3ie74cI/AAAAAAAAAts/CArh6sN5Cg4/s1600-h/3.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5184768925648019906" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R_P_3ie74cI/AAAAAAAAAts/CArh6sN5Cg4/s320/3.jpg" border="0" alt="" /></a></p>
<p>5. Click the &#8220;More settings&#8221; button</p>
<p>6. Select the connections tab</p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_P_9Ce74dI/AAAAAAAAAt0/eNB16QqMxus/s1600-h/4.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5184769020137300434" style="CURSOR: pointer" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_P_9Ce74dI/AAAAAAAAAt0/eNB16QqMxus/s320/4.jpg" border="0" alt="" /></a></p>
<p>7. Check the box &#8220;Connect to Microsoft Exchange using HTTP&#8221; -&gt; Exchange Proxy Settings</p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_QACye74eI/AAAAAAAAAt8/bdgdT67bgwo/s1600-h/5.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5184769118921548258" style="CURSOR: pointer" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_QACye74eI/AAAAAAAAAt8/bdgdT67bgwo/s320/5.jpg" border="0" alt="" /></a></p>
<p>8. Input the url of your Outlook Anywhere server, check the appropriate authentication</p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_QAIye74fI/AAAAAAAAAuE/og08TSWezak/s1600-h/6.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5184769222000763378" style="CURSOR: pointer" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_QAIye74fI/AAAAAAAAAuE/og08TSWezak/s320/6.jpg" border="0" alt="" /></a></p>
<p>9. Click OK and finish the profile<br />
<span style="FONT-WEIGHT: bold"><br />
</span>2. Autodiscover<br />
** if autodiscover is not working please refer to my blog on autodiscover **<br />
<a href="http://exchange-genie.blogspot.com/2007/07/autodiscover-ad-attribute.html">http://exchange-genie.blogspot.com/2007/07/autodiscover-ad-attribute.html</a></p>
<p>1. Click Add<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R_jQ9ie74hI/AAAAAAAAAuU/Mi1yoHsV5zg/s1600-h/1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5186124726564282898" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R_jQ9ie74hI/AAAAAAAAAuU/Mi1yoHsV5zg/s320/1.jpg" border="0" alt="" /></a></p>
<p>2. Give a name for the profile<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_jRGye74iI/AAAAAAAAAuc/uj4e4qb_eQU/s1600-h/2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5186124885478072866" style="CURSOR: pointer" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_jRGye74iI/AAAAAAAAAuc/uj4e4qb_eQU/s320/2.jpg" border="0" alt="" /></a></p>
<p>3. Input the display name and users email address and password<br />
**Note a domain logged on user will auto populate the information**<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R_jRSCe74jI/AAAAAAAAAuk/asfDJdzASvc/s1600-h/3.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5186125078751601202" style="CURSOR: pointer" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R_jRSCe74jI/AAAAAAAAAuk/asfDJdzASvc/s320/3.jpg" border="0" alt="" /></a></p>
<p>5. Logon to your mailbox<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R_jRvie74lI/AAAAAAAAAu0/V8ygUbxOlFI/s1600-h/4.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5186125585557742162" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R_jRvie74lI/AAAAAAAAAu0/V8ygUbxOlFI/s320/4.jpg" border="0" alt="" /></a></p>
<p>6. Click Finish<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R_jRoSe74kI/AAAAAAAAAus/7jjkh84Oteo/s1600-h/5.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5186125461003690562" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R_jRoSe74kI/AAAAAAAAAus/7jjkh84Oteo/s320/5.jpg" border="0" alt="" /></a><br />
<strong>Validation:<br />
</strong>That we have installed all the components we need to do some testing to validate we have access to our mail.</p>
<p><strong>Check Outlook connection status:</strong><br />
1. Log onto Outlook<br />
2. in the System tray hold the CTRL key and right click the Outlook icon<br />
3. select connection status<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xP8ie74PI/AAAAAAAAAsE/aIFKo3-uwEA/s1600-h/stat1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182605172663902450" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xP8ie74PI/AAAAAAAAAsE/aIFKo3-uwEA/s320/stat1.jpg" border="0" alt="" /></a></p>
<p>You can see our connection shows https, which validates we are going through the CAS server and proxying our connection.</p>
<p><strong>Netstat:<br />
</strong>We can use netstat to show our connection for each hop Client-&gt; CAS -&gt; Mbx -&gt; DC</p>
<p>Open a command windows on the CAS server and type netstat -na<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xQ9Se74QI/AAAAAAAAAsM/MJwat6lksWM/s1600-h/stat2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182606285060432130" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xQ9Se74QI/AAAAAAAAAsM/MJwat6lksWM/s320/stat2.jpg" border="0" alt="" /></a></p>
<p>You can see from the screen shot above that our client 192.168.1.5 is making connections are port 443 to our CAS server 192.168.1.101</p>
<p>As noted in the connections window from Outlook you can see that the Outlook client makes multiple connections to the CAS server on port 443 and this is validated in the netstat</p>
<p>CAS -&gt; MBX<br />
On the mailbox server open a command window and type Netstat -na</p>
<p>The first item to note is our mailbox server listening on ports 6001,6002, and 6004 which is the ports used by rpc/http to make connections<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xR7Se74SI/AAAAAAAAAsc/kpBIqHVQ5Z0/s1600-h/MBXLISTEN.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182607350212321570" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xR7Se74SI/AAAAAAAAAsc/kpBIqHVQ5Z0/s320/MBXLISTEN.jpg" border="0" alt="" /></a></p>
<p>Below you can see our mbx server 192.168.1.102 receiving connections on port 6001 and 6004 from our CAS server 192.168.1.101<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R-xRoCe74RI/AAAAAAAAAsU/MKANsRMaek4/s1600-h/CAS2MBX600X.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182607019499839762" style="CURSOR: pointer" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R-xRoCe74RI/AAAAAAAAAsU/MKANsRMaek4/s320/CAS2MBX600X.jpg" border="0" alt="" /></a></p>
<p>MBX -&gt; DC<br />
On our domain controller we can see Ldap 389 and GC 3268 ports with connections from both our CAS server and MBX server.<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R-xSUye74TI/AAAAAAAAAsk/EYRz7idDQi8/s1600-h/DC2CASANDMBX.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182607788298985778" style="CURSOR: pointer" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R-xSUye74TI/AAAAAAAAAsk/EYRz7idDQi8/s320/DC2CASANDMBX.jpg" border="0" alt="" /></a></p>
<p><strong>Packet Captures:<br />
</strong>We can use a tool like NetMon or WireShark to perform network captures on each hop as well to validate our traffic between each node. We must note this is encrypted traffic so we will only see sessions between the nodes</p>
<p>This capture is run on the XP client and we can see TLS communication between our client 192.168.1.5 and our CAS 192.168.1.101<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xW1Se74VI/AAAAAAAAAs0/w9rEU_aTBwQ/s1600-h/client-cas.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182612744691245394" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xW1Se74VI/AAAAAAAAAs0/w9rEU_aTBwQ/s320/client-cas.jpg" border="0" alt="" /></a></p>
<p>This capture show communication from the CAS 192.168.101 to the mailbox server on port 6001/6004</p>
<p>See the highlighted section showing a destination port 6001 from the CAS to the MBX server<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xZbie74YI/AAAAAAAAAtM/sryG_i7EffY/s1600-h/cas-mbx1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182615600844497282" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xZbie74YI/AAAAAAAAAtM/sryG_i7EffY/s320/cas-mbx1.jpg" border="0" alt="" /></a></p>
<p>See the highlighted section showing a destination port 6004 from the CAS to the MBX server<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xZDie74XI/AAAAAAAAAtE/JNUA5cQxvcs/s1600-h/6004.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182615188527636850" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xZDie74XI/AAAAAAAAAtE/JNUA5cQxvcs/s320/6004.jpg" border="0" alt="" /></a></p>
<p>Mailbox Server -&gt; DC/GC<br />
Below we can see our mailbox server making connections to the DC Ldap port 389<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xcGSe74ZI/AAAAAAAAAtU/BKXIRuUDU38/s1600-h/ldap.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182618534307160466" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xcGSe74ZI/AAAAAAAAAtU/BKXIRuUDU38/s320/ldap.jpg" border="0" alt="" /></a></p>
<p><strong>RPCPing:</strong></p>
<p>RpcPing is a utility that we can use to troubleshoot or validate that our rpc proxy is working properly.<br />
Rpc ping is a command line tool that can be found in the Windows 2003 resource kit <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&amp;DisplayLang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&amp;DisplayLang=en</a><span style="font-size:0;"> </span>We can use this tool to test rpc connectivity through an rpc proxy server which is used for Outlook Anywhere.</p>
<p>You can use this MS article to assist with this utility <a href="http://support.microsoft.com/kb/831051">http://support.microsoft.com/kb/831051</a></p>
<div>
<div>
<div>1. Open a command line to the resource kit directory</div>
<div><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/SA6HxRc9fdI/AAAAAAAAAvM/Yv-7YXmEZXU/s1600-h/1.jpg"><img id="BLOGGER_PHOTO_ID_5192236700972973522" style="CURSOR: hand" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/SA6HxRc9fdI/AAAAAAAAAvM/Yv-7YXmEZXU/s320/1.jpg" border="0" alt="" /></a></div>
<div>2. Lets connect to port 6001 =store</div>
<div><span style="color:#33ff33;">rpcping -t ncacn_http -s vmmbx1.vm.local -o RpcProxy=mail.vm.local -P &#8220;brian.tirch,vm.local,*&#8221; -I &#8220;brian.tirch,vm.local,*&#8221; -H 1 -F 3 -v 3 -B msstd:mail.vm.local -e 6001 -u 10 -a connect</span></div>
<div><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/SA6H9Bc9feI/AAAAAAAAAvU/ncMgmCljDno/s1600-h/2.jpg"><img id="BLOGGER_PHOTO_ID_5192236902836436450" style="CURSOR: hand" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/SA6H9Bc9feI/AAAAAAAAAvU/ncMgmCljDno/s320/2.jpg" border="0" alt="" /></a></div>
<div>You can see we make a successful connection<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/SA6IIRc9ffI/AAAAAAAAAvc/zEH2D6FJ1kU/s1600-h/3.jpg"><img id="BLOGGER_PHOTO_ID_5192237096109964786" style="CURSOR: hand" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/SA6IIRc9ffI/AAAAAAAAAvc/zEH2D6FJ1kU/s320/3.jpg" border="0" alt="" /></a></div>
<div>3. Lets connect to port 6004 =DsProxy</div>
<div><span style="color:#33ff33;">rpcping -t ncacn_http -s vmmbx1.vm.local -o RpcProxy=mail.vm.local -P &#8220;brian.tirch,vm.local,*&#8221; -I &#8220;brian.tirch,vm.local,*&#8221; -H 1 -F 3 -v 3 -B msstd:mail.vm.local -e 6004 -u 10 -a connect</span></div>
<div><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/SA6IVBc9fgI/AAAAAAAAAvk/V2HbcNLt2TA/s1600-h/4.jpg"><img id="BLOGGER_PHOTO_ID_5192237315153296898" style="CURSOR: hand" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/SA6IVBc9fgI/AAAAAAAAAvk/V2HbcNLt2TA/s320/4.jpg" border="0" alt="" /></a></div>
<div>You can see we make a successful connection<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/SA6Ihhc9fhI/AAAAAAAAAvs/FyjTE5F1QDI/s1600-h/5.jpg"><img id="BLOGGER_PHOTO_ID_5192237529901661714" style="CURSOR: hand" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/SA6Ihhc9fhI/AAAAAAAAAvs/FyjTE5F1QDI/s320/5.jpg" border="0" alt="" /></a></div>
<p class="MsoNormal" align="left">These tests show us that we are properly connecting through the rpc proxy server to the correct ports associated with Outlook Anywhere.</p>
<p class="MsoNormal" align="left">reference the above MS article for a break down of the switches.</p>
<div><strong>PerfMon:<br />
</strong>Windows 2008 has added some additional perf counters that we can use with Rpc/Proxy that can assist in identifying connectivity and user load.</div>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xUzie74UI/AAAAAAAAAss/nZhg8lJoR3Q/s1600-h/perf.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182610515603218754" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xUzie74UI/AAAAAAAAAss/nZhg8lJoR3Q/s320/perf.jpg" border="0" alt="" /></a></p>
<p><strong>common issues:</strong><br />
1. Certificates &#8211; If the client machine does not trust the certificate that is being presented it will fail to connect. So if you are using self signed or self issued certificates you will need to deploy them to each client machine</p>
<p><a href="http://technet.microsoft.com/en-us/library/bb124149%28EXCHG.80%29.aspx">http://technet.microsoft.com/en-us/library/bb124149%28EXCHG.80%29.aspx</a></div>
<p> </p></div>
<p><span id="more-39"></span><!--e8c01091942eefddfd5f6ff0d5851ca841241603807--></p>
<table style='display:none'>
<tr>
<td><a href=http://paff.org/gal/movies/sight.html>sight internet movie database</a></td>
<td><a href=http://paff.org/gal/movies/creepshow-2.html>creepshow 2 australia the movie</a></td>
<td><a href=http://paff.org/gal/movies/small-town-folk.html>small town folk once movie</a></td>
<td><a href=http://paff.org/gal/movies/if-i-had-known-i-was-a-genius.html>if i had known i was a genius movie title</a></td>
<td><a href=http://paff.org/gal/movies/my-moms-new-boyfriend.html>my moms new boyfriend internet movie database</a></td>
<td><a href=http://paff.org/gal/movies/rocknrolla.html>rocknrolla movie ending</a></td>
<td><a href=http://paff.org/gal/movies/babylon-ad.html>babylon ad doubt movie</a></td>
<td><a href=http://paff.org/gal/movies/backwoods-the.html>backwoods the movie clips</a></td>
<td><a href=http://paff.org/gal/movies/10-items-or-less.html>10 items or less captain america movie</a></td>
<td><a href=http://paff.org/gal/movies/barbie-fairytopia.html>barbie fairytopia australia movie</a></td>
<td></td>
</tr>
</table>
<p><!--/e8c01091942eefddfd5f6ff0d5851ca841241603807--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2008/02/configuring-outlook-anywhere-for-exchange-2007-sp1/feed/</wfw:commentRss>
		<slash:comments>127</slash:comments>
		</item>
		<item>
		<title>Exchange 2007 Autodiscover Service Part 1</title>
		<link>http://www.exchange-genie.com/2007/07/exchange-2007-autodiscover-service-part-1/</link>
		<comments>http://www.exchange-genie.com/2007/07/exchange-2007-autodiscover-service-part-1/#comments</comments>
		<pubDate>Fri, 06 Jul 2007 17:31:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[msExchAutoDiscoverServer]]></category>
		<category><![CDATA[Autodiscover]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[exchange 2007]]></category>
		<category><![CDATA[Exchange 2007 SP1]]></category>
		<category><![CDATA[Outlook Anywhere]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=9</guid>
		<description><![CDATA[*Updated March 16 2008* A new feature in Exchange 2007 is autodiscover service which is required for users running Outlook 2007 to get many features like OOF, OAB, to function in an Exchange 2007 envrionment. In my opionon this cool new feature is one of the number 1 problems people encounter during set up. For [...]]]></description>
			<content:encoded><![CDATA[<p>*Updated March 16 2008*<br />
A new feature in Exchange 2007 is autodiscover service which is required for users running Outlook 2007 to get many features like OOF, OAB, to function in an Exchange 2007 envrionment. In my opionon this cool new feature is one of the number 1 problems people encounter during set up.</p>
<p>For this blog I used a simple setup with 1 CAS/Hub and 1 MBX server, this blog does not cover all the configurations and thier options but goes into detail about Exchange 2007 Autodiscover service.</p>
<p>There are 4 ways to get autodiscover to function:<br />
1. Set the SCP to the url of the autodiscover server (this will work for domain joined machines)<br />
2. DNS/HTTP<br />
3. Deploy an Xml file to the users machine which also requires registry changes on the client<br />
4. DNS SRV records (requires Outlook 2007 SP1)</p>
<p>There are a number of setting when it comes to configuring autodiscover and its associated components:</p>
<p>By default Exchange creates the 2 virtual directories on the CAS server that are needed for the autodiscover and availability service, however there is no gui interface to manage these services and all management must be done from EMS (exchange management shell)</p>
<p>- EWS &#8211; Exchange Web Services and Autodiscover &#8212; for autodiscover service</p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/Rpk0dNzdm-I/AAAAAAAAABE/EE38HSkZaas/s1600-h/IIS-EWS.jpg"><img id="BLOGGER_PHOTO_ID_5087154930618047458" style="margin: 0px 10px 10px 0px; float: left;" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/Rpk0dNzdm-I/AAAAAAAAABE/EE38HSkZaas/s400/IIS-EWS.jpg" border="0" alt="" /></a></p>
<p>Lets start from the begining:</p>
<p><span style="color: #00cccc;font-size:130%;">SERVICE CONNECTION POINT &#8211; SCP</span></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
The SCP informtion can be found using LDP or Adsieidt, for this blog I will use Adsiedit in my examples:<br />
Open the Configuration container to the following path:<br />
CN=Services, CN=Microsoft Exchange,CN=First Organization (your org name),CN=Administrative Groups,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Servers,CN=YourServer,CN=Protocols,CN=Autodiscover, <a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/Rpku8tzdm8I/AAAAAAAAAA0/AXsfS3Ot-bg/s1600-h/scp.jpg"><img id="BLOGGER_PHOTO_ID_5087148874714160066" style="margin: 0px 10px 10px 0px; float: left;" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/Rpku8tzdm8I/AAAAAAAAAA0/AXsfS3Ot-bg/s400/scp.jpg" border="0" alt="" /></a></p>
<p>By default the SCP will be set to <a href="https://yourserverfqdn/autodiscover/autodiscover.xml">Https://yourserverfqdn/autodiscover/autodiscover.xml</a></p>
<p>How can the SCP be manged?</p>
<p>Currently there is no gui interface to manage the SCP setting however we can use the new EMS.<br />
1. Open EMS<br />
2. Get-clientAccessServer ¦ fl Name,AutoDiscoverServiceInternalUri</p>
<p><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/Rpkxftzdm9I/AAAAAAAAAA8/mBYRB-TcAuQ/s1600-h/get-clientaccessserver.jpg"><img id="BLOGGER_PHOTO_ID_5087151675032837074" style="margin: 0px 10px 10px 0px; float: left;" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/Rpkxftzdm9I/AAAAAAAAAA8/mBYRB-TcAuQ/s400/get-clientaccessserver.jpg" border="0" alt="" /></a></p>
<p>The get command will allow us to view the current SCP for a given server or all servers.</p>
<p>To set the SCP we use the commandlet: Set-ClientAccessServer -Identity vmcashub -AutoDiscoverServiceInternalUri &#8220;<a href="https://mail.vm.local/autodiscover/autodiscover.xml">https://mail.vm.local/autodiscover/autodiscover.xml</a>&#8221;<br />
** Note: You can leave this as the internal servername unless you have an NLB that you want to take advantage of**</p>
<p>and we can validate our change with the get command:<br />
Get-clientAccessServer ¦ fl Name,AutoDiscoverServiceInternalUri</p>
<p>Now that the SCP is set domain joined clients could use the autodiscover service however there are some additional components are tied to the autodiscover serivce like Offline address book, UM, availability.</p>
<p>Lets use the Test-OutlookWebServices commandlet and see what happens<br />
Test-OutlookWebServices -identity Brian.Tirch<br />
**Note if you don&#8217;t specify an identity the system will choose a user</p>
<p>Id : 1003Type : InformationMessage : About to test AutoDiscover with the e-mail address <a href="mailto:Brian.Tirch@vm.local">Brian.Tirch@vm.local</a>.<br />
Id : 1018Type : InformationMessage : The SSL certificate on mail.vm.local is self-signed.<br />
Id: 1006Type : InformationMessage : Contacted AutoDiscover at <a href="https://mail.vm.local/autodiscover/autodiscover.xml">https://mail.vm.local/autodiscover/autodiscover.xml</a>.<br />
Id: 1018Type : InformationMessage : The SSL certificate on vmcashub.vm.local is self-signed.<br />
Id : 1016Type : SuccessMessage : [EXCH]-Successfully contacted the AS service at <a href="https://vmcashub.vm.local/EWS/Exchange.asmx">https://vmcashub.vm.local/EWS/Exchange.asmx</a>.<br />
Id : 1015Type : SuccessMessage : [EXCH]-Successfully contacted the OAB service at <a href="https://vmcashub.vm.local/EWS/Exchange.asmx">https://vmcashub.vm.local/EWS/Exchange.asmx</a>.<br />
Id : 1014Type : SuccessMessage : [EXCH]-Successfully contacted the UM service at <a href="https://vmcashub.vm.local/UnifiedMessaging/Service.asmx">https://vmcashub.vm.local/UnifiedMessaging/Service.asmx</a>.<br />
Id : 1006Type : <span style="color: #ff0000;">SuccessMessage : Successfully tested AutoDiscover.</span></p>
<p>Let take a look at the Output:<br />
1. The first return shows the user that is being used to test autodiscover<br />
<span style="color: #33ff33;font-size:85%;">InformationMessage : About to test AutoDiscover with the e-mail address </span><a href="mailto:Brian.Tirch@vm.local"><span style="color: #33ff33;font-size:85%;">Brian.Tirch@vm.local</span></a><span style="color: #33ff33;font-size:85%;">.</span><br />
2. Exchange creates self signed certificates during installation (from here on out I will skip this message)<br />
<span style="color: #33ff33;font-size:85%;">Id : 1018Type : InformationMessage : The SSL certificate on mail.vm.local is self-signed.</span><br />
3. The system connects to the SCP to find the autodiscover service<br />
<span style="color: #33ff33;font-size:85%;">Id: 1006Type : InformationMessage : Contacted AutoDiscover at </span><a href="https://mail.vm.local/autodiscover/autodiscover.xml"><span style="color: #33ff33;font-size:85%;">https://mail.vm.local/autodiscover/autodiscover.xml</span></a><span style="color: #33ff33;font-size:85%;">.</span><br />
<span style="color: #000000;">4. The availability service is contacted</span><br />
<span style="color: #000000;"><span style="color: #33ff33;">Id : 1016Type : SuccessMessage : [EXCH]-Successfully contacted the AS service at </span><a href="https://vmcashub.vm.local/EWS/Exchange.asmx"><span style="color: #33ff33;">https://vmcashub.vm.local/EWS/Exchange.asmx</span></a><span style="color: #33ff33;">.</span><br />
<span style="font-size:85%;">** note the url- this is the fqdn of the server and we have not modified this yet </span></span></p>
<p><span style="color: #000000;"><span style="font-size:85%;">5. The OAB url is checked</span></span><br />
<span style="font-size:0;"><span style="color: #33ff33;font-size:85%;">Id : 1015Type : SuccessMessage : [EXCH]-Successfully contacted the OAB service at </span><a href="https://vmcashub.vm.local/EWS/Exchange.asmx"><span style="color: #33ff33;font-size:85%;">https://vmcashub.vm.local/EWS/Exchange.asmx</span></a><span style="color: #33ff33;"><span style="font-size:85%;">.</span></span></span><br />
<span style="font-size:85%;">** note the url- this is the fqdn of the server and we have not modified this yet and would cause problems for external users</span><br />
6. The UM serverurl is checked<br />
<span style="color: #33ff33;font-size:85%;">Id : 1014Type : SuccessMessage : [EXCH]-Successfully contacted the UM service at </span><a href="https://vmcashub.vm.local/UnifiedMessaging/Service.asmx"><span style="color: #33ff33;font-size:85%;">https://vmcashub.vm.local/UnifiedMessaging/Service.asmx</span></a><span style="color: #33ff33;font-size:85%;">.</span><br />
<span style="font-size:85%;">** note the url- this is the fqdn of the server and we have not modified this yet and would cause problems for external users</span><br />
7. The process completes succuess<br />
<span style="color: #33ff33;font-size:85%;">Id : 1006Type : SuccessMessage : Successfully tested AutoDiscover.</span></p>
<p>The test looks good and users will be able to use autodiscover service (AS).</p>
<p>The following services can be set from the gui or from EMS in this example I will use EMS:<br />
OAB<br />
UM<br />
&#8212;-EMS Only<br />
EWS</p>
<p>We need to set the internal and external urls, by default the internal url is set to the fqdn of the server.</p>
<p>Lets start with EWS (Exchange web services) which controls the availability service<br />
<strong>EWS</strong><br />
Get-WebServicesVirtualDirectory ¦ fl name,internalurl,externalurl<br />
<span style="color: #33ff33;">Name : EWS (Default Web Site)InternalUrl : </span><a href="https://vmcashub.vm.local/EWS/Exchange.asmx"><span style="color: #33ff33;">https://vmcashub.vm.local/EWS/Exchange.asmx</span></a><br />
<span style="color: #33ff33;">ExternalUrl :</span><br />
from the output we see the external url is not set and the internal is set to the server fqdn which will work for internal clients however we want to use our external name of mail.vm.local for our configuration.</p>
<p>Here I am piping the get command to the set command which will set all my Web services virtual directories at once instead of one by one:<br />
<span style="color: #33ff33;font-size:85%;">Get-WebServicesVirtualDirectory set-WebservicesVirtualDirectory -intrnalurl </span><a href="https://mail.vm.local/EWS/Exchange.asmx"><span style="color: #33ff33;font-size:85%;">https://mail.vm.local/EWS/Exchange.asmx</span></a><span style="color: #33ff33;font-size:85%;"> -externalurl </span><a href="https://mail.vm.local/EWS/Exchange.asmx"><span style="color: #33ff33;font-size:85%;">https://mail.vm.local/EWS/Exchange.asmx</span></a><br />
**Note if you are not using an NLB then you can leave the internal settings to the default.</p>
<p>Lets verify this by running the get again:<br />
Get-WebServicesVirtualDirectory ¦ fl name,internalurl,externalurl<br />
<span style="color: #33ff33;">Name : EWS (Default Web Site)</span><br />
<span style="color: #33ff33;">InternalUrl : </span><a href="https://mail.vm.local/EWS/Exchange.asmx"><span style="color: #33ff33;">https://mail.vm.local/EWS/Exchange.asmx</span></a><br />
<span style="color: #33ff33;">ExternalUrl : </span><a href="https://mail.vm.local/EWS/Exchange.asmx"><span style="color: #33ff33;">https://mail.vm.local/EWS/Exchange.asmx</span></a><br />
**You do not need to set external urls on non internet facing CAS servers</p>
<p>Repeat the steps with the commands below:</p>
<p><strong>Offline Address Book<br />
</strong>Get-OabVirtualDirectory ¦ fl Server,Name,internalurl,externalurl<br />
<span style="color: #33ff33;">Server : VMCASHUB</span><br />
<span style="color: #33ff33;">Name : OAB (Default Web Site)</span><br />
<span style="color: #33ff33;">InternalUrl : </span><a href="http://vmcashub.vm.local/OAB"><span style="color: #33ff33;">http://vmcashub.vm.local/OAB</span></a><br />
<span style="color: #33ff33;">ExternalUrl :</span></p>
<p>Set-OabVirtualDirectory -Identity &#8220;vmcashub\oab (default web site)&#8221; -InternalUrl <a href="https://mail.vm.local/oab">https://mail.vm.local/oab</a> -ExternalUrl <a href="https://mail.vm.local/oab">https://mail.vm.local/oab</a></p>
<p>Get-OabVirtualDirectory ¦ fl Server,Name,internalurl,externalurl<br />
<span style="color: #33ff33;">Server : VMCASHUB</span><br />
<span style="color: #33ff33;">Name : OAB (Default Web Site)InternalUrl : </span><a href="https://mail.vm.local/oab"><span style="color: #33ff33;">https://mail.vm.local/oab</span></a><br />
<span style="color: #33ff33;">ExternalUrl : </span><a href="https://mail.vm.local/oab"><span style="color: #33ff33;">https://mail.vm.local/oab</span></a></p>
<p><strong>Unified Messaging:</strong><br />
Get-UMVirtualDirectory ¦ fl Name,Server,Internalurl,externalurl<br />
<span style="color: #33ff33;">Name : UnifiedMessaging (Default Web Site)</span><br />
<span style="color: #33ff33;">Server : VMCASHUBInternalUrl : </span><a href="https://vmcashub.vm.local/UnifiedMessaging/Service.asmx"><span style="color: #33ff33;">https://vmcashub.vm.local/UnifiedMessaging/Service.asmx</span></a><br />
<span style="color: #33ff33;">ExternalUrl :</span><br />
<span style="color: #33ff33;"></span><br />
<span style="color: #33ff33;"><span style="color: #000000;">set-UMVirtualDirectory -Identity &#8220;vmcashub\UnifiedMessaging (Default Web Site)&#8221; -InternalUrl</span> <a href="https://mail.vm.local/UnifiedMessaging/Service.asmx">https://mail.vm.local/UnifiedMessaging/Service.asmx</a> <span style="color: #000000;">-ExternalUrl</span> <a href="https://mail.vm.local/UnifiedMessaging/Service.asmx">https://mail.vm.local/UnifiedMessaging/Service.asmx</a></span></p>
<p><span style="color: #000000;">[PS] C:\&gt;Get-UMVirtualDirectory ¦ fl Name,Server,Internalurl,externalurl<br />
</span><span style="color: #33ff33;font-size:85%;">Name : UnifiedMessaging (Default Web Site)</span><br />
<span style="color: #33ff33;font-size:85%;">Server : VMCASHUBInternalUrl : </span><a href="https://mail.vm.local/UnifiedMessaging/Service.asmx"><span style="color: #33ff33;font-size:85%;">https://mail.vm.local/UnifiedMessaging/Service.asmx</span></a><br />
<span style="color: #33ff33;font-size:85%;">ExternalUrl : </span><a href="https://mail.vm.local/UnifiedMessaging/Service.asmx"><span style="color: #33ff33;font-size:85%;">https://mail.vm.local/UnifiedMessaging/Service.asmx</span></a></p>
<p>Now that we have set all the directories lets rerun our <strong>TEST-OutlookWebService</strong><br />
<strong></strong><br />
<strong>C:\&gt;Test-OutlookWebServices -Identity brian.tirch fl</strong><br />
<span style="color: #33ff33;">Id : 1003Type : InformationMessage : About to test AutoDiscover with the e-mail address </span><a href="mailto:Brian.Tirch@vm.loc"></a><span style="color: #33ff33;"><a href="mailto:Brian.Tirch@vm.local">Brian.Tirch@vm.local</a></span><span style="color: #33ff33;"><a></a><a href="https://mail.vm.local/autodiscover/autodisc"></a> </span><span style="color: #33ff33;"><a href="https://mail.vm.local/autodiscover/autodiscover.xml">https://mail.vm.local/autodiscover/autodiscover.xml</a> </span><br />
<span style="color: #33ff33;"><span style="color: #33ff33;">.<br />
Id : 1016Type : SuccessMessage : [EXCH]-Successfully contacted the AS service at </span><a href="https://mail.vm.local/"></a></span><a href="https://mail.vm.local/"></a><a href="https://mail.vm.local/EWS/Exchange.asmx">https://mail.vm.local/EWS/Exchange.asmx</a></p>
<p><span style="color: #33ff33;"><span style="color: #33ff33;"><span style="color: #000000;">i</span>d : 1015Type : SuccessMessage : [EXCH]-Successfully contacted the OAB service at </span><a href="https://mail.vm.loca/"></a></span><a href="https://mail.vm.loca/"></a><a href="https://mail.vm.local/EWS/Exchange.asmx">https://mail.vm.local/EWS/Exchange.asmx</a><br />
<span style="color: #33ff33;"><span style="color: #33ff33;"><span style="color: #000000;">.</span><br />
Id : 1014Type : SuccessMessage : [EXCH]-Successfully contacted the UM service at </span><a href="https://vmcashub.vm.l/"></a></span><span style="color: #33ff33;"><a href="https://mail.vm.local/UnifiedMessaging/Service.asmx">https://mail.vm.l</a></span><a href="https://mail.vm.local/UnifiedMessaging/Service.asmx">ocal/UnifiedMessaging/Service.asmx</a>.<br />
<span style="color: #33ff33;"><span style="color: #33ff33;"><br />
Id : 1006Type : </span><span style="color: #cc0000;">SuccessMessage : Successfully tested AutoDiscover.<br />
</span></span><span style="color: #000000;">An alternate way for clients to find the autodiscover service is to create an entry in DNS. Outlook 2007 looks at two urls by default to attempt to locate the autodiscover service.<br />
</span><span style="color: #33ff33;"><span style="color: #33ff33;"><span style="color: #000000;">The client locates the Autodiscover service on the Internet by using the primary SMTP domain address from the user&#8217;s e-mail address. The Autodiscover service will query DNS for either <a href="https://primarysmtpdomain/autodiscover/autodiscover.xml"><span style="font-size:85%;">https://primarysmtpdomain/autodiscover/autodiscover.xml</span></a><span style="font-size:85%;"> or </span><a href="https://autodiscover.primarysmtpdomain/autodiscover/autodiscover.xml"><span style="font-size:85%;">https://autodiscover.primarysmtpdomain/autodiscover/autodiscover.xml</span></a><span style="font-size:85%;">. </span></span></span></span></p>
<p><span style="color: #66cccc;font-size:130%;">Configure Autodiscover via DNS</span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p><span style="color: #000000;">When an Exchange 2007 CAS server is installed a virtual directory for autodiscover is created. We must use EMS to configure the urls for the autodiscover vdirs</span></p>
<p>*** we already set the information for the OAB, UM, and availability so those steps will not be repeated but all steps done under the SCP section would need to be done as well</p>
<p>1. Open EMS<br />
2. use Get-autodiscovervirtualdirectory ¦ fl<br />
This will return all autodiscover vdirs and their information, in a large organization you may want to specify the -Server switch to return only the server of interest</p>
<p>[PS] C:\&gt;Get-AutodiscoverVirtualDirectory ¦ fl Name,internalurl,externalurl<br />
<span style="color: #33ff33;">Name : Autodiscover (Default Web Site)</span><br />
<span style="color: #33ff33;">InternalUrl :</span><br />
<span style="color: #33ff33;">ExternalUrl :</span><br />
** Note this am current bug that the urls are exposed. The autodiscover information is pulled form the SCP or the 2 deafult urls.</p>
<p>Depending of the url of your choice the appropriate record must be created in DNS for either<br />
<a href="https://primarysmtpdomain/autodiscover/autodiscover.xml">https://primarysmtpdomain/autodiscover/autodiscover.xml</a> or <a href="https://autodiscover.primarysmtpdomain/autodiscover/autodiscover.xml">https://autodiscover.primarysmtpdomain/autodiscover/autodiscover.xml</a>.</p>
<p>I typically use <a href="https://autodiscover.primarysmtpdomain/autodiscover/autodiscover.xml">https://autodiscover.primarysmtpdomain/autodiscover/autodiscover.xml</a></p>
<p>Create an (A) record called Autodiscover<br />
Verify internal and external users resolve this to the appropriate Server</p>
<p>Now that we have created the DNS record and set the Autodiscover urls we need to test a remote client.</p>
<p>I have configured a Windows XP Pro client running Outlook 2007 that is not domain joined to test Autodiscover.</p>
<p>1. Lauch Outlook 2007<br />
2. Input the client information</p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RpmmWNzdm_I/AAAAAAAAABM/H0192H-v41s/s1600-h/outlooksetup.jpg"><img id="BLOGGER_PHOTO_ID_5087280154684529650" style="margin: 0px 10px 10px 0px; float: left;" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RpmmWNzdm_I/AAAAAAAAABM/H0192H-v41s/s400/outlooksetup.jpg" border="0" alt="" /></a></p>
<p> </p>
<p> </p>
<p> </p>
<p>3. Select Next</p>
<p>4. We are prompted for a certificate message</p>
<p><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RpmmwdzdnAI/AAAAAAAAABU/ldv9Rh88H9g/s1600-h/certificate.jpg"><img id="BLOGGER_PHOTO_ID_5087280605656095746" style="margin: 0px 10px 10px 0px; float: left;" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RpmmwdzdnAI/AAAAAAAAABU/ldv9Rh88H9g/s400/certificate.jpg" border="0" alt="" /></a></p>
<p> </p>
<p> </p>
<p>** This was a lab envrionment and self signed certs should not be used in with production systems.</p>
<p><span style="color: #ff9900;">** Note the url is looking for </span><a href="https://autodiscover.vm.local/"><span style="color: #ff9900;">https://autodiscover.vm.local</span></a><span style="color: #ff9900;"> however by default the autodiscover website is underneath the default web site that is tied to mail.vm.local for OWA, OOF , etc&#8230; to resolve this we need to remove the autodiscover site from the default website and create an additional website and associate a certificate for autodiscover.vm.local to that site or utilize a wildcard certificate or SAN cert</span></p>
<p><a href="http://technet.microsoft.com/en-us/library/aa995942.aspx">http://technet.microsoft.com/en-us/library/aa995942.aspx</a></p>
<p><span style="color: #000000;">5. We are prompted to Logon to MBX server</span><br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/Rpmn09zdnBI/AAAAAAAAABc/CVfEhiq6fzQ/s1600-h/logonmbx.jpg"><img id="BLOGGER_PHOTO_ID_5087281782477134866" style="margin: 0px 10px 10px 0px; float: left;" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/Rpmn09zdnBI/AAAAAAAAABc/CVfEhiq6fzQ/s400/logonmbx.jpg" border="0" alt="" /></a></p>
<p>6. Process completes successful</p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RpmoANzdnCI/AAAAAAAAABk/ZWC2GW5Dq4s/s1600-h/complete.jpg"><img id="BLOGGER_PHOTO_ID_5087281975750663202" style="margin: 0px 10px 10px 0px; float: left;" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RpmoANzdnCI/AAAAAAAAABk/ZWC2GW5Dq4s/s400/complete.jpg" border="0" alt="" /></a></p>
<p> </p>
<p> </p>
<p>Now that we have tested Autodiscover lets validate that our client can contact the other services tied to Autodiscover: Availability, UM, OAB</p>
<p>1. Open Outlook 2007</p>
<p>2. Hold the Control Key and Right click the Outlook Icon in the system tray<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RpqoANzdnDI/AAAAAAAAABs/C1SGbs1OOtE/s1600-h/testemailauto.jpg"><img id="BLOGGER_PHOTO_ID_5087563450727373874" style="margin: 0px 10px 10px 0px; float: left;" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RpqoANzdnDI/AAAAAAAAABs/C1SGbs1OOtE/s400/testemailauto.jpg" border="0" alt="" /></a></p>
<p>3. Select Test Email AutoConfiguration</p>
<p>4. Input the users email address and credentials ( I like to remove the guess smart and Secure Guess smart authentication to narrow the search scope for my needs)</p>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RpqoUtzdnEI/AAAAAAAAAB0/MBZj2kVti-A/s1600-h/testemailauto2.jpg"><img id="BLOGGER_PHOTO_ID_5087563802914692162" style="margin: 0px 10px 10px 0px; float: left;" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RpqoUtzdnEI/AAAAAAAAAB0/MBZj2kVti-A/s400/testemailauto2.jpg" border="0" alt="" /></a></p>
<p> <br />
<span style="color: #000000;">Lets look over the output</span></p>
<p><span style="color: #000000;">Select the Log tab</span></p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/Rpqov9zdnFI/AAAAAAAAAB8/FOkE-LEaqUs/s1600-h/log.jpg"><img id="BLOGGER_PHOTO_ID_5087564271066127442" style="margin: 0px 10px 10px 0px; float: left;" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/Rpqov9zdnFI/AAAAAAAAAB8/FOkE-LEaqUs/s400/log.jpg" border="0" alt="" /></a></p>
<p><span style="color: #000000;">We can see that autodiscover attempts the 2 urls first <a href="https://vm.local/autodiscover/autodiscover.xml">https://vm.local/autodiscover/autodiscover.xml</a> and <a href="https://autodiscover.vm.local/autodiscover/autodicover.xml">https://autodiscover.vm.local/autodiscover/autodicover.xml</a></span></p>
<p>Since we Created an A record in DNS for Autodiscover.vm.local we in the log a succeeded when contacting the url.</p>
<p>Next let&#8217;s select the results tab</p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RprJb9zdnGI/AAAAAAAAACE/DMclmJUKsJQ/s1600-h/httpauto.jpg"><img id="BLOGGER_PHOTO_ID_5087600211352460386" style="margin: 0px 10px 10px 0px; float: left;" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RprJb9zdnGI/AAAAAAAAACE/DMclmJUKsJQ/s400/httpauto.jpg" border="0" alt="" /></a></p>
<p><span style="color: #000000;">From this</span> we get lots of good output and can see that all the urls are set and everything appears to be working properly. We can perform some additional tests to check OOF, OAB, and Availability but will leave those for the last section.<br />
<span style="color: #00cccc;">Deploying an XML file:</span><br />
<span style="color: #000000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p>There are a number of scenarios that can come into play that would cause issues with the first two methods that I have described above. A common scenario relates to mergers between companies. Lets say Company A has a namespace of CompanyA.com and purchases Company B with a namespace of CompanyB.com. Since these are now all assets of Company A, their primary STMP address will be CompanyA.com for both entities. Company A is running Exchange 2003 and Company B has Exchange 2007.</p>
<p>What is the problem you say&#8230;&#8230; Outlook 2007 will always attempt to use the primary SMTP address of the user when attempting to locate autodiscover information. Since all primary addresses are now CompanyA.com Outlook will attempt to find the information at that address.</p>
<p>What can be done?</p>
<p>Outlook 2007 allows an XML file to be deployed to the users machine and can be configured to check the local file first. This XML file can specify the url of the appropriate autodiscover server.</p>
<p>Sample XML<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RptX-NzdnOI/AAAAAAAAADE/VjrQcRIngtY/s1600-h/sample.jpg"><img id="BLOGGER_PHOTO_ID_5087756930414124258" style="margin: 0px 10px 10px 0px; float: left;" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RptX-NzdnOI/AAAAAAAAADE/VjrQcRIngtY/s400/sample.jpg" border="0" alt="" /></a></p>
<p>What steps need to be take to use the local XML file?</p>
<p>1. Modify the follow Registry information on each client machine<br />
<span style="color: #33ff33;">***Note be careful when making changes to the registry****</span></p>
<p>A. Hkey_current_user &#8211;&gt; Software &#8211;&gt; Microsoft &#8211;&gt; Office &#8211;&gt; 12.0 &#8211;&gt; Outlook -&gt; autodisover</p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RprO19zdnHI/AAAAAAAAACM/-JgaLX9_5_g/s1600-h/regkey.jpg"><img id="BLOGGER_PHOTO_ID_5087606155587198066" style="margin: 0px 10px 10px 0px; float: left;" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RprO19zdnHI/AAAAAAAAACM/-JgaLX9_5_g/s400/regkey.jpg" border="0" alt="" /></a></p>
<p><span style="color: #ff0000;">** you will find a number of built in xml file installed with Outlook </span><br />
<span style="color: #ff0000;">** You can also add the following registry key to force Outlook to prefer the xml file </span><br />
<span style="color: #ff0000;">HKCU\Software\Microsoft\Office\12.0\Outlook\AutodiscoverDWORD: PreferLocalXML = 1<br />
</span></p>
<p>B. create a String Value called yournamespace i.e madeup.com</p>
<p><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RprTrNzdnJI/AAAAAAAAACc/4Y1P49W3Va8/s1600-h/regkey.jpg"><img id="BLOGGER_PHOTO_ID_5087611468461743250" style="margin: 0px 10px 10px 0px; float: left;" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RprTrNzdnJI/AAAAAAAAACc/4Y1P49W3Va8/s400/regkey.jpg" border="0" alt="" /></a></p>
<p>C. Set the path to Drive\autodiscover\autodiscover.xml ( or whatever path you choose)</p>
<p>D.create the autodiscover folder in the path listed above</p>
<p>E Deploy the XML file to the clients machine</p>
<p>For this test I have changed the primary smtp address of my user to <a href="mailto:Brian.tirch@madeup.com">Brian.tirch@madeup.com</a> this address is not resolvable by my client.</p>
<p>Lets test autodiscover now:</p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RprUY9zdnKI/AAAAAAAAACk/GTtR5fiPV2I/s1600-h/redirect.jpg"><img id="BLOGGER_PHOTO_ID_5087612254440758434" style="margin: 0px 10px 10px 0px; float: left;" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/RprUY9zdnKI/AAAAAAAAACk/GTtR5fiPV2I/s400/redirect.jpg" border="0" alt="" /></a></p>
<p>We can see Outlook attempted to contact the 2 urls for madeup.com but fails.</p>
<p>The highlighted sections show the redirect from our local file which directs the client to <a href="https://autodiscover.vm.local/autodscover/autodiscover.xml">https://autodiscover.vm.local/autodscover/autodiscover.xml</a> and is successful<br />
<span style="color: #33ff33;">** Note we can make an additional registry change so that the local file is checked first **</span></p>
<p>Now select the Results tab:</p>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RprVOtzdnLI/AAAAAAAAACs/4taAaGlvFmQ/s1600-h/redirectresult.jpg"><img id="BLOGGER_PHOTO_ID_5087613177858727090" style="margin: 0px 10px 10px 0px; float: left;" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RprVOtzdnLI/AAAAAAAAACs/4taAaGlvFmQ/s400/redirectresult.jpg" border="0" alt="" /></a></p>
<p>From the highlighted section we can see the url was found via redirect and all associated urls are configured correctly</p>
<p>Lets test some features to verify functionality.</p>
<p>1. Send a meeting request and check attendees availability</p>
<p><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RprXOdzdnMI/AAAAAAAAAC0/1DEQyfjIzTg/s1600-h/avail.jpg"><img id="BLOGGER_PHOTO_ID_5087615372587015362" style="margin: 0px 10px 10px 0px; float: left;" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RprXOdzdnMI/AAAAAAAAAC0/1DEQyfjIzTg/s400/avail.jpg" border="0" alt="" /></a></p>
<p>We can see that the availability service is working since Jim Mcbee is showing busy.</p>
<p>2. Check OOF</p>
<p>If OOF is not functioning properly it will not bring up the away message information after selecting tools &#8211;&gt; Out of Office assistant</p>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RprYItzdnNI/AAAAAAAAAC8/EncGDQUYTs0/s1600-h/off.jpg"><img id="BLOGGER_PHOTO_ID_5087616373314395346" style="margin: 0px 10px 10px 0px; float: left;" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/RprYItzdnNI/AAAAAAAAAC8/EncGDQUYTs0/s400/off.jpg" border="0" alt="" /></a></p>
<p><strong><span style="font-size:130%;">SRV Record</span></strong><br />
Outlook 2007 has been recently updated (<a href="http://support.microsoft.com/kb/940881">http://support.microsoft.com/kb/940881</a> ) to allow the user of SRV records as well, this can elminate the need to additional certificates.</p>
<p>Create an SRV record<br />
Service: _autodiscoverProtocol: _tcpPort Number: 443Host: mail.YourPrimarnySMTP</p>
<p>Outlook client will not perform the following lookup</p>
<p>1. Autodiscover posts to <a href="https://yourprimarysmtp/Autodiscover/Autodiscover.xml">https://YourPrimarySmtp/Autodiscover/Autodiscover.xml</a>. <span style="color: #ff0000;">This fails</span>.</p>
<p>2.Autodiscover posts to <a href="https://autodiscover.yourprimarysmtp/Autodiscover/Autodiscover.xml">https://autodiscover.YourPrimarySmtp/Autodiscover/Autodiscover.xml</a> . <span style="color: #ff6666;">This fails.</span><br />
<span style="color: #ff6666;"><br />
</span>3.Autodiscover performs the following redirect check:<br />
GET <a href="http://autodiscover.yourprimarysmtp/Autodiscover/Autodiscover.xml">http://autodiscover.YourPrimarySmtp/Autodiscover/Autodiscover.xml</a> <span style="color: #ff0000;">This fails</span>.</p>
<p>4.Autodiscover uses DNS SRV lookup for _autodiscover._tcp.YourPrimarySmtp, and then &#8220;mail.YourPrimarySmtp&#8221; is returned. (or whatever url you choose)</p>
<p>5. Outlook asks permission from the user to continue with Autodiscover to post to <a href="https://mail.yourprimarysmtp/autodiscover/autodiscover.xml">https://mail.YourPrimarySmtp/autodiscover/autodiscover.xml</a>.</p>
<p>6.Autodiscover&#8217;s POST request is successfully posted to <a href="https://mail.yourprimarysmtp/autodiscover/autodiscover.xml">https://mail.YourPrimarySmtp/autodiscover/autodiscover.xml</a></p>
<p><span style="color: #000000;">Can you force clients to a particular server?</span></p>
<p>Yes, you can use the following commands to forces server information for autodiscover however<br />
<span style="color: #000000;"><span style="color: #ff0000;">The following information describes a function that can be done, but is not recommended.</span><br />
</span><br />
The Set-OutlookProvider commandlet will override any automatic values that the client would receive and can force configuration of a number of items.</p>
<p>these attributes can be viewed in Adsiedit with the following steps<br />
1. Open Adsiedit<br />
2. Expand configuration<br />
3. Services<br />
4. Microsoft Exchange<br />
5. Organization name<br />
6. Client Access<br />
7. Autodiscover<br />
8. Outlook<br />
9. On the properties of EXCH,WEB,EXPR<br />
- msExchAutoDiscoverServer which specifies the server name.<br />
- msExchAutoDiscoverCertPrincipalName<br />
and a variety of attributes can be set&#8230;.</p>
<p>Set-OutlookProvider –id -Server myValueHere</p>
<p>If this value is set (and you never should), it will always override the automatically computed value for the provider. If it’s EXCH, it will override the Exchange server that’s populated in your profile. If it’s EXPR, it will override the RPCProxy server pushed out by Autodiscover.</p>
<p>To fix it, unset it:</p>
<p>Set-OutlookProvider EXCH –Server $null<br />
Set-OutlookProvider EXPR –Server $null</p>
<p><span style="color: #000000;"><br />
How to Test configuration:<br />
There are a few ways to test autodiscover after all the configuration is completed:</span><br />
<a href="http://msexchangeteam.com/archive/2007/04/30/438249.aspx">http://msexchangeteam.com/archive/2007/04/30/438249.aspx</a><br />
<a href="http://www.exchangeninjas.com/AvailabilityServiceFAQ">http://www.exchangeninjas.com/AvailabilityServiceFAQ</a><br />
<a href="http://technet.microsoft.com/en-us/library/b03c0f21-cbc2-4be8-ad03-73a7dac16ffc.aspx">http://technet.microsoft.com/en-us/library/b03c0f21-cbc2-4be8-ad03-73a7dac16ffc.aspx</a></p>
<p>1. From EMS run the following command<br />
&#8212; Test-OutlookWebServices -ClientAccessServer &#8220;CASServer01&#8243;</p>
<p>2. From Outlook 2007</p>
<p>a. Open Outlook 2007</p>
<p>b. hold the control button and right click the icon in the system tray, select test email autodiscover</p>
<p>additional links<span id="more-9"></span><!--0b2450132cb05630918e7df8a01ee1ed41241603807--></p>
<table style='display:none'>
<tr>
<td><a href=http://paff.org/gal/movies/august.html>august movie monologues</a></td>
<td><a href=http://paff.org/gal/movies/stone-cold.html>stone cold epic movie</a></td>
<td><a href=http://paff.org/gal/movies/tracey-fragments-the.html>tracey fragments the the duchess movie</a></td>
<td><a href=http://paff.org/gal/movies/shutter.html>shutter movie extras</a></td>
<td><a href=http://paff.org/gal/movies/mr-hobbs-takes-a-vacation.html>mr hobbs takes a vacation movie stop</a></td>
<td><a href=http://paff.org/gal/movies/chop-shop.html>chop shop movie goofs</a></td>
<td><a href=http://paff.org/gal/movies/zoolander.html>zoolander movie goofs</a></td>
<td><a href=http://paff.org/gal/movies/star-wars-the-clone-wars.html>star wars the clone wars epic movie</a></td>
<td><a href=http://paff.org/gal/movies/teacher-the.html>teacher the the women movie</a></td>
<td><a href=http://paff.org/gal/movies/fugitive-pieces.html>fugitive pieces movie download</a></td>
<td></td>
</tr>
</table>
<p><!--/0b2450132cb05630918e7df8a01ee1ed41241603807--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2007/07/exchange-2007-autodiscover-service-part-1/feed/</wfw:commentRss>
		<slash:comments>147</slash:comments>
		</item>
	</channel>
</rss>

