Solved

Exchange Web services - EWS

Posted on 2014-04-29
6
285 Views
Last Modified: 2014-06-02
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
Comment
Question by:DeepFat
  • 4
6 Comments
 
LVL 25

Expert Comment

by:-MAS
ID: 40029457
What is the command used to set the URls?
0
 

Author Comment

by:DeepFat
ID: 40029836
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
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 40032541
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
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

 

Accepted Solution

by:
DeepFat earned 0 total points
ID: 40065484
Issue was resolved by manually removing EWS settings and then re-applying all autodiscover settings and restarting server.
0
 

Author Closing Comment

by:DeepFat
ID: 40074491
This solution was not suggested by anyone else on the forum and required further investigation from other forums to resolve.
0
 

Author Comment

by:DeepFat
ID: 40105329
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

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

Suggested Solutions

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create an Accepted Domain 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 >> Ac…
To show how to generate a certificate request 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 >> Certificates…

685 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