Skip to content

Get-MgTeamChannel [Shared Channel is reported back as unknownFutureValue] #3621

@JohanssonMarkus

Description

@JohanssonMarkus

Describe the bug

Description

Get-MgTeamChannel returns MembershipType = unknownFutureValue for shared channels.

According to documentation, MembershipType should return:

  • standard
  • private
  • shared

However, shared channels are returned as "unknownFutureValue".

Steps to reproduce

  1. Run:
    Get-MgTeamChannel -TeamId -All | Select DisplayName, MembershipType

  2. Observe that shared channels are listed as:
    unknownFutureValue

Actual behavior

Shared channels return:
MembershipType = unknownFutureValue

Environment

  • Module version: Microsoft.Graph 2.37.0
  • Module: Microsoft.Graph.Teams
  • PowerShell version: 2.37.0
  • OS: Mac

Expected behavior

Expected behavior

Shared channels should return:
MembershipType = shared

How to reproduce

Run towards a Team with a shared channel
Get-MgTeamChannel -TeamId -All | Select DisplayName, MembershipType

SDK Version

2.37.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration


$PSVersionTable                                                                                                     

Name                           Value
----                           -----
PSVersion                      7.6.2
PSEdition                      Core
GitCommitId                    7.6.2
OS                             macOS 26.5.0
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.4
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

### Other information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions