These are chat archives for OfficeDev/ews-java-api

16th
Jun 2015
z80pio
@z80pio
Jun 16 2015 10:53

Again checking on the issue I am facing, can anybody tell me why OAuth is not working? [I wanted to login as admin and read other's mailboxes).
I got oauth2 authorization token and trying to do service.getHttpHeaders().put("Authorization", "Bearer <token>");

but then I get this issue: microsoft.exchange.webservices.data.autodiscover.exception.AutodiscoverLocalException: The Autodiscover service couldn't be located.