Link to home
Start Free TrialLog in
Avatar of Greg Hejl
Greg HejlFlag for United States of America

asked on

Change exchange server name that outlook clients connect to

We removed all references to non-fqdn name in exchange mailserver and successfully applied wildcard cert.

Now we need to update email clients to point to the new name as the client sees the new certificate which doesn't match the old name configured in the clients

The clients do not allow manually changing the server name.

outlook client 2010
exchange server 2010
Avatar of FOX
FOX
Flag of United States of America image

Go in to Exchange 2010 and change your autodiscover and outlook anywhere settings so that it points the correct server.
Avatar of Greg Hejl

ASKER

Hi Foxluv,

I've been in Server configuration>Client Access and used the shell to change autodiscover settings.
the outlook clients are still seeing the old server name.
Run the below PS script and post the output here.  If you want to mask the domain name, that's fine, but be mindful as we're looking for any internal references.  Don't get too crazy with the masking or we'll miss the offending record.

get-OwaVirtualDirectory | fl *url*
get-EcpVirtualDirectory | fl *url*
get-ActiveSyncVirtualDirectory | fl *url*
get-OabVirtualDirectory | fl *url*
get-ClientAccessServer | fl *uri*
get-WebServicesVirtualDirectory | fl *url*
get-OABVirtualDirectory | fl *url*
Thanks!  Here's the output:

PS C:\Windows\system32> get-OwaVirtualDirectory | fl *url*


Url             : {}
Exchange2003Url :
InternalUrl     : https://mobile.*****tech.com/owa
ExternalUrl     : https://mobile.*****tech.com/owa



PS C:\Windows\system32> get-EcpVirtualDirectory | fl *url*


InternalUrl : https://mobile.*****tech.com/ecp
ExternalUrl : https://mobile.*****tech.com/ecp



PS C:\Windows\system32> get-ActiveSyncVirtualDirectory | fl *url*


MobileClientCertificateAuthorityURL :
InternalUrl                         : https://mobile.*****tech.com/Microsoft-Server-ActiveSync
ExternalUrl                         : https://mobile.*****tech.com/Microsoft-Server-ActiveSync



PS C:\Windows\system32> get-OabVirtualDirectory | fl *url*


InternalUrl : https://mobile.*****tech.com/OAB
ExternalUrl : https://mobile.*****tech.com/OAB



PS C:\Windows\system32> get-ClientAccessServer | fl *uri*


AutoDiscoverServiceInternalUri : https://mobile.*****tech.com/Autodiscover/Autodiscover.xml



PS C:\Windows\system32> get-WebServicesVirtualDirectory | fl *url*


InternalNLBBypassUrl : https://svraamx01.*****tech.local/ews/exchange.asmx
InternalUrl          : https://mobile.*****tech.com/EWS/Exchange.asmx
ExternalUrl          : https://mobile.*****tech.com/ews/exchange.asmx



PS C:\Windows\system32> get-OABVirtualDirectory | fl *url*


InternalUrl : https://mobile.*****tech.com/OAB
ExternalUrl : https://mobile.*****tech.com/OAB
That output looks good.  I assume the external and internal match where you've masked.

If you're using a wildcard cert, you need to run this -

Set-OutlookProvider EXPR -CertPrincipalName msstd:*.contoso.com

The * is for the wildcard cert.  Replace contoso.com with your domain.
ASKER CERTIFIED SOLUTION
Avatar of dipersp
dipersp
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for the assist!  your exchange shell knowledge helped immensely!

I also ran across another tweak that made everything work better.

Adding  _autodiscover SRV DNS records for the email domains we have.