Building Daemon or Service Apps with Office 365 REST API in Java
问题 I am trying to build a batch job to access Office 365 Mail API. Up on checking the documentation (the concept is very clear), I wasn't able to find a code sample written for Java. I've found this but it relies on the java pom file but I would love to use REST API or Graphi API directly if possible. Can someone point me on how to get started with building a Daemon service to access Office 365 REST API without users login ? UPDATE I've the following code to get the token using AADL library