title: Exchange Web Services are not currently available for this request because none of the Client Access Servers in the destination site could process
body: <p>I am using EWS Java APIs and passing OAuth tokens to fetch data from office 365 mailboxes.</p>
  
  <p>Because I am developing Web APIs I preferred using "Application Permissions" defined in Azure active directory application for Office 365, and used "client credential flow" OAuth flow to fetch OAuth token specific to application which will allow "Have full access via EWS to all mailboxes in the organisation".</p>
  
  <p>After fetching token with the procedure specified in the document "<a href="http://blogs.msdn.com/b/exchangedev/archive/2015/01/21/building-demon-or-service-apps-with-office-365-mail-calendar-and-contacts-apis-oauth2-client-credential-flow.aspx" rel="nofollow">http://blogs.msdn.com/b/exchangedev/archive/2015/01/21/building-demon-or-service-apps-with-office-365-mail-calendar-and-contacts-apis-oauth2-client-credential-flow.aspx</a>"</p>
  
  <p>I passed this token to EWS Java APIs,</p>
  
  <p>it gave me error saying:</p>
  
  <p><strong>microsoft.exchange.webservices.data.ServiceResponseException: Exchange Web Services are not currently available for this request because none of the Client Access Servers in the destination site could process the request.</strong></p>
  
  <p>I tried similar thing with EWS managed APIs for .net. Got similar error.</p>
  
  <p>Can anyone provide some help and direction to resolve this error.</p>
  
  <p>Thanks &amp; Best Regards,</p>
  
  <p>Pranjal</p>