microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. The request failed. The remote server returned an error: (401)Anonymous Request Disallowed

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by JitterbugChew
, 1 year ago
The request failed. The request failed. The remote server returned an error: (401)Anonymous Request Disallowed
via Stack Overflow by Christian Seiler
, 5 months ago
The request failed. The request failed. The remote server returned an error: (401)Unauthorized
via Stack Overflow by user3728942
, 11 months ago
The request failed. The request failed. The remote server returned an error: (401)Unauthorized
via Stack Overflow by test
, 1 year ago
The request failed. The request failed. The remote server returned an error: (401)Unauthorized
via Stack Overflow by test
, 2 years ago
The request failed. The account does not have permission to impersonate the requested user.
via Stack Overflow by test
, 2 years ago
The request failed. The request failed. The remote server returned an error: (401)Unauthorized
microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. The request failed. The remote server returned an error: (401)Anonymous Request Disallowed
at microsoft.exchange.webservices.data.core.request.ServiceRequestBase.getEwsHttpWebResponse(ServiceRequestBase.java:723)
at microsoft.exchange.webservices.data.core.request.ServiceRequestBase.validateAndEmitRequest(ServiceRequestBase.java:639)
at microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:62)
at microsoft.exchange.webservices.data.core.request.MultiResponseServiceRequest.execute(MultiResponseServiceRequest.java:158)
at microsoft.exchange.webservices.data.core.ExchangeService.bindToFolder(ExchangeService.java:504)
at microsoft.exchange.webservices.data.core.ExchangeService.bindToFolder(ExchangeService.java:523)
at microsoft.exchange.webservices.data.core.service.folder.Folder.bind(Folder.java:98)
at microsoft.exchange.webservices.data.core.service.folder.Folder.bind(Folder.java:147)
at undefined.test.main(test.java:25)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.