I need help guys. Stood up an Exchange Server 2016 in my lab and everything works as it should except for autodiscover internally. When I launch Outlook internally the security alert popup that states "The name on the security certificate is invalid or does not match the name of the site." Which is a correct error because when I view the ceritifcate it is for mail.example.com. It is trying to autodiscover the FQDN of the actual exchange server which is ex01.example.com. I tried the below guide and setting the internal uri but that didn't help. Any help would be greatly appreciated. Thanks!
Did you test from your client to ensure that the changes you made to autodiscover internal uri actually work ??
You can hold control and right click on the outlook icon taskbar and click on test email auto configuration.
Anyway you are in the correct direction and just make sure the changes to the internal uri actually take place.
Open PowerShell:
Get-OutlookAnywhere | Select Server,ExternalHostname,Internalhostname
Get-ClientAccessServer | Select Name,AutoDiscoverServiceInternalURI
and use Set-OutlookAnywhere -ExternalHostname and -InternalHostname and
Get-ClientAccessServer | Set-ClientAccessServer -AutoDiscoverServiceInternalUri https://whatever...
I used this script (from a german site) to streamline the URL change for all the URLs and services... You can adjust it to your real exchange name and you should be good.
#Hostname für Exchange Webservices, OWA, Outlook Anywhere, Active Sync:
$OutlookHostname = "mail.test.com"
#Hostname für Autodiscover:
$AutodiscoverHostname = "autodiscover.test.com"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.