Microsoft Graph Files refers to the OneDrive and SharePoint Files APIs in Microsoft Graph. This tag should always be used in conjunction with the [microsoft-graph] tag.
Questions tagged [microsoft-graph-files]
204 questions
0
votes
1 answer
Unable to upload new file (<4MB) to SharePoint (ms graph api)
I'm trying to upload an attachment i get from Outlook to a folder inside a SharePoint document library.
I am Following the…

Andres Biarge
- 370
- 4
- 15
0
votes
1 answer
MS Graph put on uploadUrl created from createUploadSession results in a 404
When doing a resumable upload to a file that was shared the url returned from createUploadSession can not be used.
Uploading directly with /content works but has a limit of 4MB
Scenario UserA shares a file with edit permissions to UserB
Using the…

asnyder
- 1
- 1
0
votes
0 answers
OneDrive CORS preflight fails when downloading file with Range header included
Currently, I am building a javascript app that provides OneDrive filesystem support for chromeOS. Unfortunately, I encounter an issue when downloading a file via the OneDrive API due to preflights failing.
Deeply buried in the Microsoft API docs…

Steve
- 65
- 5
0
votes
1 answer
Search query doesn't return @microsoft.graph.downloadUrl
It seems that the Microsoft Graph search functionality for driveItem doesn't return a @mcirosoft.graph.downloadUrl
Using the Graph Explorer, I tried to fetch the following and the downloadUrl isn't present in the…
user5850611
0
votes
0 answers
Error when copying files between drives with API Graph
I developed an Azure Function that is copying files from Sharepoint to Teams via Graph API.
In my development Tenant, the Azure Function works fine but when I deploy it in my customer tenant, the file copy fails.
In Azure AD, I registered an…

Hervé D.
- 1
-1
votes
1 answer
How to speed up Microsoft Graph Using the PowerShell SDK script
How would I speed up the processing of my PowerShell script?
At the moment it takes about 1-2 hours to run 1K+ uses records, really need to speed it up.
# Must be run in Powershell 5.1 or else you can't get account creation date
#…

Arbelac
- 1,698
- 6
- 37
- 90
-1
votes
1 answer
How can I access Microsoft Sharepoint/OnDrive last children file content in java using microsoft graph api
Let say I have some folders in SharePoint.
Each folder contains Folder1->Folder2>Folder3....>File(txt.docx etc)
like this inside folder we have another folder and at the end some files of any type.
I want to access the files available in each folder…

varsha
- 63
- 5
-1
votes
1 answer
OneDrive API returns files that are not available
I use the MS Graph API to upload data to OneDrive.
I have deleted all data on OneDrive, but when I use the :
var search = await graphClient.Users[user.Id].Drive.Root
.Search("")
.Request()
…

BigShady
- 33
- 8
-2
votes
1 answer
File Visibility Using UploadSession in Graph
I am trying to upload a file to a Sharepoint document folder using the createUploadSession method. My request looks like the below:
https://graph.microsoft.com/v1.0/sites/{MY-SITE}/drive/root:/cases/Test.txt:/createUploadSession
I then PUT the file…

ScottSFL
- 1
- 1