microsoftgraph / microsoftgraph/msgraph-sdk-dotnet
Error when searching a specific user in Groups/Members
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 789
- Forks
- 264
- Avg merge
- 15h 17m
- Merged PRs (30d)
- 3
Description
This is erroring out in V5.
var members = await _graphServiceClient.Groups[groupId].Members[id].GraphUser.GetAsync()
In V4 I could do this NO PROBLEM:
var members = await _graphServiceClient.Groups[groupId].Members[id].Request().GetAsync()
Right now, i have do something funky to get this to work.
{
requestConfiguration.QueryParameters.Count = true;
requestConfiguration.QueryParameters.Filter = $"id eq '{id}'";
requestConfiguration.Headers.Add("ConsistencyLevel", "eventual");
});
Am I doing something wrong? Please advise.
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 reproducing the V5 call to Groups[groupId].Members[id].GraphUser.GetAsync and compare it with the V4 Request().GetAsync call. The issue does not include the resulting error or name a test or source file, so done would require identifying whether the V5 lookup is supported and documenting or correcting the behavior, with coverage if the repository provides a relevant test location.
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