Solved

Exchange InternalUrl and ExternalUrl settings

Posted on 2016-07-16
5
29 Views
Last Modified: 2016-09-27
hi

I have just installed a new Exchange 2013 SP1 Server and outlook is giving proxy certificate errors and ssl cert is looking for the local machine name instead of the purchased cert remote.domain.com

I have ran these commands to get current settings:

[PS] C:\Windows\system32>Get-WebServicesVirtualDirectory | Select InternalUrl,BasicAuthenticationExternalUrl,Identity |
Format-List


InternalUrl                    : https://remote.erewash-partnership.com/ews/exchange.asmx
BasicAuthenticationExternalUrl :
Identity                       : EPL-SERVER2012\EWS (Default Web Site)



[PS] C:\Windows\system32>Get-OabVirtualDirectory | Select InternalURL,ExternalURL,Identity | FL


InternalUrl : https://remote.erewash-partnership.com/oab
ExternalUrl :
Identity    : EPL-SERVER2012\OAB (Default Web Site)



[PS] C:\Windows\system32>
[PS] C:\Windows\system32>Get-ActiveSyncVirtualDirectory | Select InternalUrl,ExternalUrl,Identity | fl


InternalUrl : https://epl-server2012.epl.local/Microsoft-Server-ActiveSync
ExternalUrl :
Identity    : EPL-SERVER2012\Microsoft-Server-ActiveSync (Default Web Site)


So to fix I have tried these commands:

Set-ClientAccessServer -Identity "epl-server2012" -AutodiscoverServiceInternalUri https://remote.erewash-partnership.com/Autodiscover/Autodiscover.xml
Set-WebServicesVirtualDirectory -Identity "epl-server2012\EWS (Default Web Site)" -InternalUrl https://remote.erewash-partnership.com/ews/exchange.asmx
Set-OABVirtualDirectory -Identity "epl-server2012\oab (Default Web Site)" -InternalUrl https://remote.erewash-partnership.com/oab
Set-AutodiscovervirtualDirectory -Identity "epl-server2012\autodiscover (Default Web Site)" -InternalUrl https://remote.erewash-partnership.com/autodiscover/autodiscover.xml
Set-AutodiscovervirtualDirectory -Identity "epl-server2012\autodiscover (Default Web Site)" -ExternalUrl https://remote.erewash-partnership.com/autodiscover/autodiscover.xml
Set-ActiveSyncVirtualDirectory -Identity "Microsoft-Server-ActiveSync (Default Web Site)" -InternalUrl "https://remote.erewash-partnership.com/Microsoft-Server-ActiveSync"

The first 3 seem to do something but the last 3 are giving the following type of errrors!

A parameter cannot be found that matches parameter name 'InternalUrl'.
    + CategoryInfo          : InvalidArgument: (:) [Set-AutodiscoverVirtualDirectory], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Set-AutodiscoverVirtualDirectory
    + PSComputerName        : epl-server2012.epl.local


Please advise

Ash
0
Comment
Question by:AshGhai
  • 2
5 Comments
 
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 41714727
If you are going to use the .com FQDN as your INTERNAL URL you need to be sure that you have that domain added as a forward lookup zone in your internal DNS.
0
 

Author Comment

by:AshGhai
ID: 41714875
Hi Jeffrey

I have already added the the forward lookup zone for the domain but I still get the same error?
0
 
LVL 63

Accepted Solution

by:
Simon Butler (Sembee) earned 500 total points
ID: 41717505
Exchange 2013 SP1? Really? You can install from the latest cumulative update. I would suggest that you update before you go any further.

This:

Set-AutodiscovervirtualDirectory -Identity "epl-server2012\autodiscover (Default Web Site)" -InternalUrl https://remote.erewash-partnership.com/autodiscover/autodiscover.xml
 Set-AutodiscovervirtualDirectory -Identity "epl-server2012\autodiscover (Default Web Site)" -ExternalUrl https://remote.erewash-partnership.com/autodiscover/autodiscover.xml

Wasn't necessary.

I have a script that changes what is required here: http://semb.ee/hostnames2013

You must have a trusted SSL certificate on the server that matches, and the internal DNS must resolve to the internal IP address of the server.
They should be set back to null.
0
 

Author Comment

by:AshGhai
ID: 41717923
Thanks Simon, I will try that..

Sorry I had already updated with cu12

Regards
Ash
0

Featured Post

Are end users causing IT problems again?

You’ve taken the time to design and update all your end user’s email signatures, only to find out they’re messing up the HTML, changing the font and ruining the imagery. What can you do to prevent this? Find out how you can save your signatures from end users today.

Join & Write a Comment

Resolve DNS query failed errors for Exchange
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now