microsoftgraph / microsoftgraph/msgraph-sdk-dotnet
Null SharepointIds on File upload using Dotnet Graph SDK 5
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 789
- Forks
- 264
- Avg merge
- 15h 17m
- Merged PRs (30d)
- 3
Description
Small file upload using ContentRequestBuilder PutAsync and large file upload using LargeFileUploadTask - both of these have null SharepointIds property in the response drive item. ContentRequestBuilder PutAsync uses DefaultQueryParameters which has no option to add any query parameters. LargeFileUploadTask.UploadAsync has no option to add query parameters to the request.
Expected behavior
Request has option to select SharepointIds or response drive item to have SharepointIds populated along with other properties
Client version
5.37, 5.40
Additional context
I need to make an addition get drive item request to get sharepointids which is inefficient.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with ContentRequestBuilder.PutAsync and LargeFileUploadTask.UploadAsync, then inspect how DefaultQueryParameters are used for these requests. Determine how SharepointIds can be selected or returned for both upload paths, and verify that the response drive item contains the property without requiring an additional get drive item request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100