79724565

Date: 2025-08-04 06:52:51
Score: 1.5
Natty:
Report link

The "library" you're looking for is Microsoft's SDK. You will need to import the following dependencies (Microsoft Documentation):

Gradle:

dependencies {
    // Include the sdk as a dependency
    implementation("com.microsoft.graph:microsoft-graph:6.+")
    // Include Azure identity for authentication
    implementation("com.azure:azure-identity:1.+")
}

Maven:

<dependency>
      <groupId>com.microsoft.graph</groupId>
      <artifactId>microsoft-graph</artifactId>
      <version>[6.0,)</version>
  </dependency>
  <dependency>
      <groupId>com.azure</groupId>
      <artifactId>azure-identity</artifactId>
      <version>[1.11,)</version>
  </dependency>

This will allow you to interact with the Graph API using Microsoft's SDK.

To upload files, you'll want to look at documentations like this:
https://learn.microsoft.com/en-us/graph/sdks/large-file-upload?tabs=java

https://medium.com/xebia-engineering/java-use-microsoft-graph-api-to-access-sharepoint-sites-1a26427c9b83

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mario Soller