Exchange Troubleshooting: Out of Office and Autodiscover issue

Issue

An issue with Out Of Office not working due to autodiscover issue in 2 servers with all the roles installed. 

Reference

This article which will set the URLs of web services and autodiscover which didn't  fix.

Testing procedure

Test by running the command Test-OutlookWebServices -ClientAccessServer SERVER1 and got the below result. (i.e. The Autodiscover service couldn't be contacted)

I fixed one server by resetting Autodiscover virtual directory. Below are the steps I followed.

Step1

Go to Server Configuration--> **Client Access **--> Reset Virtual Directory...

Step2

Click on Browse

Step3

Select Autodiscover(Default Web Site) and click OK

Step4

Click Next

Step5

Click Next

Step6

Click Reset

Step7

Click Finish

Step8

Run  below command on the server from an elevated command prompt

IISReset /noforce

 

One server got fixed by resetting the Autodiscover VD. But the other server still shows the same error.

I found there was an additional HTTPS binding added to the (Default Web Site) by the admin before. I removed the HTTPS binding and made changes as below

Now the result of the command  <Test-OutlookWebServices -ClientAccessServer SERVER1> on both the servers are as below

Now Out of Office working fine internally and externally.