• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 294
  • Last Modified:

Exchange Web services - EWS

Hi

I have a Exchange 2010 SP2 Dag environment.

Using exchange microsoft test connectivity tool.

When I set internal url the external test fails, when I set external url internal test fails.

When I set both url's in a single shell command, internal url fail.

Is anyone able to shed any light on this.
0
DeepFat
Asked:
DeepFat
  • 4
1 Solution
 
MASTechnical Department HeadCommented:
What is the command used to set the URls?
0
 
DeepFatAuthor Commented:
We have 3 cas servers so I use the following command naming each server

Set-WebServicesVirtualDirectory –Identity ServerName\EWS* -InternalUrl https://mail.domain.co.uk/ews/exchange.asmx

I also found after applying the commands Microsoft test connectivity test show successful on the internal network but unsuccessful on external network and only for around 10 minutes, then my test fails on internal and is successful on external.

I have also tried the following and tests are only successful on the external network.

Set-WebServicesVirtualDirectory –Identity ServerName\EWS* -InternalUrl https://mail.domain.co.uk/ews/exchange.asmx -ExternalUrl https://mail.domain.co.uk/ews/exchange.asmx
0
 
Simon Butler (Sembee)ConsultantCommented:
Ensure that the host name resolves internally correctly to begin with.
You will probably need to use a Split DNS to ensure that works.

What error does the test fail with?

I would also upgrade the server - Exchange 2010 SP2 is no longer supported, you need to be on Exchange 2010 Sp3 to be supported.

Simon.
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
DeepFatAuthor Commented:
Issue was resolved by manually removing EWS settings and then re-applying all autodiscover settings and restarting server.
0
 
DeepFatAuthor Commented:
This solution was not suggested by anyone else on the forum and required further investigation from other forums to resolve.
0
 
DeepFatAuthor Commented:
Set-WebServicesVirtualDirectory –Identity ServerName\EWS* -InternalUrl https://mail.domain.co.uk/ews/exchange.asmx -ExternalUrl https://mail.domain.co.uk/ews/exchange.asmx
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now