Using the DeltaWithTokenRequestBuilder creates the second, incorrect url. And no other fluent way to set the token as a query parameter.
Expected behavior
The request created by the `DeltaWithTokenRequestBuilder' should work with the graph api. And/Or provide a Fluent way to properly set the token parameter.
How to reproduce
See above.
SDK Version
5.61.0
Latest version known to work for scenario above?
No response
Known Workarounds
var ri = graphServiceClient.Sites[siteId].Lists[ListId].Items.Delta.ToGetRequestInformation();
if (!string.IsNullOrWhiteSpace(currentDeltaToken))
{
ri.QueryParameters.Add("token", currentDeltaToken);
ri.UrlTemplate = "{+baseurl}/sites/{site%2Did}/lists/{list%2Did}/items/delta()?token={token}{%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
}
var response = await graphServiceClient.RequestAdapter.SendAsync<Microsoft.Graph.Sites.Item.Lists.Item.Items.Delta.DeltaGetResponse>(ri, Microsoft.Graph.Sites.Item.Lists.Item.Items.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, cancellationToken: cancellationToken);
Describe the bug
This url works:
This url returns a 404 error
Using the
DeltaWithTokenRequestBuilder
creates the second, incorrect url. And no other fluent way to set the token as a query parameter.Expected behavior
The request created by the `DeltaWithTokenRequestBuilder' should work with the graph api. And/Or provide a Fluent way to properly set the token parameter.
How to reproduce
See above.
SDK Version
5.61.0
Latest version known to work for scenario above?
No response
Known Workarounds
This is crunchy, but it works.
Debug output
Click to expand log
```Configuration
No response
Other information
No response