microsoftgraph / microsoftgraph/msgraph-sdk-dotnet
Can't use Expand to get singleValueExtendedProperties on a single email query
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 789
- Forks
- 264
- Avg merge
- 15h 17m
- Merged PRs (30d)
- 3
Description
While trying to expand the singleValueExtendedProperties using the the following
Groups[groupId].Events.GetAsync there is no option to provide expand.
Steps to reproduce the behavior:
- Go to Microsoft Graph Api explorer
- Make a request using the following
- https://graph.microsoft.com/v1.0/groups/[omitted]/events/?$expand=singleValueExtendedProperties($filter=id eq 'String {[omitted]} Name [omitted]')
- Scroll down for C# code snippet
- The following will not compile
var result = await graphClient.Groups["{group-id}"].Events.GetAsync((requestConfiguration) => { requestConfiguration.QueryParameters.Expand = new string []{ "singleValueExtendedProperties($filter=id eq 'String {[omitted]} Name [omitted]')" }; });
Expand does not exist
Expected behavior
Should be able to retrive a single event
Client version
5.38.0
Additional context
Is there any other way to achieve the desired out come
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 at the generated Groups["{group-id}"].Events.GetAsync request configuration shown in the report and compare its query parameters with the Graph API Explorer request. Check how singleValueExtendedProperties expansion is represented for this endpoint, then verify that the C# snippet compiles and sends the requested expand expression.
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
- 32/100