Link to home
Start Free TrialLog in
Avatar of fluxlabs
fluxlabs

asked on

Exchange Web Services - Test-OutlookWebServices 404 Errors

I've tried reaching out to the microsoft forums and have had no luck, so I am trying here. I have 2 exchange 2010 servers that i am unable to get a working EWS setup. If you want to read the article, you can at http://social.technet.microsoft.com/Forums/en-US/exchangesvrdeploy/thread/9beed320-8e5b-4768-b362-7ecffb736bd9

Clean install of RTM 2010 works when testing EWS using:
Test-WebServicesConnectivity -UseAutodiscoverForClientAccessServer

After applying SP1 RU6 or SP2, it does not work. I get:
Error : [System.Net.WebException]: The request failed with HTTP status 403: Forbidden.

After cranking up diagnostic logging in EMC, I see this in the IIS logs:
AuthError=User not allowed to access EWS;,ReportException_Message=Access is denied. Check credentials and try again.;ReportException_StackTrace=   at Microsoft.Exchange.Services.Wcf.MessageInspectorManager.AfterReceiveRequest(Message& request; IClientChannel channel; InstanceContext instanceContext)    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.AfterReceiveRequestCore(MessageRpc& rpc)    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)    at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet);

Any help is appreciated.
Avatar of Jessie Gill, CISSP
Jessie Gill, CISSP
Flag of Canada image

Just to try something set the iis virtual directory for Wes to anonymous.  Then see if it works if it does then we can start to figure out it is a permission issue on the virtual directory
Avatar of fluxlabs
fluxlabs

ASKER

With Anonymous I get - 401 Unauthorized
ASKER CERTIFIED SOLUTION
Avatar of anuragshankar
anuragshankar

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
I think that was it. I've run everything except the -EWSApplicationAccessPolicy:$null .. I read that if -EWSAllowList was $null that everything should be good. Thank you! I have honestly spent 3 weeks on this issue. Even the microsoft boards were of no use.