Link to home
Start Free TrialLog in
Avatar of Ash Ghai
Ash GhaiFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Exchange InternalUrl and ExternalUrl settings

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
Avatar of Jeffrey Kane - TechSoEasy
Jeffrey Kane - TechSoEasy
Flag of United States of America image

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.
Avatar of Ash Ghai

ASKER

Hi Jeffrey

I have already added the the forward lookup zone for the domain but I still get the same error?
ASKER CERTIFIED SOLUTION
Avatar of Simon Butler (Sembee)
Simon Butler (Sembee)
Flag of United Kingdom of Great Britain and Northern Ireland 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 Simon, I will try that..

Sorry I had already updated with cu12

Regards
Ash