msgraph-sdk-java
msgraph-sdk-java copied to clipboard
Microsoft Graph SDK for Java
### Describe the bug ``` Caused by: java.lang.NullPointerException: The following parameter cannot be null: batchResponse at java.base/java.util.Objects.requireNonNull(Objects.java:259) ~[?:?] at com.microsoft.graph.core.content.BatchResponseContent.(BatchResponseContent.java:42) ~[microsoft-graph-core-3.2.1.jar:?] at com.microsoft.graph.core.requests.BatchRequestBuilder.post(BatchRequestBuilder.java:53) ~[microsoft-graph-core-3.2.1.jar:?] at com.microsoft.graph.serviceclient.CustomBatchRequestBuilder.post(CustomBatchRequestBuilder.java:41) ~[microsoft-graph-6.16.0.jar:?] at com.microsoft.graph.core.requests.BatchRequestBuilder.post(BatchRequestBuilder.java:67) ~[microsoft-graph-core-3.2.1.jar:?]...
### Describe the bug from an app with Application permissions. I try to get the recycle bin content of a user with using the call listed here https://learn.microsoft.com/en-us/graph/api/filestoragecontainer-list-recyclebinitem?view=graph-rest-1.0 that is...
Hi, I am using msgraph sdk to get 'User' details in an application. Initialized the GraphServiceClient for app-only authentication as specified in the tutorial: https://learn.microsoft.com/en-us/graph/tutorials/java-app-only?tabs=aad&tutorial-step=3. I want to query the...
### Describe the bug `com.microsoft.graph.users.UsersRequestBuilder.GetRequestConfiguration#queryParameters` is annotated as `@Nullable`, giving an IDE warning. However, it is always initialized to a non-null value. ```java _graphClient.users().get(config -> { config.queryParameters.select = new String[]...
### Describe the bug As per the documentation, [PATCH https://graph.microsoft.com/beta/subscriptions/{id}](https://learn.microsoft.com/en-us/graph/api/subscription-update?view=graph-rest-beta&tabs=http#request-body) requires only 1 property to be defined. Unfortunately, as confirmed by this customer, the Java SDK requires both properties to...
### Describe the bug We're getting this error very consistently when trying to permantently delete a drive item via API: ``` WARNING: A connection to https://graph.microsoft.com/ was leaked. Did you...
### Is your feature request related to a problem? Please describe the problem. In v6 I am missing a method to get the body of a failed request, which may...
### Is your feature request related to a problem? Please describe the problem. The v5 SDK had a builder interface to GraphServiceClient which allowed specifying an IHttpProvider which was used...
### Describe the bug When calling a patch operation on an Application request, calling `toPatchInformation` causes the `.patch(app)` to not work. If true, then this probably needs either a doc...
### Describe the bug If I true to use more than 1 scope when creating a client `new GraphServicesClient(myCredential, scope1, scope2)` an error is encountered when trying to use it:...