{"id":591,"date":"2016-03-11T03:44:29","date_gmt":"2016-03-11T03:44:29","guid":{"rendered":"http:\/\/www.itcrumbs.com\/?p=591"},"modified":"2019-02-07T04:38:48","modified_gmt":"2019-02-07T04:38:48","slug":"getting-outlook-to-autodiscover-office-365","status":"publish","type":"post","link":"https:\/\/www.itcrumbs.com\/?p=591","title":{"rendered":"Getting Outlook to Autodiscover Office 365"},"content":{"rendered":"<h5><a title=\"http:\/\/www.mcbsys.com\/blog\/2011\/08\/using-office-365-in-an-sbs-2008-environment-take-2\/\" href=\"http:\/\/www.mcbsys.com\/blog\/2011\/08\/using-office-365-in-an-sbs-2008-environment-take-2\/\">http:\/\/www.mcbsys.com\/blog\/2011\/08\/using-office-365-in-an-sbs-2008-environment-take-2\/<\/a><\/h5>\n<p>While editing the Service Connection Point in Active Directory Sites and Services does work, it\u2019s probably not the \u201capproved\u201d way to do things. <\/p>\n<p>The support manager recommended that I instead use the Exchange Management Shell to entirely remove the Autodiscover Virtual Directory using <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/bb124113%28EXCHG.80%29.aspx\">Remove-AutodiscoverVirtualDirectory<\/a>. Here\u2019s how I did that: <\/p>\n<p>1. Open an elevated command prompt and back up the IIS configuration (explained <a href=\"http:\/\/blogs.iis.net\/bills\/archive\/2008\/03\/24\/how-to-backup-restore-iis7-configuration.aspx\">here<\/a>): <\/p>\n<p><code>%windir%\\system32\\inetsrv\\appcmd.exe add backup \"Before Removing Autodiscover\"<\/code> <\/p>\n<p>2. Open an <strong>elevated<\/strong> Exchange Management Shell and retrieve the current autodiscover virtual directory: <\/p>\n<p><code>Get-AutodiscoverVirtualDirectory | fl Name, Server, InternalUrl, ExternalUrl, Identity<\/code> <\/p>\n<p>Save the results to a text file in case you need them to re-set the virtual directory later (see Schyler Jones\u2019 comment below on December 2, 2015). Copy the Identity value to the clipboard. <\/p>\n<p>3. In the Exchange Management Shell, remove the autodiscover virtual directory: <\/p>\n<p><code>Remove-AutodiscoverVirtualDirectory \u2013Identity \"<em>&lt;identity value retrieved above&gt;<\/em>\"<\/code> <\/p>\n<p>You will have to confirm by typing a \u201cY\u201d. <\/p>\n<p>4. Check that the autodiscover virtual directory is gone: <\/p>\n<p><code>Get-AutodiscoverVirtualDirectory | fl Name, Server, InternalUrl, Identity<\/code> <\/p>\n<p>This should now return nothing. <\/p>\n<p>5. Now, with Outlook running on a desktop, hold the <strong>Ctrl<\/strong> button, right-click on the Outlook icon in the system tray, and select <strong>Test E-mail AutoConfiguration<\/strong>. Enter your email address and password and click the <strong>Test<\/strong> button. The results should come from the Office 365 server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/www.mcbsys.com\/blog\/2011\/08\/using-office-365-in-an-sbs-2008-environment-take-2\/ While editing the Service Connection Point in Active Directory Sites and Services does work, it\u2019s probably not the \u201capproved\u201d way to do things. The support manager recommended that I instead use the Exchange Management Shell to entirely remove the Autodiscover Virtual Directory using Remove-AutodiscoverVirtualDirectory. Here\u2019s how I did that: 1. Open an elevated command [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-591","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/591","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=591"}],"version-history":[{"count":1,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/591\/revisions"}],"predecessor-version":[{"id":592,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/591\/revisions\/592"}],"wp:attachment":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=591"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=591"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}