{"id":33,"date":"2011-01-05T13:56:59","date_gmt":"2011-01-05T11:56:59","guid":{"rendered":"http:\/\/exchangetimes.wordpress.com\/?p=33"},"modified":"2011-01-05T13:56:59","modified_gmt":"2011-01-05T11:56:59","slug":"ooo-not-working-because-autodiscover-does-not-work","status":"publish","type":"post","link":"https:\/\/exchangetimes.net\/?p=33","title":{"rendered":"OoO not working because AutoDiscover does not work"},"content":{"rendered":"<div id=\"_mcePaste\" class=\"mcePaste\" style=\"position:absolute;width:1px;height:1px;overflow:hidden;top:0;left:-10000px;\">\ufeff<\/div>\n<h1 style=\"margin:12pt 0 3pt 21.6pt;\"><span style=\"font-family:Verdana;font-size:large;\">1<\/span><span style=\"font:7pt 'Times New Roman';\">\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"font-size:large;\"><span style=\"font-family:Verdana;\">First: Always check Certificates and DNS<\/span><\/span><\/h1>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Verdana;font-size:x-small;\">\u00a0<\/span><\/p>\n<p class=\"MsoListParagraph\" style=\"line-height:normal;margin:0 0 0 18pt;\"><em><span style=\"font-family:Verdana,sans-serif;\"><span style=\"font-size:small;\">\u00a0<\/span><\/span><\/em><\/p>\n<h2 style=\"margin:12pt 0 3pt 28.8pt;\"><em><span style=\"font-family:Verdana;font-size:large;\">1.1<\/span><\/em><span style=\"font:7pt 'Times New Roman';\"> <\/span><em><span style=\"font-size:large;\"><span style=\"font-family:Verdana;\">Check if your certificates are configured correctly and if they have expired.<\/span><\/span><\/em><\/h2>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Verdana;font-size:x-small;\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-size:x-small;\"><span style=\"font-family:Verdana;\">Open the Exchange Management Console and run: <strong>Get-ExchangeCertificate | fl<\/strong><br \/>\nReview your certificates and ensure that they have not expired<\/span><\/span><\/p>\n<h2 style=\"margin:12pt 0 3pt 28.8pt;\"><a name=\"_Toc66260566\"><\/a><a name=\"_Toc66260016\"><\/a><a name=\"_Toc66259119\"><\/a><a name=\"_Toc66259076\"><\/a><a name=\"_Toc66259048\"><em><span style=\"font-family:Verdana;font-size:large;\">1.2<\/span><\/em><span style=\"font:7pt 'Times New Roman';\"> <\/span><em><span style=\"font-size:large;\"><span style=\"font-family:Verdana;\">Check DNS<\/span><\/span><\/em><\/a><\/h2>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Verdana;font-size:x-small;\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-size:x-small;\"><span style=\"font-family:Verdana;\">A good way to test DNS is using NSLOOKUP. Open cmd and type nslookup and hit enter.<br \/>\n(In our case we need to run nslookup to our client\u2019s autodiscover address to test redirection as we user autodiscover redirect.)<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Verdana;font-size:x-small;\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-size:x-small;\"><span style=\"font-family:Verdana;\">Type autodiscover.yourdomain.com (or .net etc.) this should return with the redirect address as per below screenshot.<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Verdana;font-size:x-small;\">\u00a0<br \/>\n<a href=\"http:\/\/exchangetimes.files.wordpress.com\/2011\/01\/nslookup.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-34\" title=\"nslookup\" src=\"http:\/\/exchangetimes.files.wordpress.com\/2011\/01\/nslookup.png\" alt=\"\" width=\"490\" height=\"249\" \/><\/a><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-size:x-small;\"><span style=\"font-family:Verdana;\">\u00a0<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Verdana;font-size:x-small;\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Verdana;font-size:x-small;\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Verdana;font-size:x-small;\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Verdana;font-size:x-small;\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Verdana;font-size:x-small;\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Verdana;font-size:x-small;\">\u00a0<\/span><span style=\"font-family:Verdana;font-size:x-small;\">\u00a0<\/span><em><span style=\"font-family:Verdana;font-size:large;\">1.3<\/span><\/em><span style=\"font:7pt 'Times New Roman';\"> <\/span><em><span style=\"font-size:large;\"><span style=\"font-family:Verdana;\">Additional Tests<\/span><\/span><\/em><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><strong><span style=\"font-family:Arial,Bold,sans-serif;color:black;font-size:14.5pt;\">\u00a0<\/span><\/strong><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">You should also run the below tests in Outlook and in a Web Browser to test Autodiscover:<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">\u00a0<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">Outlook:<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">\u00a0<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">Hold Ctrl and Right click on the Outlook Icon in the task bar. Then choose \u201cTest E-mail AutoConfiguration\u201d.<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">Within the dialog box type your e-mail Address, password and untick Use Guessmart and Secure Guessmart Authentication. Then click on \u201cTest\u201d<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">\u00a0<a href=\"http:\/\/exchangetimes.files.wordpress.com\/2011\/01\/test.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-35\" title=\"test\" src=\"http:\/\/exchangetimes.files.wordpress.com\/2011\/01\/test.png\" alt=\"\" width=\"490\" height=\"338\" \/><\/a><\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-size:x-small;\"><span style=\"font-family:Calibri,sans-serif;color:black;\">\u00a0<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">\u00a0<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><strong><span style=\"font-family:Arial,Bold,sans-serif;color:black;font-size:14.5pt;\">\u00a0<\/span><\/strong><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">\u00a0<\/span><\/span>\u00a0<\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">\u00a0<\/span><\/span>\u00a0<\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">\u00a0<\/span><\/span>\u00a0<\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">\u00a0<\/span><\/span>\u00a0<\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">\u00a0<\/span><\/span>\u00a0<\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">\u00a0<\/span><\/span>\u00a0<\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">\u00a0<\/span><\/span>\u00a0<\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">\u00a0<\/span><\/span>\u00a0<\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">\u00a0<\/span><\/span>\u00a0<\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">\u00a0<\/span><\/span>\u00a0<\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">\u00a0<\/span><\/span>\u00a0<\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">\u00a0<\/span><\/span>\u00a0<span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">\u00a0<\/span><\/span>\u00a0<\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">The test should be successful with doing a redirect.<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">You could also test autodiscover using http:\/\/testexchangeconnectivity .com but make sure there is no mail in the mailbox and OoO is not on as it will spit out an error.<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Calibri,sans-serif;color:black;\"><span style=\"font-size:x-small;\">\u00a0<\/span><\/span><strong><span style=\"font-family:Arial,Bold,sans-serif;color:black;font-size:14.5pt;\">\u00a0<\/span><\/strong><\/p>\n<h1 style=\"margin:12pt 0 3pt 21.6pt;\"><span style=\"font-family:Verdana;font-size:large;\">2<\/span><span style=\"font:7pt 'Times New Roman';\">\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"font-size:large;\"><span style=\"font-family:Verdana;\">IIS Settings<\/span><\/span><\/h1>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Verdana;font-size:x-small;\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-size:x-small;\"><span style=\"font-family:Verdana;\">We found that the problem we had had nothing to do with DNS or Certs but the tests still failed. While testing the rules on ISA we saw an entry that pointed us to the following location.<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Verdana;font-size:x-small;\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-size:x-small;\"><span style=\"font-family:Verdana;\">IIS=&gt;Computer Name=&gt;Websites=&gt;AutoDiscoverRedirect=&gt;AutoDiscover=&gt;AutoDiscover.xml<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Verdana;font-size:x-small;\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-size:x-small;\"><span style=\"font-family:Verdana;\">Right Click on AutoDiscover.xml ans untick the following tick box.<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Verdana;font-size:x-small;\">\u00a0<a href=\"http:\/\/exchangetimes.files.wordpress.com\/2011\/01\/iis.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-36\" title=\"IIS\" src=\"http:\/\/exchangetimes.files.wordpress.com\/2011\/01\/iis.png\" alt=\"\" width=\"474\" height=\"442\" \/><\/a><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-size:x-small;\"><span style=\"font-family:Verdana;\">\u00a0<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Verdana;font-size:x-small;\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-size:x-small;\"><span style=\"font-family:Verdana;\">This resolved the issue and all AutoDiscover tests where successful. OoO and OAB was working once again.<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Verdana;font-size:x-small;\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin:0;\"><span style=\"font-family:Verdana;font-size:x-small;\">Note: When we restarted IIS we noticed that the tick was back and we had to untick the checkbox again. We are still looking into this.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ufeff 1\u00a0\u00a0\u00a0\u00a0 First: Always check Certificates and DNS \u00a0 \u00a0 1.1 Check if your certificates are configured correctly and if they have expired. \u00a0 Open the Exchange Management Console and run: Get-ExchangeCertificate | fl Review your certificates and ensure that they have not expired 1.2 Check DNS \u00a0 A good way to test DNS is using NSLOOKUP. Open cmd and type nslookup and hit enter. (In our case we need to run nslookup to our client\u2019s autodiscover address to test redirection as we user autodiscover redirect.) \u00a0 Type autodiscover.yourdomain.com (or .net etc.) this should return with the redirect address as per below screenshot. \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a01.3 Additional Tests \u00a0 You should also run the below tests in Outlook and in a Web Browser to test Autodiscover: \u00a0 Outlook: \u00a0 Hold Ctrl and Right click on the Outlook Icon in the task bar. Then choose \u201cTest E-mail AutoConfiguration\u201d. Within the dialog box type your e-mail Address, password and untick Use Guessmart and Secure Guessmart Authentication. Then click on \u201cTest\u201d \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0 The test should be successful with doing a redirect. You could also test autodiscover using http:\/\/testexchangeconnectivity .com but make sure there is no mail in the mailbox and OoO is not on as it will spit out an error. \u00a0\u00a0 2\u00a0\u00a0\u00a0\u00a0 IIS Settings \u00a0 We found that the problem we had had nothing to do with DNS or Certs but the tests still failed. While testing the rules on ISA we saw an entry that pointed us to the following location. \u00a0 IIS=&gt;Computer Name=&gt;Websites=&gt;AutoDiscoverRedirect=&gt;AutoDiscover=&gt;AutoDiscover.xml \u00a0 Right Click on AutoDiscover.xml ans untick the following tick box. \u00a0 \u00a0 \u00a0 This resolved the issue and all AutoDiscover tests where successful. OoO and OAB was working once again. \u00a0 Note: When we restarted IIS we noticed that the tick was back and we had to untick the checkbox again. We are still looking into this.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[381,48,80,94,95,98],"class_list":["post-33","post","type-post","status-publish","format-standard","hentry","category-autodiscover","tag-autodiscover","tag-dns","tag-iis","tag-oof","tag-ooo","tag-out-of-office"],"_links":{"self":[{"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts\/33","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=33"}],"version-history":[{"count":0,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts\/33\/revisions"}],"wp:attachment":[{"href":"https:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}