MSGraph API Channel Select Statement doesn't work

Martin Bilda 171 Reputation points
2021-02-11T09:30:31.21+00:00

I'm trying to get all channels from a team in MSTeams.
The normal query works fine: https://graph.microsoft.com/v1.0/teams/{teamId}/channels
It delivers me a set of all channels from the team with all specific attributes.
Now I want to select only the id from the result set: https://graph.microsoft.com/v1.0/teams/{teamId}/channels?$select=id
This returns size = 0. There is no error.
I know this worked fine two months ago, because I implemented that in my code. Now it doesn't work anymore.

Anything changed in the graph api?

Thanks in advance.

Best Regards,

MB

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,155 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,982 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Denys Makrushyn 1 Reputation point
    2021-02-14T15:57:53.97+00:00

    The same issue for me

    0 comments No comments

  2. Saonti - MSFT 171 Reputation points
    2021-02-17T15:06:27.073+00:00

    Hi @Martin Bilda , A bug has been raised for this issue. The concerned team will be working on this.

    0 comments No comments