Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Exchange InternalUrl and ExternalUrl settings

Posted on 2016-07-16
5
Medium Priority
?
298 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 2000 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Eseutil Hard Recovery is part of exchange tool and ensures Exchange mailbox data recovery when mailbox gets corrupt due to some problem on Exchange server.
If you have come across a situation where you need to find some EDB mailbox recovery techniques, then here you will find the same. In this article, we will take you through three techniques using which you will be able to perform EDB recovery. You …
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…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Suggested Courses

916 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