{"repo":"microsoftgraph/msgraph-sdk-java","free":true,"listed":false,"github":"https://github.com/microsoftgraph/msgraph-sdk-java","clone":"git clone https://github.com/microsoftgraph/msgraph-sdk-java.git","description":"Microsoft Graph SDK for Java","language":"Java","stars":443,"topics":["sdk","java","microsoft-graph-sdk","microsoft-graph","devxeng"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Microsoft Graph SDK for Java Get started with the Microsoft Graph SDK for Java by integrating the Microsoft Graph API into your Java application! Note: this SDK allows you to build applications using the v1.0 of Microsoft Graph. If you want to try the latest Microsoft Graph APIs under beta, use our beta SDK instead. 1. Installation 1.1 Install via Gradle Add the repository and a compile dependency for microsoft-graph to your project's build.gradle : 1.2 Install via Maven Add the dependency in dependencies in pom.xml 1.3 Enable ProGuard (Android) The nature of the Graph API is such that the SDK needs quite a large set of classes to describe its functionality. You need to ensure that ProGuard is enabled on your project. Otherwise, you will incur long build times for functionality that is not necessarily relevant to your particular application. If you are still hitting the 64K method limit, you can also enable multidexing. Checkout the recommended rules. 2. Getting started 2.1 Register your application Register your application by following the steps at Register your app with the Microsoft Identity Platform. 2.2 Create an IAuthenticationProvider object An instance of the GraphServiceClient class handles building requests, sending them to the Microsoft Graph API, and processing the responses. To create a new instance of this class, you need to provide an instance of AuthenticationProvider , which can authenticate requests to Microsoft Graph. For an example of how to get an authen","default_branch":null,"files":null,"tree":[],"storefront":"/r/microsoftgraph","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/microsoftgraph/msgraph-sdk-java/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}