question

UniversalCamera-5217 avatar image
0 Votes"
UniversalCamera-5217 asked UniversalCamera-5217 answered

Uploading file bigger then 3M to OneDrive failing in Xamarin using Microsoft Graph

For files less then 3M this works in Xamarin.Forms


await GraphClient.Drive.Root.ItemWithPath(uploadPath).Content.Request().PutAsync<DriveItem>(UploadPictureStream, cts.Token);


How can I do this for large mp4 files?


Thanks

dotnet-xamarin
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

UniversalCamera-5217 avatar image
0 Votes"
UniversalCamera-5217 answered

I figured it out

https://docs.microsoft.com/en-us/graph/sdks/large-file-upload?tabs=csharp

Microsoft Graph is Phenomenal! It not only has great practical solutions but they are well documented for solutions like this!

Very Impressed!!!!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.