Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Channel layoutType property is missing in the SDK

Open
#2,586 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start with the graph.models.Channel model and compare it with the Microsoft Graph channels endpoint shown in the issue. Add support for reading and patching layoutType, including the two allowed values, then verify that the SDK exposes the property without using additionalData.

Written by the indexing model from the issue text.

Description

status:waiting-for-triage type:bug
Describe the bug

The property layoutType is missing for the graph.models.Channel-Object. Without it reading the actual value of a channel is hard. Patching the property can be done with some workarounds using additionalData (see below).

The object:
Image

A graph request:
https://graph.microsoft.com/v1.0/teams/{team-id}/channels/{channel-id}
Image

Expected behavior

The property should be present in the graph.models.Channel-Object. Also an enum for the two allowed values would be nice.

How to reproduce

Simply use some sdk version and try to read or patch the layoutType of a channel.

SDK Version

6.63

Latest version known to work for scenario above?

none I guess

Known Workarounds

For a patch you can use one of:

.getAdditionalData().put("layoutType", "post");
.getAdditionalData().put("layoutType", "chat");

I don't know if there is a workaround for reading.

Debug output

No response

Configuration

This should not impact the issue, since it is not present in the models of the java-SDK.

Other information

No response

Dominant language
Java
Stars
444
Forks
154
Avg merge
18h 28m
Merged PRs (30d)
4

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.

More from microsoftgraph/msgraph-sdk-java

All issues in microsoftgraph/msgraph-sdk-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.