Exchange WebServices
When I run Test-WebServicesConnectivity I get the following error. [System.Net.WebException]: The underlying connection was closed: An unexpected error occurred on a send. Inner error [System.IO.IOException]: Authentication failed because the remote
party has closed the transport stream.
Any assistance provided will be appreciated.
August 11th, 2011 1:54pm
Is your account enabled for EWS?
get-casmailbox <username> | selelct ews*[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
Free Windows Admin Tool Kit Click here and download it now
August 11th, 2011 2:03pm
When I run that command it comes back with ews and nothing else
August 11th, 2011 2:22pm
You put your user name in where it says <username>?[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
Free Windows Admin Tool Kit Click here and download it now
August 11th, 2011 2:37pm
What version of Exchange are you running?[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
August 11th, 2011 2:39pm
Exchange 2007 sp2 rollup 5
Free Windows Admin Tool Kit Click here and download it now
August 11th, 2011 2:45pm
Yeah, I did.
August 11th, 2011 2:46pm
Ew. I'm running 2010. Not sure how to check that on 2007. [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
Free Windows Admin Tool Kit Click here and download it now
August 11th, 2011 2:46pm
Hello,
I did following test in my lab (Exchange 2007 SP2):
1. Use New-TestCasConnectivityUser.ps1 to create an test account.
2.Then run Test-WebServicesConnectivity
You also can use this command to check “Test-WebServicesConnectivity” result:
Test-WebServicesConnectivity -ClientAccessServer CasServer -MailboxCredential (get-Credential domain\username)|fl
For your issue, I suggest you follow my test steps (use another account or create a new test account) to check for “Test-WebServicesConnectivity”
result.
If the issue persists, I suggest you check the Event log and run Exchange Best Practices Analyzer to collect more information.
Thanks,
Evan Liu
TechNet Subscriber Support
in forum
If you have any feedback on our support, please contact
tngfb@microsoft.com
August 12th, 2011 1:25am