I am using graph API to upload files to share point. For big sized files I am unable to copy using below code. Please share how can the bigger file be uploaded to share point using java and graph API. Any examples or documentation will be helpful.
client.drives().byDriveId(drive.getId()).items().byDriveItemId("root:/" + fileNameWithDate + ":").content().put(fileStream);