microsoftgraph / microsoftgraph/msgraph-sdk-dotnet
'DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters' does not contain a definition for 'Token'
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 789
- Forks
- 264
- Avg merge
- 15h 17m
- Merged PRs (30d)
- 3
Description
Describe the bug
I am trying to query changed SharePoint sites via the Microsoft.Graph 5.70 SDK, using the delta tokens. I was trying using the code snippets listed here - https://learn.microsoft.com/en-us/graph/api/site-delta?view=graph-rest-1.0&tabs=csharp#request-1
However, the compiler is giving the following error -
'DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters' does not contain a definition for 'Token' and no accessible extension method 'Token' accepting a first argument of type 'DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters' could be found (are you missing a using directive or an assembly reference?)
Expected behavior
The code should compile and delta query should go through successfully.
How to reproduce
Visual Studio, C#, Microsoft.Graph nuget v5.70.
Code snippet from here - https://learn.microsoft.com/en-us/graph/api/site-delta?view=graph-rest-1.0&tabs=csharp#request-1
SDK Version
5.70
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```</details>
### Configuration
- OS: Windows
- Architecture: x64
### Other information
_No response_
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 by comparing the C# request-1 snippet in the Microsoft Graph site-delta documentation with the generated DeltaRequestBuilder query parameters in Microsoft.Graph 5.70. Reproduce the compiler error in a small Visual Studio project, then verify the result by confirming that the documented delta query compiles and executes successfully.
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