Link to home
Start Free TrialLog in
Avatar of DeepFat
DeepFatFlag for United Kingdom of Great Britain and Northern Ireland

asked on

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.
Avatar of M A
M A
Flag of United States of America image

What is the command used to set the URls?
Avatar of DeepFat

ASKER

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
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.
ASKER CERTIFIED SOLUTION
Avatar of DeepFat
DeepFat
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
Avatar of DeepFat

ASKER

This solution was not suggested by anyone else on the forum and required further investigation from other forums to resolve.
Avatar of DeepFat

ASKER

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