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-WebServicesConnectivi ty -UseAutodiscoverForClientA ccessServe r
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_Messa ge=Access is denied. Check credentials and try again.;ReportException_Sta ckTrace= at Microsoft.Exchange.Service s.Wcf.Mess ageInspect orManager. AfterRecei veRequest( Message& request; IClientChannel channel; InstanceContext instanceContext) at System.ServiceModel.Dispat cher.Immut ableDispat chRuntime. AfterRecei veRequestC ore(Messag eRpc& rpc) at System.ServiceModel.Dispat cher.Immut ableDispat chRuntime. ProcessMes sage2(Mess ageRpc& rpc) at System.ServiceModel.Dispat cher.Messa geRpc.Proc ess(Boolea n isOperationContextSet);
Any help is appreciated.
Clean install of RTM 2010 works when testing EWS using:
Test-WebServicesConnectivi
After applying SP1 RU6 or SP2, it does not work. I get:
Error : [System.Net.WebException]:
After cranking up diagnostic logging in EMC, I see this in the IIS logs:
AuthError=User not allowed to access EWS;,ReportException_Messa
Any help is appreciated.
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
ASKER
With Anonymous I get - 401 Unauthorized
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I think that was it. I've run everything except the -EWSApplicationAccessPolic y:$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.