microsoftgraph / microsoftgraph/msgraph-sdk-dotnet

DistributionList.Members is mapped to incorrect type

Open Beginner friendly
#3,170 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status:waiting-for-triage type:bug
Dominant language
C#
Stars
789
Forks
264
Avg merge
15h 17m
Merged PRs (30d)
3

Description

Describe the bug

DistributionList.Members is mapped to List<Member>.

Expected behavior

The actual type of the collection is DistributionListMember (https://learn.microsoft.com/en-us/graph/api/resources/distributionlistmember?view=graph-rest-beta) which has different fields.

How to reproduce

Cannot provide repro since the bindings are binding to incorrect type.

SDK Version

6.5.1-preview

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output
Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Find the generated .NET model for DistributionList.Members and compare its declared collection type with the Microsoft Graph DistributionListMember resource documentation linked in the issue. Update the binding so the collection uses DistributionListMember, then verify the generated model exposes that type and its distinct fields.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.