Hi
I am currently in the process of setting up some new client PCs with Outlook 2016 and I am seemingly having an autodiscover issue.
Our current setup is :
Exchange 2010 running on Server 2008 R2
Outlook 2007
which all connects fine.
When i try and get an Outlook 2016 to connect it continually asks for the user password.
If we try Outlook 2016 externally it works fine.
I have run a Test-OutlookWebServices and have got the following errors which i dont fully understand.
Would appreciate some pointers and help.
thanks
RunspaceId : 6d126fa7-6d99-470b-90b4-b4
5a5d2f2904
Id : 1019
Type : Information
Message : A valid Autodiscover service connection point was found. The Autodiscover URL on this object is
https://mail.domain.co.uk/Autodiscover/Autodiscover.xml.
RunspaceId : 6d126fa7-6d99-470b-90b4-b4
5a5d2f2904
Id : 1013
Type : Error
Message : When contacting
https://mail.domain.co.uk/Autodiscover/Autodiscover.xml received the error The remote server returned an error: (401) Unauthorized.
RunspaceId : 6d126fa7-6d99-470b-90b4-b4
5a5d2f2904
Id : 1013
Type : Error
Message : When contacting
https://mail.domain.co.uk/Autodiscover/Autodiscover.xml received the error The target principal name is incorrect
RunspaceId : 6d126fa7-6d99-470b-90b4-b4
5a5d2f2904
Id : 1023
Type : Error
Message : The Autodiscover service couldn't be contacted.
RunspaceId : 6d126fa7-6d99-470b-90b4-b4
5a5d2f2904
Id : 1104
Type : Error
Message : The certificate for the URL
https://server.domain.local/Autodiscover/Autodiscover.xml is incorrect. For SSL to work, the certificate needs to have a subject of server.domain.local, but the subject that was found is mail.domain.co.uk. Consider correcting service discovery, or installing a correct SSL certificate.
RunspaceId : 6d126fa7-6d99-470b-90b4-b4
5a5d2f2904
Id : 1106
Type : Information
Message : Contacted the Autodiscover service at
https://server.domain.local:443/Autodiscover/Autodiscover.xml.
RunspaceId : 6d126fa7-6d99-470b-90b4-b4
5a5d2f2904
Id : 1116
Type : Information
Message : [EXCH] The AS service is configured for this user in the Autodiscover response received from
https://server.domain.local:443/Autodiscover/Autodiscover.xml.
RunspaceId : 6d126fa7-6d99-470b-90b4-b4
5a5d2f2904
Id : 1115
Type : Information
Message : [EXCH] The OAB service is configured for this user in the Autodiscover response received from
https://server.domain.local:443/Autodiscover/Autodiscover.xml.
RunspaceId : 6d126fa7-6d99-470b-90b4-b4
5a5d2f2904
Id : 1114
Type : Information
Message : [EXCH] The UM service is configured for this user in the Autodiscover response received from
https://server.domain.local:443/Autodiscover/Autodiscover.xml.
RunspaceId : 6d126fa7-6d99-470b-90b4-b4
5a5d2f2904
Id : 1116
Type : Information
Message : [EXPR] The AS service is configured for this user in the Autodiscover response received from
https://server.domain.local:443/Autodiscover/Autodiscover.xml.
RunspaceId : 6d126fa7-6d99-470b-90b4-b4
5a5d2f2904
Id : 1115
Type : Information
Message : [EXPR] The OAB service is configured for this user in the Autodiscover response received from
https://server.domain.local:443/Autodiscover/Autodiscover.xml.
RunspaceId : 6d126fa7-6d99-470b-90b4-b4
5a5d2f2904
Id : 1114
Type : Information
Message : [EXPR] The UM service is configured for this user in the Autodiscover response received from
https://server.domain.local:443/Autodiscover/Autodiscover.xml.
RunspaceId : 6d126fa7-6d99-470b-90b4-b4
5a5d2f2904
Id : 1122
Type : Success
Message : Autodiscover was tested successfully.
RunspaceId : 6d126fa7-6d99-470b-90b4-b4
5a5d2f2904
Id : 1013
Type : Error
Message : When contacting
https://mail.domain.co.uk/ews/exchange.asmx received the error The request failed with HTTP status 401: Unauthorized.
RunspaceId : 6d126fa7-6d99-470b-90b4-b4
5a5d2f2904
Id : 1025
Type : Error
Message : [EXCH] Error contacting the AS service at
https://mail.domain.co.uk/ews/exchange.asmx. Elapsed time was 26 milliseconds.
RunspaceId : 6d126fa7-6d99-470b-90b4-b4
5a5d2f2904
Id : 1026
Type : Success
Message : [EXCH] Successfully contacted the UM service at
https://mail.domain.co.uk/ews/exchange.asmx. The elapsed time was 35 milliseconds.
RunspaceId : 6d126fa7-6d99-470b-90b4-b4
5a5d2f2904
Id : 1124
Type : Success
Message : [Server] Successfully contacted the AS service at
https://server.domain.local/ews/exchange.asmx. The elapsed time was 210 milliseconds.
RunspaceId : 6d126fa7-6d99-470b-90b4-b4
5a5d2f2904
Id : 1126
Type : Success
Message : [Server] Successfully contacted the UM service at
https://server.domain.local/ews/exchange.asmx. The elapsed time was 52 milliseconds.
Since your certificate is generate for outside connection for https://excahnge.domain.com address inside your network certificate is incorrect since doesn't point to internal domain https://exchange.domain.local
I had same problem so I decide to create forward lookup zone in my local DNS for exchange.domain.com and I did created A record pointing to Exchange server external name but using internal IP
So If your server name is Exchange.domain.com from outside, just create Forward Lookup Zone for that name inside your local DNS
Use your name servers inside and create A record pointed to your local Exchange IP
Refresh DNS on station with Outlook 2016 and now all should be OK